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 <[email protected]>
To: OpenSIPS users mailling list <[email protected]>
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, [email protected] 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
[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

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

Reply via email to