Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?


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





PostPosted: Wed Feb 24, 2016 10:09 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Hello all!  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.


My Setup:
Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.
SIP Provider: Flowroute


NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  


I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).


When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?


I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072




Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?


Sofia Status says:


                     Name   Type                                      Data State
=================================================================================================
            external-ipv6 profile                  sip:mod_sofia@[::1]:5080 RUNNING (0)
                 external profile          sip:mod_sofia@<external_ip>:5080 RUNNING (0)
external::<uuid> gateway            sip:<flowrouteid>@sip.flowroute.com REGED
            internal-ipv6 profile                  sip:mod_sofia@[::1]:5060 RUNNING (0)
                 internal profile           sip:mod_sofia@<internal_ip>:5060 RUNNING (0)
=================================================================================================



If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.


Thanks,
  -Brian
Back to top
freeswitch at digitald...
Guest





PostPosted: Thu Feb 25, 2016 8:38 am    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Debug console output: https://pastebin.freeswitch.org/24572

My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600
 
Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed.  Also, unfortunately, I cannot get a static ip.


Thanks!
  -Brian


On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Hello all!
  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.

 

My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute

 

NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  

 

I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).

 

When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?

 

I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072

 

 

Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?

 

Sofia Status says:

 

                     Name        Type                                      Data  State

=================================================================================================

            external-ipv6   profile                   sip:mod_sofia@[::1]:5080            RUNNING (0)

                 external      profile           sip:mod_sofia@<external_ip>:5080     RUNNING (0)

external::<uuid>          gateway                      sip:<flowrouteid>@[url=http://sip.flowroute.com]sip.flowroute.com          REGED

            internal-ipv6    profile                   sip:mod_sofia@[::1]:5060            RUNNING (0)

                 internal       profile            sip:mod_sofia@<internal_ip>:5060    RUNNING (0)

=================================================================================================


 

If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.

 

Thanks,

  -Brian






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Feb 25, 2016 8:52 am    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.

On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:
Debug console output: https://pastebin.freeswitch.org/24572

My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600
 
Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed.  Also, unfortunately, I cannot get a static ip.


Thanks!
  -Brian


On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:


Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Hello all!
  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.

 

My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute

 

NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  

 

I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).

 

When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?

 

I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072

 

 

Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?

 

Sofia Status says:

 

                     Name        Type                                      Data  State

=================================================================================================

            external-ipv6   profile                   sip:mod_sofia@[::1]:5080            RUNNING (0)

                 external      profile           sip:mod_sofia@<external_ip>:5080     RUNNING (0)

external::<uuid>          gateway                      sip:<flowrouteid>@[url=http://sip.flowroute.com]sip.flowroute.com          REGED

            internal-ipv6    profile                   sip:mod_sofia@[::1]:5060            RUNNING (0)

                 internal       profile            sip:mod_sofia@<internal_ip>:5060    RUNNING (0)

=================================================================================================


 

If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.

 

Thanks,

  -Brian








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
Back to top
freeswitch at digitald...
Guest





PostPosted: Thu Feb 25, 2016 11:02 am    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension? On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension? On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Its just the channel name so don't get tripped up by that, its just named with some default data about the session.

On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:
Debug console output: https://pastebin.freeswitch.org/24572

My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600
 
Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed.  Also, unfortunately, I cannot get a static ip.


Thanks!
  -Brian


On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:


Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Hello all!
  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.

 

My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute

 

NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  

 

I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).

 

When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?

 

I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072

 

 

Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?

 

Sofia Status says:

 

                     Name        Type                                      Data  State

=================================================================================================

            external-ipv6   profile                   sip:mod_sofia@[::1]:5080            RUNNING (0)

                 external      profile           sip:mod_sofia@<external_ip>:5080     RUNNING (0)

