[OpenSIPS-Users] Need Hint for Opensips as UDP/TCP Proxy
    spady 
    spady77 at gmail.com
       
    Wed Oct 10 12:09:44 CEST 2012
    
    
  
SOLVED!!
i was not reseted flag!!! :-( 
This is the right code:
branch_route[2] {
	if (is_method("INVITE") && is_audio_on_hold()) {
	     
 	         set_dlg_flag("7");
 	  } else {
 	  	       if (is_method("INVITE")){
 	  	     	reset_dlg_flag("7");
 	          }
 	         } 
	 	if (is_dlg_flag_set("7") && (status=="200")) {
		
 	   replace_body("a=sendrecv.", "a=inactive");
	  }   
	xlog("new branch at $ru\n");
  }
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Need-Hint-for-Opensips-as-UDP-TCP-Proxy-tp7582137p7582187.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
    
    
More information about the Users
mailing list