<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
the patch from next commit:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/551a562eb799c903cda09599ff5d47366abf42c9">https://github.com/kamailio/kamailio/commit/551a562eb799c903cda09599ff5d47366abf42c9</a><br>
<br>
and compile in your version to see the full message content.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 24/09/15 20:47, José Seabra wrote:<br>
</div>
<blockquote
cite="mid:CAEVZRWudN_gAUiu2eYqU4Keafv=4gW68CrcnQ5bNcjKyzh9idg@mail.gmail.com"
type="cite">
<div dir="ltr">Adding more information to my issue, these errors
only happens when I'm using topoh module, seems that dialog keep
alive options is not working with topoh module, maybe its
something related with topoh callid encription.
<div><br>
</div>
<div>Best regards<br>
</div>
<div>José Seabra<br>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-09-24 15:24 GMT+01:00 José Seabra
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello there,
<div><br>
</div>
<div>I'm using dialog module to send keep alive options to
callee and caller in order to detect if dialog still up,
but when kamailio generates the OPTION and parse it,
gives the following errors:</div>
<div><br>
</div>
<div>
<div>[root@c4-compute02-srv1 kamailio]# 37(1587) DEBUG:
dialog [dlg_hash.c:614]: dlg_lookup(): ref dlg
0x7f89134c1d40 with 1 -> 3</div>
<div>37(1587) DEBUG: dialog [dlg_hash.c:616]:
dlg_lookup(): dialog id=2210 found on entry 2350</div>
<div>37(1587) DEBUG: dialog [dlg_req_within.c:427]:
dlg_send_ka(): sending OPTIONS to caller</div>
<div>37(1587) DEBUG: tm [uac.c:249]: t_uac_prepare():
DEBUG:tm:t_uac: next_hop=<<a moz-do-not-send="true"
href="http://sip:unknown@62.28.197.25:5060"
target="_blank">sip:unknown@62.28.197.25:5060</a>></div>
<div>37(1587) DEBUG: <core> [dns_cache.c:3293]:
dns_srv_sip_resolve(): (62.28.197.25, 0, 0), ip, ret=0</div>
<div>37(1587) DEBUG: tm [uac.c:150]: dlg2hash(): DEBUG:
dlg2hash: 14692</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:606]: parse_msg(): SIP Request:</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:608]: parse_msg(): method:
<OPTIONS></div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:610]: parse_msg(): uri: <<a
moz-do-not-send="true"
href="http://sip:unknown@62.28.197.25:5060"
target="_blank"><a class="moz-txt-link-freetext" href="sip:unknown@62.28.197.25:5060">sip:unknown@62.28.197.25:5060</a></a>></div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:612]: parse_msg(): version:
<SIP/2.0></div>
<div>37(1587) DEBUG: <core>
[parser/parse_via.c:1254]: parse_via_param(): Found
param type 232, <branch> =
<z9hG4bK4693.2af96e95000000000000000000000000.0>;
state=16</div>
<div>37(1587) DEBUG: <core>
[parser/parse_via.c:2642]: parse_via(): end of header
reached, state=5</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:496]: parse_headers():
parse_headers: Via found, flags=2</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:498]: parse_headers():
parse_headers: this is the first via</div>
<div>37(1587) DEBUG: <core>
[parser/parse_addr_spec.c:172]: parse_to_param():
DEBUG: add_param: tag=90d40279ee5745d8851aa989e6fadfc2</div>
<div>37(1587) DEBUG: <core>
[parser/parse_addr_spec.c:894]: parse_addr_spec(): end
of header reached, state=29</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:173]: get_hdr_field(): DEBUG:
get_hdr_field: <To> [64]; uri=[<a
moz-do-not-send="true"
href="mailto:sip%3Aunknown@62.28.197.6"
target="_blank"><a class="moz-txt-link-freetext" href="sip:unknown@62.28.197.6">sip:unknown@62.28.197.6</a></a>] </div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to
body [<<a moz-do-not-send="true"
href="mailto:sip%3Aunknown@62.28.197.6"
target="_blank">sip:unknown@62.28.197.6</a>>]</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:153]: get_hdr_field():
get_hdr_field: cseq <CSeq>: <0>
<OPTIONS></div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:187]: get_hdr_field(): DEBUG:
get_hdr_body : content_length=0</div>
<div><b>37(1587) ERROR: <core>
[parser/msg_parser.c:96]: get_hdr_field(): ERROR:
get_hdr_field: bad header</b></div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:280]: get_hdr_field():
get_hdr_field: error exit</div>
<div><b>37(1587) INFO: <core>
[parser/msg_parser.c:338]: parse_headers(): ERROR:
bad header field [VC</b></div>
<div><b><br>
</b></div>
<div><b>]</b></div>
<div>37(1587) DEBUG: topoh [topoh_mod.c:232]:
th_prepare_msg(): parsing headers failed37(1587)
DEBUG: <core> [parser/msg_parser.c:606]:
parse_msg(): SIP Request:</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:608]: parse_msg(): method:
<OPTIONS></div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:610]: parse_msg(): uri: <<a
moz-do-not-send="true"
href="http://sip:unknown@62.28.197.25:5060"
target="_blank"><a class="moz-txt-link-freetext" href="sip:unknown@62.28.197.25:5060">sip:unknown@62.28.197.25:5060</a></a>></div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:612]: parse_msg(): version:
<SIP/2.0></div>
<div>37(1587) DEBUG: <core>
[parser/parse_via.c:1254]: parse_via_param(): Found
param type 232, <branch> =
<z9hG4bK4693.2af96e95000000000000000000000000.0>;
state=16</div>
<div>37(1587) DEBUG: <core>
[parser/parse_via.c:2642]: parse_via(): end of header
reached, state=5</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:496]: parse_headers():
parse_headers: Via found, flags=2</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:498]: parse_headers():
parse_headers: this is the first via</div>
<div>37(1587) DEBUG: <core>
[parser/parse_addr_spec.c:172]: parse_to_param():
DEBUG: add_param: tag=90d40279ee5745d8851aa989e6fadfc2</div>
<div>37(1587) DEBUG: <core>
[parser/parse_addr_spec.c:894]: parse_addr_spec(): end
of header reached, state=29</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:173]: get_hdr_field(): DEBUG:
get_hdr_field: <To> [64]; uri=[<a
moz-do-not-send="true"
href="mailto:sip%3Aunknown@62.28.197.6"
target="_blank"><a class="moz-txt-link-freetext" href="sip:unknown@62.28.197.6">sip:unknown@62.28.197.6</a></a>] </div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to
body [<<a moz-do-not-send="true"
href="mailto:sip%3Aunknown@62.28.197.6"
target="_blank">sip:unknown@62.28.197.6</a>>]</div>
<div>37(1587) DEBUG: <core>
[parser/msg_parser.c:153]: get_hdr_field():
get_hdr_field: cseq <CSeq>: <0>
<OPTIONS></div>
<div>37(1587) DEBUG: <core>
[parser/parse_addr_spec.c:172]: parse_to_param():
DEBUG: add_param: tag=e34d43e164ad4b7392dc9c6e1058a983</div>
<div>37(1587) DEBUG: <core>
[parser/parse_addr_spec.c:894]: parse_addr_spec(): end
of header reached, state=29</div>
<div>37(1587) DEBUG: dialog [dlg_cseq.c:215]:
dlg_cseq_msg_sent(): traking cseq updates</div>
<div>37(1587) DEBUG: dialog [dlg_hash.c:671]:
internal_get_dlg(): ref dlg 0x7f89134c1d40 with 1
-> 4</div>
<div>37(1587) DEBUG: dialog [dlg_hash.c:674]:
internal_get_dlg(): dialog
callid='13208317017c42128fbf00e1685ee1b3' found on
entry 2350, dir=2</div>
<div>37(1587) DEBUG: dialog [dlg_cseq.c:233]:
dlg_cseq_msg_sent(): request not going downstream (2)</div>
<div>37(1587) DEBUG: dialog [dlg_hash.c:846]:
dlg_unref(): unref dlg 0x7f89134c1d40 with 1 -> 3</div>
<div>37(1587) DEBUG: dialog [dlg_req_within.c:452]:
dlg_send_ka(): keep-alive sent to caller</div>
<div>37(1587) DEBUG: dialog [dlg_req_within.c:427]:
dlg_send_ka(): sending OPTIONS to callee</div>
<div><br>
</div>
<div>I'm using the following dialog configuration:</div>
<div><br>
</div>
<div>
<div>modparam("dialog","db_url", DBURL)</div>
<div>modparam("dialog","db_mode", 0)</div>
<div>modparam("dialog","enable_stats", 1)</div>
<div>modparam("dialog","dlg_flag", DLG_FLAG)</div>
<div>modparam("dialog","profiles_with_value","concurrentcalls")</div>
<div>modparam("dialog", "detect_spirals", 1)</div>
</div>
<div>modparam("dialog","dlg_match_mode", 2)<br>
</div>
<div>
<div>modparam("dialog", "initial_cbs_inscript", 0)</div>
<div>modparam("dialog", "default_timeout", 3600)</div>
<div>modparam("dialog", "send_bye", 1)</div>
<div>modparam("dialog", "timeout_avp",
"$avp(s:timeout_dlg)")</div>
<div>modparam("dialog", "track_cseq_updates", 1)</div>
<div>modparam("dialog", "ka_timer", 10)</div>
<div>modparam("dialog", "ka_interval", 30)</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I'm also using topoh module.</div>
<div><br>
</div>
<div>Anyone can help me to identify if I'm doing the
proper configuration? </div>
<div><br>
</div>
<div>Thank you for your support</div>
<div><br>
</div>
<div>Best Regards </div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<table
style="font-family:Arial,Helvetica,sans-serif;width:600px;border-collapse:collapse">
<tbody>
<tr>
<td style="color:black">José Seabra</td>
</tr>
<tr
style="display:block;margin-bottom:10px">
<td
style="font-size:11px;color:rgb(102,102,102)"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</font></span></div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
</body>
</html>