[OpenSIPS-Users] How to identify a 4xx, or 5xx, or 6xx SIP response in OpenSIPS script?

Eric Tamme eric at uphreak.com
Fri Nov 6 15:16:00 CET 2015


alternatively ... just set a failure route, anything that ends up there 
will be the result of a non positive final response

On 11/06/2015 07:07 AM, Rodrigo Pimenta Carvalho wrote:
>
>
> 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/fbe81c8b/attachment-0001.htm>


More information about the Users mailing list