[OpenSIPS-Users] How to identify a 4xx, or 5xx, or 6xx SIP response in OpenSIPS script?
Annus Fictus
annusfictus at gmail.com
Fri Nov 6 15:22:54 CET 2015
Hello Rodrigo,
you have to use failure route:
http://www.opensips.org/Documentation/Script-Routes-2-2#toc3
Regards
El 06/11/2015 a las 15:07, Rodrigo Pimenta Carvalho escribió:
>
>
> Hi OpenSIPS-users,
>
>
> In the OpenSIPS script I can identify SIP requests, like
> is_method("INVITE") or is_method("BYE").
>
>
> How to identify SIP responses, based on its codes that can be 4xx, or
> 5xx, or 6xx?
>
> For example, how to identify that occurred a SIP response with code 483?
>
>
> I just need to know that a SIP INVITE didn't succeeded.
>
>
> What could be a elegant way to detect that a SIP INVITE was not answered?
>
>
>
> Best regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151106/95dddb2d/attachment.htm>
More information about the Users
mailing list