[Kamailio-Users] Checking the destination IP after dispatcher

Geoffrey Mina geoffreymina at gmail.com
Tue Jan 12 01:44:43 CET 2010


Is there any reason I shouldn't use $ru as I am doing now?

All seems to be working.

Thanks.

On 1/11/10, Alex Balashov <abalashov at evaristesys.com> wrote:
> On 01/11/2010 12:55 PM, Geoffrey Mina wrote:
>> this was from a regular route[] block.  I ended up finding an old
>> thread which pointed me in the right direction.
>>
>> I am currently using this to retrieve the destination IP POST dispatcher
>> lookup:
>>
>> $var(destIP) = $(ru{s.select,1,:}{s.select,1,@});
>
> Oh.  THAT is what you wanted?  Try $rd.  :-)
>
> --
> Alex Balashov - Principal
> Evariste Systems
> Web     : http://www.evaristesys.com/
> Tel     : (+1) (678) 954-0670
> Direct  : (+1) (678) 954-0671
>

-- 
Sent from my mobile device



More information about the Users mailing list