[SR-Users] topos event_route question

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 2 18:15:29 CET 2021


That's a route block executed with an internal sip request. There is
another one with the request to be sent out, see the readme of the module.

Cheers,
Daniel

On 02.03.21 17:40, Juha Heinanen wrote:
> 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
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla




More information about the sr-users mailing list