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@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




--
Daniel-Constantin Mierla - http://www.asipto.com