[OpenSIPS-Users] Rewrite status in reply

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Feb 24 12:17:53 CET 2012


Hi Remco,

Use failure_route in opensips to catch the 488, and it this failure 
route you can to t_replay (415) to override the received 488.

Regards,
Bogdan

On 02/23/2012 11:54 PM, Remco . wrote:
> Hi,
>
> I've got the following situation:
>
> PSTN gateway Cisco IOS (not in my control) => OpenSIPS proxy => PBX/UA 
> (not in my control)
>
> When a fax call comes in, a T.38 re-invite is being sent from the gateway.
> The invite is being relayed trough the proxy, and the PBX/UA replies 
> with 488 - Not acceptable here
> When the 488 is being relayed trought the proxy to the gateway, the 
> call is terminated (gateway sends BYE).
>
> What I would like to achieve is replace the 488 with 415 - 
> Unacceptable media type to trigger fallback to G711 on the gateway 
> (Cisco IOS supporting fallback).
> I tried replacing this in the onreply_route but t_reply() is not 
> allowed there. What would be the best way to achieve this?
>
> Thanks in advance.
>
> Remco.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120224/467f698c/attachment.htm>


More information about the Users mailing list