VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jonas.gauffin at gmail... Guest
|
Posted: Wed Feb 04, 2009 7:28 am Post subject: [Freeswitch-users] gateway |
|
|
Hello
I'm trying to make outbound calls through my gateway provider.
My calls got rejected and I asked them why.
Apparently I need to use 5060 as source port, since they validate both my IP and the port that the messages come from.
Is this possible with freeswitch? If so, what config settings should I set?
Regards,
Jonas |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Wed Feb 04, 2009 9:18 am Post subject: [Freeswitch-users] gateway |
|
|
if you are not behind any nat then as long as you run your profile on 5060, the source port on every packet will be 5060.
If you *are* behind nat the nat mapping will pick a random port unless you have a firewall that allows you to set specific mappings.
On Wed, Feb 4, 2009 at 6:26 AM, Jonas Gauffin <jonas.gauffin@gmail.com (jonas.gauffin@gmail.com)> wrote:
--
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 |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Wed Feb 04, 2009 10:21 am Post subject: [Freeswitch-users] gateway |
|
|
I'm behind NAT. Is it FS that picks the random port, or the FW?
I've mapped port 5060 to the freeswitch ip in my FW.
On Wed, Feb 4, 2009 at 3:14 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
|
|
Back to top |
|
|
intralanman at freeswi... Guest
|
Posted: Wed Feb 04, 2009 10:28 am Post subject: [Freeswitch-users] gateway |
|
|
Its the firewall... some fw's will give you port 5060 if there's nothing else in the network using 5060, but others will randomize it always.
-Ray
Jonas Gauffin wrote: Quote: | I'm behind NAT. Is it FS that picks the random port, or the FW?
I've mapped port 5060 to the freeswitch ip in my FW.
On Wed, Feb 4, 2009 at 3:14 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
|
|
|
Back to top |
|
|
freeswitch-users at li... Guest
|
Posted: Wed Feb 04, 2009 10:28 am Post subject: [Freeswitch-users] gateway |
|
|
It is the firewall. Most consumer firewalls allow mapping inbound ports
(probably what you describe). I don't know of any that do outbound
mapping. Linux or *bsd firewalls should be able to do what you want.
I'm sure a cisco with IOS could but it has been ages since I've played
with that.
On 2/4/2009 9:20 AM, Jonas Gauffin wrote:
Quote: | I'm behind NAT.
Is it FS that picks the random port, or the FW?
I've mapped port 5060 to the freeswitch ip in my FW.
On Wed, Feb 4, 2009 at 3:14 PM, Anthony Minessale
<anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
if you are not behind any nat then as long as you run your profile
on 5060, the source port on every packet will be 5060.
If you *are* behind nat the nat mapping will pick a random port
unless you have a firewall that allows you to set specific mappings.
On Wed, Feb 4, 2009 at 6:26 AM, Jonas Gauffin
<jonas.gauffin@gmail.com <mailto:jonas.gauffin@gmail.com>> wrote:
Hello
I'm trying to make outbound calls through my gateway provider.
My calls got rejected and I asked them why.
Apparently I need to use 5060 as source port, since they
validate both my IP and the port that the messages come from.
Is this possible with freeswitch? If so, what config settings
should I set?
Regards,
Jonas
|
_______________________________________________
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 |
|
|
wasim at convergence.pk Guest
|
Posted: Wed Feb 04, 2009 10:36 am Post subject: [Freeswitch-users] gateway |
|
|
On Wed, Feb 4, 2009 at 8:20 PM, Jonas Gauffin <jonas.gauffin@gmail.com (jonas.gauffin@gmail.com)> wrote:
Quote: | I'm behind NAT. Is it FS that picks the random port, or the FW?
|
the FW
Quote: | I've mapped port 5060 to the freeswitch ip in my FW.
|
thats inbound, now you need to tell your firewall to nail port 5060 on the outbound side when it comes from port 5060 of your freeswitch IP
--
wasim h. baig | principal consultant | convergence pk | +92 300 8508070 | peace be upon you ... |
|
Back to top |
|
|
|
|
|
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
|