[OpenSIPS-Users] Need Hint for Opensips as UDP/TCP Proxy
    Binan AL Halabi 
    binanalhalabi at yahoo.com
       
    Wed Oct 10 12:18:48 CEST 2012
    
    
  
great.
________________________________
 Från: spady <spady77 at gmail.com>
Till: users at lists.opensips.org 
Skickat: onsdag, 10 oktober 2012 12:09
Ämne: Re: [OpenSIPS-Users] Need Hint for Opensips as UDP/TCP Proxy
 
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.
_______________________________________________
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/20121010/d34505c4/attachment.htm>
    
    
More information about the Users
mailing list