external::<uuid>          gateway                      sip:<flowrouteid>@[url=http://sip.flowroute.com]sip.flowroute.com          REGED

            internal-ipv6    profile                   sip:mod_sofia@[::1]:5060            RUNNING (0)

                 internal       profile            sip:mod_sofia@<internal_ip>:5060    RUNNING (0)

=================================================================================================


 

If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.

 

Thanks,

  -Brian








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest











_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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

Back to top
max at nysolutions.com
Guest





PostPosted: Thu Feb 25, 2016 11:14 am    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.


On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572


My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600

Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter). No firewall ports are explicitly open, but allow bi-directional with existing states. I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts. I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed. Also, unfortunately, I cannot get a static ip.

Thanks!
-Brian



On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Hello all!
I'm new to freeswitch, so I'm sure this is just a newbie configuration error. Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages. I've already followed the confluence page on configuring NAT.



My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute



NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute. I configured external sip and rtp to use stun entries. External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.



I have one DID configured to go directly to my one extension. My extension can register just fine. My extension can dial out. When I call my cell, the call connects and I have 2 way audio. When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).



When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?



I see this line in the console: 2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072





Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension> ?



Sofia Status says:



Name Type Data State

=================================================================================================

external-ipv6 profile [url=sip:mod_sofia@[::1]:5080]sip:mod_sofia@[::1]:5080 RUNNING (0)

external profile [url=sip:mod_sofia@%3cexternal_ip%3e:5080]sip:mod_sofia@<external_ip>:5080[/url] RUNNING (0)

external::<uuid> gateway sip:<flowrouteid>@sip.flowroute.com REGED

internal-ipv6 profile [url=sip:mod_sofia@[::1]:5060]sip:mod_sofia@[::1]:5060[/url] RUNNING (0)

internal profile [url=sip:mod_sofia@%3cinternal_ip%3e:5060]sip:mod_sofia@<internal_ip>:5060[/url] RUNNING (0)

=================================================================================================




If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue? I feel like it's just me missing something, I just can't determine what that might be.



Thanks,

-Brian









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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






--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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

Back to top
freeswitch at digitald...
Guest





PostPosted: Thu Feb 25, 2016 8:19 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Moishe,  Thanks for double checking this, I hadn't thought to try an extension <-> extension call as it's a private server just for me, however, after creating another extension, I cannot make internal calls.  It seems, I can only make outbound calls. 


Internal -> External is working.
External -> Internal only works to the FS server, not to the extension.
Internal -> Internal does not work.






On Thu, Feb 25, 2016 at 8:12 AM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.

 
On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572
 

My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.

 

Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600
 
Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed.  Also, unfortunately, I cannot get a static ip.
 
Thanks!
  -Brian


 
On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Hello all!
  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.

 

My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute

 

NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  

 

I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).

 

When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?

 

I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072

 

 

Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?

 

Sofia Status says:

 

                     Name        Type                                      Data  State

=================================================================================================

            external-ipv6   profile                   sip:mod_sofia@[::1]:5080            RUNNING (0)

                 external      profile           sip:mod_sofia@<external_ip>:5080     RUNNING (0)

external::<uuid>          gateway                      sip:<flowrouteid>@[url=http://sip.flowroute.com]sip.flowroute.com          REGED

            internal-ipv6    profile                   sip:mod_sofia@[::1]:5060            RUNNING (0)

                 internal       profile            sip:mod_sofia@<internal_ip>:5060    RUNNING (0)

=================================================================================================


 

If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.

 

Thanks,

  -Brian






 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




 

--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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







_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
Back to top
max at nysolutions.com
Guest





PostPosted: Thu Feb 25, 2016 8:51 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Can you show a log of a internal call?
Are the phones showing registered? Show registrations
Did you by any chance add your ip range to the ACL.


Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 8:18 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Moishe,
Thanks for double checking this, I hadn't thought to try an extension <-> extension call as it's a private server just for me, however, after creating another extension, I cannot make internal calls. It seems, I can only make outbound calls.



Internal -> External is working.

External -> Internal only works to the FS server, not to the extension.

Internal -> Internal does not work.







On Thu, Feb 25, 2016 at 8:12 AM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.


On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572


My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600

Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter). No firewall ports are explicitly open, but allow bi-directional with existing states. I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts. I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed. Also, unfortunately, I cannot get a static ip.

