Hi, something like that ?

 

if ( t_check_status("487") ) {

                      send_reply("404","Not Found");

                      exit;

                        }

 

De : <[email protected]> au nom de Чалков Артём <[email protected]>
Répondre à : OpenSIPS users mailling list <[email protected]>
Date : jeudi 30 juin 2016 18:32
À : "users &gt;&gt; OpenSIPS users mailling list" <[email protected]>
Objet : [OpenSIPS-Users] change_reply_status if failure route

 

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 
[email protected] 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to