Hello,

On 26/06/14 08:01, aawaise wrote:
I want to log some information of callee from incoming invite packet. how can
it be done. I want to get it logged in /var/log/messages.
Any help will be appreciated.

the callee address is in R-URI and in a form that could be good in To header. To write to syslog, use xlog() function. For example:

xlog("R-URI is [$ru] and To-URI is [$tu]\n");

Cheers,
Daniel

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
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

Reply via email to