Thanks!
-Brian



On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Hello all!
I'm new to freeswitch, so I'm sure this is just a newbie configuration error. Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages. I've already followed the confluence page on configuring NAT.



My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute



NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute. I configured external sip and rtp to use stun entries. External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.



I have one DID configured to go directly to my one extension. My extension can register just fine. My extension can dial out. When I call my cell, the call connects and I have 2 way audio. When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).



When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?



I see this line in the console: 2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072





Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension> ?



Sofia Status says:



Name Type Data State

=================================================================================================

external-ipv6 profile [url=sip:mod_sofia@[::1]:5080]sip:mod_sofia@[::1]:5080 RUNNING (0)

external profile [url=sip:mod_sofia@%3cexternal_ip%3e:5080]sip:mod_sofia@<external_ip>:5080[/url] RUNNING (0)

external::<uuid> gateway sip:<flowrouteid>@sip.flowroute.com REGED

internal-ipv6 profile [url=sip:mod_sofia@[::1]:5060]sip:mod_sofia@[::1]:5060[/url] RUNNING (0)

internal profile [url=sip:mod_sofia@%3cinternal_ip%3e:5060]sip:mod_sofia@<internal_ip>:5060[/url] RUNNING (0)

=================================================================================================




If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue? I feel like it's just me missing something, I just can't determine what that might be.



Thanks,

-Brian









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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






--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
Back to top
freeswitch at digitald...
Guest





PostPosted: Fri Feb 26, 2016 5:47 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

I think that solved it, thanks!  I did have ACL configured, just apparently incorrectly.  Out of the (fusionpbx) box I had two ACL lists, one called LAN with a default of allow, which I had entered my CIDR into.  One called domain, which was default deny, but I had made an allow entry for my domain, but no CIDR.  When I added my CIDR to the domain list, it started working.

Thanks again for walking me through the troubleshooting, sorry for such a noob mistake Smile  


On Thu, Feb 25, 2016 at 5:50 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Can you show a log of a internal call?
Are the phones showing registered? Show registrations
Did you by any chance add your ip range to the ACL.
 
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 8:18 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?



 
Moishe,
  Thanks for double checking this, I hadn't thought to try an extension <-> extension call as it's a private server just for me, however, after creating another extension, I cannot make internal calls.  It seems, I can only make outbound calls. 

 

Internal -> External is working.

External -> Internal only works to the FS server, not to the extension.

Internal -> Internal does not work.

 

 


 
On Thu, Feb 25, 2016 at 8:12 AM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.

 
On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572
 

My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.

 

Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600
 
Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed.  Also, unfortunately, I cannot get a static ip.
 
Thanks!
  -Brian


 
On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Hello all!
  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.

 

My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute

 

NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  

 

I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).

 

When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?

 

I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072

 

 

Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?

 

Sofia Status says:

 

                     Name        Type                                      Data  State

=================================================================================================

            external-ipv6   profile                   sip:mod_sofia@[::1]:5080            RUNNING (0)

                 external      profile           sip:mod_sofia@<external_ip>:5080     RUNNING (0)

