<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello!<div><br></div><div>I need to save initial INVITE - but in-dialog messages only in sip_trace table. Is it possible?</div><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Best regards,</div><div>Alexander Mustafin</div><div><a href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br><div><div>06 дек. 2013 г., в 15:25, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> написал(а):</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div 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>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>