Hello,
The fact you are changing the interface (actually your are bridging
networks) have nothing to do neither with TO and FROM hdrs (they contain
callee/caller identities, nothing to do with routing), nor with the
Contact hdr (this contains the IP coordinates of the sender of the
package, not to be changed in this case).
In a interface changing scenario, the things that change are the VIA and
RR headers added by the proxy doing the changing. This can be done by
opensips automatically (see the mhomed) or manually (via the
force_send_socket). See:
http://www.opensips.org/Documentation/Script-CoreParameters-1-10#toc68
http://www.opensips.org/Documentation/Script-CoreFunctions-1-10#toc15
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 27.01.2014 21:58, [email protected] wrote:
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