[OpenSIPS-Users] changing header contact

discodog62 at aol.com discodog62 at aol.com
Mon Jan 27 22:24:42 CET 2014


I have in my config mhomed=1.  I have also tried force_send_socket("external IP").  Just to clarify I do have 2 eth ports( 2 NICS).


Here is my config http://pastebin.com/8UiEdZXM




-----Original Message-----
From: Stefano Pisani <stefano.pisani at omnianet.it>
To: OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Mon, Jan 27, 2014 12:08 pm
Subject: Re: [OpenSIPS-Users] changing header contact


          
    
If you have public and private IP on      different eth ports you can use mhost = 1
      
      Il 27/01/2014 20.58, discodog62 at aol.com ha scritto:
    
    
Hello all,        
I am trying to setup a opensips server that has 2 ip's  one          internal and one external IP.  I have set the rewritehostport          to an external IP.  When I send the call to the internal NICs          IP the invite makes it to the external server but my to: from:          and header contact all show the original IPs and the header          contact is the internal NICs IP.
        

        
        
Should I be able to configure the open sips server to          branch a new call that shows the call originating from the          external NIC IP of the opensips server?  I have setup rtpproxy          that is working fine changing the SDP contact and media ports          to the external NIC's IP.  Can anyone point me in the correct          direction?
        

        
        
Thanks,
        

        
        
James
            
      
      
      
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

    
    
  

_______________________________________________
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/20140127/afe1f99a/attachment.htm>


More information about the Users mailing list