external::<uuid>          gateway                      sip:<flowrouteid>@[url=http://sip.flowroute.com]sip.flowroute.com          REGED

            internal-ipv6    profile                   sip:mod_sofia@[::1]:5060            RUNNING (0)

                 internal       profile            sip:mod_sofia@<internal_ip>:5060    RUNNING (0)

=================================================================================================


 

If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.

 

Thanks,

  -Brian






 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




 

--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


 





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
Back to top
max at nysolutions.com
Guest





PostPosted: Sat Feb 27, 2016 8:00 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

You should not need to configure an acl for your cidr unless your endpoints are not registering.
The only acl you would need is for your sip providers ip’s if they are ip authenticating and sending traffic to your internal profile.

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian Chow
Sent: Friday, February 26, 2016 5:45 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

I think that solved it, thanks! I did have ACL configured, just apparently incorrectly. Out of the (fusionpbx) box I had two ACL lists, one called LAN with a default of allow, which I had entered my CIDR into. One called domain, which was default deny, but I had made an allow entry for my domain, but no CIDR. When I added my CIDR to the domain list, it started working.


Thanks again for walking me through the troubleshooting, sorry for such a noob mistake Smile



On Thu, Feb 25, 2016 at 5:50 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Can you show a log of a internal call?
Are the phones showing registered? Show registrations
Did you by any chance add your ip range to the ACL.


Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 8:18 PM

To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?



Moishe,
Thanks for double checking this, I hadn't thought to try an extension <-> extension call as it's a private server just for me, however, after creating another extension, I cannot make internal calls. It seems, I can only make outbound calls.



Internal -> External is working.

External -> Internal only works to the FS server, not to the extension.

Internal -> Internal does not work.







On Thu, Feb 25, 2016 at 8:12 AM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.


On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572


My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600

Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter). No firewall ports are explicitly open, but allow bi-directional with existing states. I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts. I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed. Also, unfortunately, I cannot get a static ip.

Thanks!
-Brian



On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Hello all!
I'm new to freeswitch, so I'm sure this is just a newbie configuration error. Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages. I've already followed the confluence page on configuring NAT.



My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute



NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute. I configured external sip and rtp to use stun entries. External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.



I have one DID configured to go directly to my one extension. My extension can register just fine. My extension can dial out. When I call my cell, the call connects and I have 2 way audio. When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).



When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?



I see this line in the console: 2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072





Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension> ?



Sofia Status says:



Name Type Data State

=================================================================================================

external-ipv6 profile [url=sip:mod_sofia@[::1]:5080]sip:mod_sofia@[::1]:5080 RUNNING (0)

external profile [url=sip:mod_sofia@%3cexternal_ip%3e:5080]sip:mod_sofia@<external_ip>:5080[/url] RUNNING (0)

external::<uuid> gateway sip:<flowrouteid>@sip.flowroute.com REGED

internal-ipv6 profile [url=sip:mod_sofia@[::1]:5060]sip:mod_sofia@[::1]:5060[/url] RUNNING (0)

internal profile [url=sip:mod_sofia@%3cinternal_ip%3e:5060]sip:mod_sofia@<internal_ip>:5060[/url] RUNNING (0)

=================================================================================================




If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue? I feel like it's just me missing something, I just can't determine what that might be.



Thanks,

-Brian









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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






--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
Back to top
freeswitch at digitald...
Guest





PostPosted: Sat Feb 27, 2016 10:05 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

The extensions were always registering. The clients reported as registered, and I was able to make outbound calls without issue.  It was only inbound calls that went directly to voicemail instead of ringing. I also could not call extension to extension. After adding the cidr to the acl list both internal extension calls and inbound calls were working. However, it sounds like you believe that should not be the case based on that change?
I can post config samples later when I get back home.  Or at least fusionpbx screenshots.  The I'm not sure where fusionpbx gets all the settings from. The internal and external profiles all have .noload extensions, which seems different from the other FreeSWITCH config files. On Feb 27, 2016 5:01 PM, "Moishe Grunstein" <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

You should not need to configure an acl for your cidr unless your endpoints are not registering.
The only acl you would need is for your sip providers ip’s if they are ip authenticating and sending traffic to your internal profile.
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Friday, February 26, 2016 5:45 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
I think that solved it, thanks!  I did have ACL configured, just apparently incorrectly.  Out of the (fusionpbx) box I had two ACL lists, one called LAN with a default of allow, which I had entered my CIDR into.  One called domain, which was default deny, but I had made an allow entry for my domain, but no CIDR.  When I added my CIDR to the domain list, it started working.
 

