[SR-Users] check if the sent reply was local

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 12 13:43:46 CET 2012


Hello,

On 11/11/12 1:54 PM, Uri Shacked wrote:
> Hi,
> what is the command to check if the reply was recieved or localy 
> generated?
I assume you need that in failure_route, test the $T(reply_type), it 
should be 1 for local generated replies:

http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#t_name

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list