[OpenSIPS-Users] siptrace problem

Muhammad Shahzad shaheryarkh at gmail.com
Sat Feb 9 11:59:07 CET 2013


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 <goup2010 at gmail.com>wrote:

> I try with both , results the same.
>
> 2013/2/9 Muhammad Shahzad <shaheryarkh at gmail.com>:
> > 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 <
> goup2010 at gmail.com>
> > 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
> >> Users at lists.opensips.org
> >> 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: shari_786pk at hotmail.com
> > Email: shaheryarkh at googlemail.com
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> 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: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130209/3a16ebf4/attachment.htm>


More information about the Users mailing list