Thanks again for walking me through the troubleshooting, sorry for such a noob mistake Smile  


 
On Thu, Feb 25, 2016 at 5:50 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Can you show a log of a internal call?
Are the phones showing registered? Show registrations
Did you by any chance add your ip range to the ACL.
 
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 8:18 PM

To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?


 
Moishe,
  Thanks for double checking this, I hadn't thought to try an extension <-> extension call as it's a private server just for me, however, after creating another extension, I cannot make internal calls.  It seems, I can only make outbound calls. 

 

Internal -> External is working.

External -> Internal only works to the FS server, not to the extension.

Internal -> Internal does not work.

 

 


 
On Thu, Feb 25, 2016 at 8:12 AM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.

 
On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572
 

My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.

 

Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600
 
Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed.  Also, unfortunately, I cannot get a static ip.
 
Thanks!
  -Brian


 
On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on
 
Thanks,
 
Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
 
From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?
 
Hello all!
  I'm new to freeswitch, so I'm sure this is just a newbie configuration error.  Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I've already followed the confluence page on configuring NAT.

 

My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute

 

NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.  

 

I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).

 

When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?

 

I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072

 

 

Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension>  ?

 

Sofia Status says:

 

                     Name        Type                                      Data  State

=================================================================================================

            external-ipv6   profile                   sip:mod_sofia@[::1]:5080            RUNNING (0)

                 external      profile           sip:mod_sofia@<external_ip>:5080     RUNNING (0)

