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
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>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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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> 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>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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
On Wed, Feb 4, 2009 at 8:20 PM, Jonas Gauffin <jonas.gauffin@gmail.com>wrote:
I'm behind NAT. Is it FS that picks the random port, or the FW?
the FW
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 ...
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:
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 <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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
------------------------------------------------------------------------
_______________________________________________ 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
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:
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
participants (5)
-
Anthony Minessale
-
Jonas Gauffin
-
Raymond Chandler
-
Rupa Schomaker (lists)
-
Wasim Baig