Hello,
for sl:local-response, the attributes of remote address are available
via $sndto(...) variables, see the cookbook from the wiki.
For dialog, current sip message under processing is given (so all pvs
should refgect it), but sometime there is no such message (at the dialog
timeout event). However, the attributes of the dialog should be visible
via $dlg(...) variables.
Cheers,
Daniel
On 11/14/13 9:17 AM, Kelvin Chua wrote:
well as far as i know, $rU comes up NULL on
event_route[dialog:XXXX]
how do we pass pseudo-variables to event_route properly?
Kelvin Chua
On Thu, Jun 20, 2013 at 2:58 AM, Sergey Okhapkin
<sos(a)sokhapkin.dyndns.org <mailto:sos@sokhapkin.dyndns.org>> wrote:
Which variables I can use in event_route[sl:local-response] route
to xlog proto:ip:port to which the response will be sent?
event_route[sl:local-response] {
xlog("L_INFO","Local response to $??\n$mb\n");
}
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
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
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
- more details about Kamailio trainings at
http://www.asipto.com -