external::<uuid>          gateway                      sip:<flowrouteid>@[url=http://sip.flowroute.com]sip.flowroute.com          REGED

            internal-ipv6    profile                   sip:mod_sofia@[::1]:5060            RUNNING (0)

                 internal       profile            sip:mod_sofia@<internal_ip>:5060    RUNNING (0)

=================================================================================================


 

If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it's just me missing something, I just can't determine what that might be.

 

Thanks,

  -Brian






 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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




 

--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


 






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


 



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
Back to top
max at nysolutions.com
Guest





PostPosted: Sat Feb 27, 2016 10:48 pm    Post subject: [Freeswitch-users] Inbound calls mis-routing routing to inte Reply with quote

Your problem is what you initially added to the ACL, if you remove it all and reload ACL, it should work fine.

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian Chow
Sent: Saturday, February 27, 2016 10:04 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

The extensions were always registering. The clients reported as registered, and I was able to make outbound calls without issue. It was only inbound calls that went directly to voicemail instead of ringing. I also could not call extension to extension. After adding the cidr to the acl list both internal extension calls and inbound calls were working. However, it sounds like you believe that should not be the case based on that change?
I can post config samples later when I get back home. Or at least fusionpbx screenshots. The I'm not sure where fusionpbx gets all the settings from. The internal and external profiles all have .noload extensions, which seems different from the other FreeSWITCH config files.
On Feb 27, 2016 5:01 PM, "Moishe Grunstein" <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

You should not need to configure an acl for your cidr unless your endpoints are not registering.
The only acl you would need is for your sip providers ip’s if they are ip authenticating and sending traffic to your internal profile.

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Friday, February 26, 2016 5:45 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

I think that solved it, thanks! I did have ACL configured, just apparently incorrectly. Out of the (fusionpbx) box I had two ACL lists, one called LAN with a default of allow, which I had entered my CIDR into. One called domain, which was default deny, but I had made an allow entry for my domain, but no CIDR. When I added my CIDR to the domain list, it started working.


Thanks again for walking me through the troubleshooting, sorry for such a noob mistake Smile



On Thu, Feb 25, 2016 at 5:50 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Can you show a log of a internal call?
Are the phones showing registered? Show registrations
Did you by any chance add your ip range to the ACL.


Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 8:18 PM

To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?



Moishe,
Thanks for double checking this, I hadn't thought to try an extension <-> extension call as it's a private server just for me, however, after creating another extension, I cannot make internal calls. It seems, I can only make outbound calls.



Internal -> External is working.

External -> Internal only works to the FS server, not to the extension.

Internal -> Internal does not work.







On Thu, Feb 25, 2016 at 8:12 AM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:
Quote:

Does internal call also go direct to voicemail?
Are you sure you don’t have a *99 before the extension number?

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Thursday, February 25, 2016 11:00 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Ok, in that case, what do I do next to figure out why inbound calls go directly to voicemail instead of ringing the extension?
On Feb 25, 2016 7:57 AM, "Brian Chow" <brianchow@digitaldescent.net (brianchow@digitaldescent.net)> wrote:
Quote:

Ok, in that case, what do I look at next to see why it goes straight to voicemail instead of ringing my extension?
On Feb 25, 2016 5:52 AM, "Brian West" <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:

Its just the channel name so don't get tripped up by that, its just named with some default data about the session.


On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <freeswitch@digitaldescent.net (freeswitch@digitaldescent.net)> wrote:
Quote:

Debug console output: [url=https://pastebin.freeswitch.org/24572]https://pastebin.freeswitch.org/24572


My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.



Quote:
Is your endpoint registered? How often is it set to reregister?
Yes, and the zoiper default registration expiry is 3600

Quote:
Does your router have a sip alg? Are the ports opened in your firewall?
ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter). No firewall ports are explicitly open, but allow bi-directional with existing states. I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts. I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn't needed. Also, unfortunately, I cannot get a static ip.

Thanks!
-Brian



On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <max@nysolutions.com (max@nysolutions.com)> wrote:

Quote:

It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.
Is your endpoint registered? How often is it set to reregister?
Does your router have a sip alg? Are the ports opened in your firewall?
Very hard to guess without a log of a call with debug enabled.
sofia global sip trace on

Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
[url=tel:212.400.7650]212.400.7650[/url] 888.IPPBX.US
Service Request Email: support@nysolutions.com (support@nysolutions.com)
[/url]
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From:
freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian Chow
Sent: Wednesday, February 24, 2016 10:00 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?

Hello all!
I'm new to freeswitch, so I'm sure this is just a newbie configuration error. Sorry if it's been answered a million times, my google searches always just bring up the standard NAT configuration pages. I've already followed the confluence page on configuring NAT.



My Setup:

Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.

SIP Provider: Flowroute



NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute. I configured external sip and rtp to use stun entries. External profile is using $${external_rtp/sip_ip} for ext-rtp/sip respectively.



I have one DID configured to go directly to my one extension. My extension can register just fine. My extension can dial out. When I call my cell, the call connects and I have 2 way audio. When I dial my DID from my cell, I can see the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).



When I look the at the console, it appears (sorry if this is wrong, I'm only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?



I see this line in the console: 2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/<extension>@<externalip>:46072





Shouldn't that read sofia/internal/<extentsion>@<ip_of_extension> ?



Sofia Status says:



Name Type Data State

=================================================================================================

external-ipv6 profile [url=sip:mod_sofia@[::1]:5080]sip:mod_sofia@[::1]:5080 RUNNING (0)

external profile [url=sip:mod_sofia@%3cexternal_ip%3e:5080]sip:mod_sofia@<external_ip>:5080[/url] RUNNING (0)

external::<uuid> gateway sip:<flowrouteid>@sip.flowroute.com REGED

internal-ipv6 profile [url=sip:mod_sofia@[::1]:5060]sip:mod_sofia@[::1]:5060[/url] RUNNING (0)

internal profile [url=sip:mod_sofia@%3cinternal_ip%3e:5060]sip:mod_sofia@<internal_ip>:5060[/url] RUNNING (0)

=================================================================================================




If I'm completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue? I feel like it's just me missing something, I just can't determine what that might be.



Thanks,

-Brian









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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






--
Brian West
brian@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest












_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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







_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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
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