[SR-Users] topos event_route question
Juha Heinanen
jh at tutpro.com
Tue Mar 2 17:40:15 CET 2021
I tried to skip topos stripping based on R-URI hostpart like this:
event_route[topos:msg-outgoing] {
xinfo("******** at topos:msg-outgoing with $rd\n");
if ($rd == "example.com")
drop;
}
and got this to syslog:
Mar 2 18:35:59 lab /usr/bin/sip-proxy[22441]: INFO: <script>: ******** at topos:msg-outgoing with kamailio.org
Where does $rd == kamailio.org come from, since R-URI hostpart of the
request does not have that domain?
Or is it so that $rd cannot be used in that event route?
-- Juha
More information about the sr-users
mailing list