[SR-Users] Method Destination Variable

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 2 00:27:24 CEST 2018


Hello,

the rule behind next hop address: if $dd is set, then it is the address of
the next hop. If $dd is not set, then it is $rd.

But there is a dedicated variable so you do not need to do the IFs for
above, just use $nh(d).

Cheers,
Daniel

On Wed, Aug 1, 2018 at 6:09 PM, Duarte Rocha <duarterocha91 at gmail.com>
wrote:

> Greetings,
>
> I thought about that but i wasn't sure it would be safe. But, in this
> case, the Request-URI domain will be the only place where Kamailio will
> look to find out the destination right within the dialog right? I'm going
> the statelless way, so that might be the correct answer.
>
> Thanks for your help
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180802/f6325740/attachment.html>


More information about the sr-users mailing list