Hi Mickael,

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.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 06.12.2013 09:56, Mickael Hubert wrote:
Hi Bigdan,
thanks for your answer.

I have modify my opensips code:

_my conf:_
        setdebug(6);
        trace_dialog();
        setdebug();

_
_
_see below my opensips.log_

/Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: DBG:dialog:build_new_dlg: new dialog 0x806aee888 ([email protected],f=sip:[email protected] <mailto:sip%3A%[email protected]>,t=sip:[email protected] <mailto:sip%3A%[email protected]>;user=phone,ft=3595304320-30953) on hash 558 Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: DBG:core:parse_headers: flags=ffffffffffffffff Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: DBG:dialog:init_leg_info: route_set , contact sip:[email protected]:5060 <http://sip:[email protected]:5060>, cseq 1 and bind_addr udp:10.84.8.21:5060 <http://10.84.8.21:5060> 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> 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 Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: DBG:rr:add_rr_param: adding (;xyz=e22.25982815) 0x80146c5e8 Dec 6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: *DBG:siptrace:sip_trace: nothing to trace...*/

I don't understand this result ;)

Have you an idea ?

2013/12/5 Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>>

    Hello Mickael,

    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.

    Best regards,

    Bogdan-Andrei Iancu
    OpenSIPS Founder and Developer
    http://www.opensips-solutions.com

    On 05.12.2013 09:47, Mickael Hubert wrote:
    Hi list,
    I have an issue with my siptrace module.
    see below my extract of opensips.cfg.

    I want duplicate  dialogs's messages to the other server
    (10.84.8.201), no DB.
    But, it doesn't work... no sip message in my wireshark trace.

    Have you an idea ?

    Thanks in advance


    /# ----------------- module siptrace.so -----------
    loadmodule "siptrace.so"
    # ----- siptrace params -----
    modparam("siptrace", "db_url", "")
    modparam("siptrace", "duplicate_uri","sip:10.84.8.201:9060
    <http://10.84.8.201:9060>")
    modparam("siptrace", "duplicate_with_hep", 1)
    modparam("siptrace", "enable_ack_trace", 1)
    modparam("siptrace", "hep_version", 2)
    modparam("siptrace", "trace_to_database", 0)
    #modparam("siptrace", "trace_flag", 22)
    modparam("siptrace", "hep_capture_id", 2)
    modparam("siptrace", "trace_on", 1)/

    .....

    in my code:

    / if (is_method("INVITE"))
        {
            trace_dialog();/

    ......

-- Cordialement

    HUBERT Mickaël
    Ingénieur VOIP - Hexanet



    _______________________________________________
    Users mailing list
    [email protected]  <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Cordialement

HUBERT Mickaël
Ingénieur VOIP - Hexanet


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to