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

2012-11-14 Thread Daniel-Constantin Mierla
Hello, On 11/13/12 3:47 AM, Vitaliy Aleksandrov wrote: ||I thought t_any_replied() can be used for that purpose. probably you should look at: http://kamailio.org/docs/modules/stable/modules/tm.html#t_branch_replied It is more appropriate for what you are looking to. Still it is to check if n

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

2012-11-13 Thread Vitaliy Aleksandrov
||I thought t_any_replied() can be used for that purpose. For example in failure route I used: if (t_any_replied() && t_check_status("408") ) { xlog("L_DBG", "408 reply received\n"); } or if ( !(t_any_replied()) && t_check_status("408")) { xlog("L_DBG", "Local timeout\n"); } But I care

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

2012-11-12 Thread Daniel-Constantin Mierla
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/pseudovari

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

2012-11-11 Thread Uri Shacked
Hi, what is the command to check if the reply was recieved or localy generated? Uri ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users