[SR-Users] problem with siptrace outgoing SIP message logging

Peter Kaszas pkaszas at gmail.com
Fri Jul 29 10:08:45 CEST 2011


Hello Timo,

Thank you for your reply. It works!

Regrads,

Peter

On 29 July 2011 08:33, Timo Klecker <klecker at decoit.de> wrote:

> Hey,****
>
> ** **
>
> we use the following:****
>
> ** **
>
> modparam("siptrace", "trace_flag", 22)****
>
> [..]****
>
> route {****
>
>                 [..]****
>
>                 # set the Flag for siptrace to log the messages in tm
> module****
>
>                 setflag(22);****
>
> ** **
>
>                 # handle requests within SIP dialogs****
>
>                 route(WITHINDLG);****
>
> ** **
>
>                 ### only initial requests (no To tag)****
>
> [..]****
>
>                 # With setflag(22) the first Message is not traced. Trace
> it here****
>
>                 sip_trace();****
>
>                 [..]****
>
> ** **
>
> ** **
>
> This works fine when you do not use forward().****
>
> ** **
>
> Kind regards****
>
> Timo Klecker ****
>
> * *
>
> * *
>
> ** **
>
> *Von:* sr-users-bounces at lists.sip-router.org [mailto:
> sr-users-bounces at lists.sip-router.org] *Im Auftrag von *Peter Kaszas
> *Gesendet:* Donnerstag, 28. Juli 2011 22:28
> *An:* sr-users at lists.sip-router.org
> *Betreff:* [SR-Users] problem with siptrace outgoing SIP message logging**
> **
>
> ** **
>
> Dear List members,
>
> Im quite new to kamailio, and i got a problem with the siptrace module. I
> read that siptrace module can capture and log all incoming and outgoing sip
> messages.
>
> So i put to the config file the following lines:
>
> loadmodule "siptrace.so"
> .
> .
> .
> #-------- siptrace paramas -----
> modparam("siptrace", "db_url", DBURL)
> modparam("siptrace", "table", "sip_trace")
> modparam("siptrace", "trace_flag", 18)
> modparam("siptrace", "trace_on", 1)
> modparam("siptrace", "trace_sl_acks", 1)
>
> .
> .
> . route {
> sip_trace();
>
> .......
> }
>
>
> Now I can capture all incoming SIP messages, but I none of the outgoing.
>
> Where can I put the sip_trace(); command to capture also the outgoing
> messages?
>
> Thank you,
>
> Peter****
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110729/988a6249/attachment-0001.htm>


More information about the sr-users mailing list