Hi,
Once in a while it captures outbound SIP Invite but it captures always 100 trying, 180 and 200 OK and some times it captures inbound SIP INVITE as well.
Thanks Ram
Hi,
Outbound SIP invite is not captured even after setting flag only.Can anyone help with this issue please ?
Thanks Ram
On Sun, Apr 7, 2013 at 3:33 AM, Ramaseshi reddy kolli < ramaseshireddy@gmail.com> wrote:
Hi,
Once in a while it captures outbound SIP Invite but it captures always 100 trying, 180 and 200 OK and some times it captures inbound SIP INVITE as well.
Thanks Ram
Hi,
Try next snippet:
#!define FLT_SIPTRACE 22 ... #!define WITH_SIPTRACE #!define WITH_AVPOPS #!define WITH_MYSQL
....
#!ifdef WITH_AVPOPS loadmodule "avpops.so" #!endif #!ifdef WITH_SIPTRACE loadmodule "siptrace.so" #!endif
...
#!ifdef WITH_SIPTRACE # --- sip trace settings --- modparam("siptrace","db_url", DBURL); modparam("siptrace","trace_flag", FLT_SIPTRACE); modparam("siptrace","traced_user_avp","$avp(s:traceuser)"); #!endif
#!ifdef WITH_AVPOPS #!ifdef WITH_MYSQL modparam("avpops", "db_url", DBURL); modparam("avpops","avp_table","usr_preferences"); #!endif #!endif
...
route { ...
#!ifdef WITH_SIPTRACE #!ifdef WITH_AVPOPS #!ifdef WITH_MYSQL if (avp_db_load("$fu","$avp(s:trace)")) { $avp(s:traceuser) = $avp(s:trace); setflag(FLT_SIPTRACE); sip_trace(); xlog("L_INFO"," User $fu being traced ci=$ci\n"); } #!endif #!endif #!endif }
you will be able to trace single user if add trace option into user preferences:
kamctl avp add -T usr_preferences user@domain.tld trace 0 1
-- Seudin
On Tue, Apr 9, 2013 at 8:08 PM, Ramaseshi reddy kolli < ramaseshireddy@gmail.com> wrote:
Hi,
Outbound SIP invite is not captured even after setting flag only.Can anyone help with this issue please ?
Thanks Ram
On Sun, Apr 7, 2013 at 3:33 AM, Ramaseshi reddy kolli < ramaseshireddy@gmail.com> wrote:
Hi,
Once in a while it captures outbound SIP Invite but it captures always 100 trying, 180 and 200 OK and some times it captures inbound SIP INVITE as well.
Thanks Ram
-- Cheers
Ramaseshi
Mobile : 9949875064
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users