[SR-Users] Kamailio drouting failure not working

Dmitri Savolainen savolainen at erinaco.ru
Tue May 26 16:18:03 CEST 2015


486  is a busy error;
you may use in faulure_route :
    if ( t_is_canceled() ){
        exit;
    }


2015-05-26 17:09 GMT+03:00 Ali Taher <ataher at vanrise.com>:

> Hi,
>
>
>
> Thanks for your reply , it’s working fine now.
>
> Yet, when a call is rerouted to a gateway which cancel it (by clicking on
> ignore button), call is then rerouted to next gateway which is not correct.
>
>
>
> I tried to add this condition :   If(t_check_status(“486”)) { exit;}  in
> failure_route function to exit when cancel occur , but didn’t work L.
>
>
>
> Appreciate your help.
>
>
>
> Regards,
>
>
>
>
>
> [image: Description: Description: cid:image001.png at 01CDB75E.FF3A44B0]
>
>
>
> *Ali Taher*
>
> *Technical Support Engineer*
>
>
>
>
>
> *T&F          *
>
> *M*
>
> *W*
>
> *A*
>
> +961-5-457437 *Ext* 215
>
> +961-70-010600
>
> http://www.vanrise.com
>
> Vanrise Building
> <https://maps.google.com/maps/ms?msa=0&msid=208243362929850217065.0004cbc8d612c5f9b4237&ie=UTF8&t=h&vpsrc=0&z=19&iwloc=0004cbc8e4652b4edf71cC:%5CUsers%5CMarie%5CDocuments%5CMy%20Received%20Files>,
> Facing Galerie Semaan
>
> Hazmiyeh Highway – Beirut, Lebanon
>
>
>
> *[image: Description: Description: cid:image002.png at 01CDB75E.FF3A44B0]*
>
> *Join us at*
>
>  [image: Description: Description: cid:image006.png at 01CDB760.3643AA40]
> <http://www.facebook.com/pages/Vanrise-Solutions-Offshore/128309743915533> [image:
> Description: Description: cid:image007.png at 01CDB760.3643AA40]
> <http://www.linkedin.com/company/vanrise-solutions> [image: Description:
> Description: cid:image008.png at 01CDB760.3643AA40]
> <http://twitter.com/VanriseSolution>
>
>
>
>
>
> *From:* sr-users [mailto:sr-users-bounces at lists.sip-router.org] *On
> Behalf Of *Dmitri Savolainen
> *Sent:* Tuesday, May 26, 2015 3:40 PM
> *To:* Kamailio (SER) - Users Mailing List
> *Subject:* Re: [SR-Users] Kamailio drouting failure not working
>
>
>
>     if (t_check_status("[34][0-9][0-9]")) {
>
>         exit;
>
>     }
>
>
>
> request timeout == 408 error, so  "if (use_next_gw()) {" never called
>
>
>
>
>
>
>
>
>
>
> --
>
> Savolainen Dmitri
>
> _______________________________________________
> 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
>
>


-- 
Savolainen Dmitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150526/f487862e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 666 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150526/f487862e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 737 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150526/f487862e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2134 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150526/f487862e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 719 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150526/f487862e/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 677 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150526/f487862e/attachment-0004.png>


More information about the sr-users mailing list