<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi Mickael,<br>
<br>
I see you commented the "trace_flag" parameter in your modparm
section - please enable it back. Even if you do not use it from
script, it is internally used by the module.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 06.12.2013 09:56, Mickael Hubert wrote:<br>
</div>
<blockquote
cite="mid:CAFSwG-sitRi84iP-qsF7dwamCCi-n0m=4bYP8=ov4tPOWdHkzA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hi Bigdan,<br>
</div>
thanks for your answer.<br>
<br>
</div>
<div>I have modify my opensips code:<br>
</div>
<div><br>
</div>
<div><u>my conf:</u><br>
setdebug(6);<br>
trace_dialog();<br>
setdebug();<br>
<br>
</div>
<div><u><br>
</u></div>
<u>see below my opensips.log</u><br>
<br>
<i>Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
DBG:dialog:build_new_dlg: new dialog 0x806aee888
(<a class="moz-txt-link-abbreviated" href="mailto:c=1104374-3595304320-30853@asbc1b.hexavoip.local,f=">c=1104374-3595304320-30853@asbc1b.hexavoip.local,f=</a><a
moz-do-not-send="true"
href="mailto:sip%3A%2B33310368002@10.84.8.10">sip:+33310368002@10.84.8.10</a>,t=<a
moz-do-not-send="true"
href="mailto:sip%3A%2B33XXXXXXX@10.84.8.21">sip:+33XXXXXXX@10.84.8.21</a>;user=phone,ft=3595304320-30953)
on hash 558<br>
Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
DBG:core:parse_headers: flags=ffffffffffffffff<br>
Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
DBG:dialog:init_leg_info: route_set , contact <a
moz-do-not-send="true"
href="http://sip:+33XXXXXX@10.84.8.10:5060">sip:+33XXXXXX@10.84.8.10:5060</a>,
cseq 1 and bind_addr udp:<a moz-do-not-send="true"
href="http://10.84.8.21:5060">10.84.8.21:5060</a><br>
Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
DBG:dialog:dlg_add_leg_info: set leg 0 for 0x806aee888:
tag=<3595304320-30953> rcseq=<0><br>
Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
DBG:dialog:link_dlg: ref dlg 0x806aee888 with 4 -> 4 in
h_entry 0x806adf248 - 558 <br>
Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
DBG:rr:add_rr_param: adding (;xyz=e22.25982815) 0x80146c5e8<br>
Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: <b>DBG:siptrace:sip_trace:
nothing to trace...</b></i><br>
<br>
<div>
<div>
<div>
<div class="gmail_extra">I don't understand this result ;)<br>
<br>
</div>
<div class="gmail_extra">Have you an idea ?<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2013/12/5 Bogdan-Andrei Iancu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><tt>Hello Mickael,<br>
<br>
Try to place the trace_dialog() between a
set_debug(6) and set_debug(), to see what is
going on inside the function. Maybe the debug
logs will give you an idea.<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div class="h5"> On 05.12.2013 09:47, Mickael
Hubert wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>
<div>
<div>Hi list,<br>
</div>
<div>I have an issue with my siptrace
module.<br>
</div>
<div>see below my extract of
opensips.cfg.<br>
<br>
</div>
<div>I want duplicate dialogs's
messages to the other server
(10.84.8.201), no DB.<br>
</div>
But, it doesn't work... no sip message
in my wireshark trace.<br>
<br>
</div>
Have you an idea ?<br>
<br>
</div>
Thanks in advance<br>
<div>
<div>
<div><br>
<br>
<i># ----------------- module
siptrace.so -----------<br>
loadmodule "siptrace.so"<br>
# ----- siptrace params -----<br>
modparam("siptrace", "db_url", "")<br>
modparam("siptrace",
"duplicate_uri","sip:<a
moz-do-not-send="true"
href="http://10.84.8.201:9060"
target="_blank">10.84.8.201:9060</a>")<br>
modparam("siptrace",
"duplicate_with_hep", 1)<br>
modparam("siptrace",
"enable_ack_trace", 1)<br>
modparam("siptrace",
"hep_version", 2)<br>
modparam("siptrace",
"trace_to_database", 0)<br>
#modparam("siptrace",
"trace_flag", 22)<br>
modparam("siptrace",
"hep_capture_id", 2)<br>
modparam("siptrace", "trace_on",
1)</i><br>
<br>
.....<br>
<br>
</div>
in my code:<br>
<br clear="all">
<div>
<div><i> if (is_method("INVITE"))<br>
{<br>
trace_dialog();</i><br>
<br>
......<br>
<br>
-- <br>
<div dir="ltr">Cordialement<br>
<br>
HUBERT Mickaël<br>
Ingénieur VOIP - Hexanet<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<img moz-do-not-send="true"><br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Cordialement<br>
<br>
HUBERT Mickaël<br>
Ingénieur VOIP - Hexanet<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<img moz-do-not-send="true"
src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif"></blockquote>
<br>
</body>
</html>