[OpenSIPS-Users] change_reply_status if failure route

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jul 1 12:53:02 CEST 2016


Hi Artem,

As Alain mention, just use t_reply() in failure route, to override the 
current reply.

Regards,

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

On 30.06.2016 19:32, Чалков Артём wrote:
> hello everyone!
> Can someone explain me, could i use change_reply_status() if failure 
> route or it hardcoded to use only in reply route or maybe help me with 
> my problem:
> Case:
> uac (1) <--> opensips (2) <--> uas (3)
> *step 1. 2 sends INVITE to 3*
> *step 2. 3 sends 407 to 2*
> processing: Now 2 trying to assign avp's to use uac_auth() function, 
> but in some case cant do it and 407's handling interrupts in main 
> route by exit;
> *step 3. 2 sends ACK to 3*
> *step 4. 2 sends 407 to 1*
> *
> *Could i somehow catch that 407 after step 2 and transform to 
> something like 404 to send it instead of 407 to 1? How to do it?
>
>
> _______________________________________________
> 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/20160701/0bb5ffc5/attachment.htm>


More information about the Users mailing list