I have an asterisk box with a public IP for people on the Internet to connect to. I also have a Lucent TNT on the same physical network but on a 10.0.0.0 subnet. It isn't safe to put the TNT on a public IP address and I never want it to talk to the net directly anyhow so this seemed like a good idea. However asterisk does not seem to properly route SIP calls between the interfaces. I tell the TNT to only allow connections from the ip of the asterisk box but the IP in the SIP headers comes through as that of the originating box, not the asterisk box. Is this how it is supposed to work? It would seem to make impossible what I want to do. -- Tracy Reed http://copilotcom.com This message is cryptographically signed for your protection. Info: http://copilotconsulting.com/sig -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041119/c69c5339/attachment.pgp
On Fri, Nov 19, 2004 at 07:44:34AM -0600, Tim Jackson spake thusly:> canreinvite=no ?I already thought of that and canreinvite is already set to no. I also know about bindaddr and localnet but neither of those do what I want either. Thanks. -- Tracy Reed http://copilotcom.com This message is cryptographically signed for your protection. Info: http://copilotconsulting.com/sig -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041119/bc5b9470/attachment.pgp
canreinvite=no ? http://www.voip-info.org/wiki-Asterisk+sip+canreinvite -Tim -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tracy R Reed Sent: Friday, November 19, 2004 6:56 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Routing between different interfaces I have an asterisk box with a public IP for people on the Internet to connect to. I also have a Lucent TNT on the same physical network but on a 10.0.0.0 subnet. It isn't safe to put the TNT on a public IP address and I never want it to talk to the net directly anyhow so this seemed like a good idea. However asterisk does not seem to properly route SIP calls between the interfaces. I tell the TNT to only allow connections from the ip of the asterisk box but the IP in the SIP headers comes through as that of the originating box, not the asterisk box. Is this how it is supposed to work? It would seem to make impossible what I want to do. -- Tracy Reed http://copilotcom.com This message is cryptographically signed for your protection. Info: http://copilotconsulting.com/sig