Hello Timo,
Thank you for your reply. It works!
Regrads,
Peter
On 29 July 2011 08:33, Timo Klecker <klecker(a)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(a)lists.sip-router.org [mailto:
sr-users-bounces(a)lists.sip-router.org] *Im Auftrag von *Peter Kaszas
*Gesendet:* Donnerstag, 28. Juli 2011 22:28
*An:* sr-users(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users