Use only one method, not both at the same time in opensips.cfg. For
sip_trace method, use it immediately after sanity checks in main route, e.g.

route {
        if (!mf_process_maxfwd_header("10")) {
                sl_send_reply("483","Too Many Hops");
                exit;
        };

        if (msg:len > max_len) {
                sl_send_reply("513","Message Too Big");
                exit;
        };

       sip_trace();
...

OK make sure you call it for each single SIP method you are interested in,
whenever you are processing it opensips.cfg, e.g.

       ...

        if (is_method("INVITE")) {
                 sip_trace();
                 ...

        } else if (is_method("REGISTER")) {
                 sip_trace();
                 ...
        }

       ...


This should work, if it does not then its most likely a bug. I remember
somebody reported such bug in older opensips version (perhaps 1.7.x) and it
was fixed by the dev team. So it should work..

Thank you.


On Sat, Feb 9, 2013 at 7:34 AM, Dragomir Haralambiev <[email protected]>wrote:

> I try with both , results the same.
>
> 2013/2/9 Muhammad Shahzad <[email protected]>:
> > How you are doing sip trace? Are you calling sip_trace method or setting
> sip
> > trace dialog flag in opensips.cfg?
> >
> > http://www.opensips.org/html/docs/modules/1.8.x/siptrace.html#id248315
> >
> > Thank you.
> >
> >
> > On Fri, Feb 8, 2013 at 11:31 PM, Dragomir Haralambiev <
> [email protected]>
> > wrote:
> >>
> >> Hello,
> >>
> >> I have problem with siptrace in OpenSips 1.8.
> >>
> >> OpenSips dumps only CANCEL which sends. It doesn't dump CANCEL which
> >> receive.
> >>
> >> Here is an example for dump:
> >>
> >> http://87.121.151.141/voipdump.htm
> >>
> >> Best regards,:
> >> PlayMen
> >>
> >> _______________________________________________
> >> Users mailing list
> >> [email protected]
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> >
> > --
> > Muhammad Shahzad
> > -----------------------------------
> > CISCO Rich Media Communication Specialist (CRMCS)
> > CISCO Certified Network Associate (CCNA)
> > Cell: +49 176 99 83 10 85
> > MSN: [email protected]
> > Email: [email protected]
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [email protected]
Email: [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to