[SR-Users] t_relay_to("0x02") alternative with kamailio 3.1

Alex Balashov abalashov at evaristesys.com
Thu Jun 16 01:52:47 CEST 2011


You can catch and drop replies in an an onreply_route or failure_route.

if(t_check_status("478"))
   exit;

--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On Jun 15, 2011, at 7:48 PM, Herve Couplet <hcouplet at gmail.com> wrote:

> Hi,
> 
> I had a setup with an old version where I used the function t_relay_to("0x02").
> Following the 3.1 documentation, flag :
>      0x02 - do not generate reply on internal error (NOTE: has no effect anymore)
> 
> I used that function as a workaround with a pbx that stop to register when it receive an error response like 
> 478 Unresolvable destination or 408 request timeout.
> 
> I did upgrade to 3.1 to have dns srv caching.
> 
> Do you know how this would be possible with kamailio 3.1.
> 
> Thanks for your suggestions,
> hp
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list