[Kamailio-Users] Checking the destination IP after dispatcher

Alex Balashov abalashov at evaristesys.com
Mon Jan 11 18:57:14 CET 2010


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



More information about the Users mailing list