Is there an example of configuring Freeswitch to support both eth0 and eth1, when they are connected to different networks? I know I can create two sip_profiles, which works fine for registration, but in the past, I've had issues with Freeswitch not sending media to the right interface (or at least, not knowing how to control that). Thanks, Jerry
Just look at the default internal profile configuration. Special attention to the ext-rtp-ip and ext-sip-ip. Other than that, rtp-ip and sip-ip should be all you need. -- João Mesquita Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, May 7, 2012 at 11:37 AM, Jerry Richards wrote:
Is there an example of configuring Freeswitch to support both eth0 and eth1, when they are connected to different networks?
I know I can create two sip_profiles, which works fine for registration, but in the past, I've had issues with Freeswitch not sending media to the right interface (or at least, not knowing how to control that).
Thanks, Jerry
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi, from ODBC in the core in the wiki we have: setup the IP in the following params in each sip-profile: rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip regards, Benjamin Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Jerry Richards Gesendet: Montag, 7. Mai 2012 16:37 An: 'freeswitch-users@lists.freeswitch.org' Betreff: [Freeswitch-users] Freeswitch And 2 Network I/Fs Is there an example of configuring Freeswitch to support both eth0 and eth1, when they are connected to different networks? I know I can create two sip_profiles, which works fine for registration, but in the past, I've had issues with Freeswitch not sending media to the right interface (or at least, not knowing how to control that). Thanks, Jerry
Hi, Okay, I tried setting the tags you suggest (rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip). I am able to register, but I can't call from one network to the other (it just goes to voicemail). I posted a trace at http://pastebin.freeswitch.org/19016 Thanks, Jerry From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of B.Tietz@pinguin.ag Sent: Monday, May 07, 2012 7:51 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Freeswitch And 2 Network I/Fs Hi, from ODBC in the core in the wiki we have: setup the IP in the following params in each sip-profile: rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip regards, Benjamin Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Jerry Richards Gesendet: Montag, 7. Mai 2012 16:37 An: 'freeswitch-users@lists.freeswitch.org' Betreff: [Freeswitch-users] Freeswitch And 2 Network I/Fs Is there an example of configuring Freeswitch to support both eth0 and eth1, when they are connected to different networks? I know I can create two sip_profiles, which works fine for registration, but in the past, I've had issues with Freeswitch not sending media to the right interface (or at least, not knowing how to control that). Thanks, Jerry
Okay, I think I have it working. This is the bridge statement I'm using: <action application="bridge" data="${sofia_contact(internal/${dialed_extension})},${sofia_contact(external/${dialed_extension})}"/> If anyone recommends a better bridge, please let me know. Thanks, Jerry From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jerry Richards Sent: Tuesday, May 08, 2012 11:38 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch And 2 Network I/Fs Hi, Okay, I tried setting the tags you suggest (rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip). I am able to register, but I can't call from one network to the other (it just goes to voicemail). I posted a trace at http://pastebin.freeswitch.org/19016 Thanks, Jerry From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of B.Tietz@pinguin.ag Sent: Monday, May 07, 2012 7:51 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Freeswitch And 2 Network I/Fs Hi, from ODBC in the core in the wiki we have: setup the IP in the following params in each sip-profile: rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip regards, Benjamin Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Jerry Richards Gesendet: Montag, 7. Mai 2012 16:37 An: 'freeswitch-users@lists.freeswitch.org' Betreff: [Freeswitch-users] Freeswitch And 2 Network I/Fs Is there an example of configuring Freeswitch to support both eth0 and eth1, when they are connected to different networks? I know I can create two sip_profiles, which works fine for registration, but in the past, I've had issues with Freeswitch not sending media to the right interface (or at least, not knowing how to control that). Thanks, Jerry
did you try <action application="bridge" data="${sofia_contact(*/${dialed_extension})}"/> On 5/8/2012 5:34 PM, Jerry Richards wrote:
Okay, I think I have it working. This is the bridge statement I'm using:
<action application="bridge" data="${sofia_contact(internal/${dialed_extension})},${sofia_contact(external/${dialed_extension})}"/>
If anyone recommends a better bridge, please let me know.
Thanks,
Jerry
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Jerry Richards *Sent:* Tuesday, May 08, 2012 11:38 AM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Freeswitch And 2 Network I/Fs
Hi,
Okay, I tried setting the tags you suggest (rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip). I am able to register, but I can't call from one network to the other (it just goes to voicemail). I posted a trace at http://pastebin.freeswitch.org/19016
Thanks,
Jerry
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *B.Tietz@pinguin.ag *Sent:* Monday, May 07, 2012 7:51 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Freeswitch And 2 Network I/Fs
Hi,
from ODBC in the core in the wiki we have:
setup the IP in the following params in each sip-profile:
rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip
regards,
Benjamin
*Von:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *Im Auftrag von *Jerry Richards *Gesendet:* Montag, 7. Mai 2012 16:37 *An:* 'freeswitch-users@lists.freeswitch.org' *Betreff:* [Freeswitch-users] Freeswitch And 2 Network I/Fs
Is there an example of configuring Freeswitch to support both eth0 and eth1, when they are connected to different networks?
I know I can create two sip_profiles, which works fine for registration, but in the past, I've had issues with Freeswitch not sending media to the right interface (or at least, not knowing how to control that).
Thanks, Jerry
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Abaci
-
B.Tietz@pinguin.ag
-
Jerry Richards
-
João Mesquita