Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Setting External IP


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
nik.middleton at noble...
Guest





PostPosted: Fri Mar 06, 2009 6:12 am    Post subject: [Freeswitch-users] Setting External IP Reply with quote

Hi Guys,

In External.xml in sip profiles I have

<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

Can I override these for a given gateway profile? I have one gateway that’s expecting a local routed IP address due to the way that it’s routed, but the other one expects the public IP, hence the need to make it gateway specific

Regards,
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Fri Mar 06, 2009 6:36 am    Post subject: [Freeswitch-users] Setting External IP Reply with quote

Hi Nik,

yes you can!

regards
Helmut

On 06.03.2009 12:04, Nik Middleton wrote:
Quote:

Hi Guys,
 
In External.xml in  sip profiles I have
 
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
 
Can I override these for a given gateway profile?  I have one gateway that’s expecting a local routed IP address due to the way that it’s routed, but the other one expects the public IP, hence the need to make it gateway specific
 
Regards,
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Mar 06, 2009 9:29 am    Post subject: [Freeswitch-users] Setting External IP Reply with quote

gateways are children of profiles so if you need them to be separate you need to make 2 profiles and run the other one on another IP or another port.


On Fri, Mar 6, 2009 at 5:04 AM, Nik Middleton <nik.middleton@noblesolutions.co.uk (nik.middleton@noblesolutions.co.uk)> wrote:
Quote:

Hi Guys,
 
In External.xml in  sip profiles I have
 
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
 
Can I override these for a given gateway profile?  I have one gateway that’s expecting a local routed IP address due to the way that it’s routed, but the other one expects the public IP, hence the need to make it gateway specific
 
Regards,


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
nik.middleton at noble...
Guest





PostPosted: Fri Mar 06, 2009 12:17 pm    Post subject: [Freeswitch-users] Setting External IP Reply with quote

Well Here’s my problem

From: "FreeSWITCH" <sip:+441number@publicIP>;tag=yge6eNm7a7B0r

To: <sip:+441number6@anotherIP>

CSeq: 112019702 INVITE

Contact: <sip:gw+MYGW@ExternalIP:5080;transport=udp>

I need to change the external IP value in the contact field to a specific IP for this gateway as I’m losing the BYE message. Is there some way of manipulating this value for a given GW?

Regards



From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: 06 March 2009 14:23
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Setting External IP


gateways are children of profiles so if you need them to be separate you need to make 2 profiles and run the other one on another IP or another port.


On Fri, Mar 6, 2009 at 5:04 AM, Nik Middleton <nik.middleton@noblesolutions.co.uk (nik.middleton@noblesolutions.co.uk)> wrote:
Hi Guys,

In External.xml in sip profiles I have

<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

Can I override these for a given gateway profile? I have one gateway that’s expecting a local routed IP address due to the way that it’s routed, but the other one expects the public IP, hence the need to make it gateway specific

Regards,



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
kristian.kielhofner at...
Guest





PostPosted: Fri Mar 06, 2009 12:25 pm    Post subject: [Freeswitch-users] Setting External IP Reply with quote

I've never tried it but Linux routing should be able to help you with this.

Create a new profile with the different address.

Make sure the aliases on your network interface have a /32 netmask.

Create a static route to that peer using the right outbound interface/address.

Anything more than this will require iptables/iproute ip policy routing foo. Hopefully you can avoid all of that...

--
Kristian Kielhofner
http://blog.krisk.org

-original message-
Subject: [Freeswitch-users] Setting External IP
From: "Nik Middleton" <nik.middleton@noblesolutions.co.uk>
Date: 03/06/2009 6:05 AM

Hi Guys,



In External.xml in sip profiles I have



<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>

<param name="ext-sip-ip" value="$${external_sip_ip}"/>



Can I override these for a given gateway profile? I have one gateway
that's expecting a local routed IP address due to the way that it's
routed, but the other one expects the public IP, hence the need to make
it gateway specific



Regards,


_______________________________________________
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


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services