[Freeswitch-users] Phones registered to internal profile hit external profile when calling

hcoin hcoin at quietfountain.com
Tue Oct 22 10:01:58 MSD 2013


This has been a really frustrating problem, I'm sure the answer is 
simple but I just can't see it.

I had several extensions registered to the internal profile, sending 
calls out the external profile to a sip-pstn gateway, all seemed fine.

Then created another internal profile, using a different sip port on the 
same lan address, because of 'no device left behind' and NAT issues.

All seemed well, all the phones register normally.   Looking at the 
databases in FS they all show the proper ports, the proper domains, etc.

However, every single call gets picked up as a new call via 
sophia/external/... and it hits the public dialplan normally -- except 
that's the wrong plan, it should hit the default plan and be identified 
as sofia/internal/.... and so forth.
2013-10-22 00:31:11.001600 [NOTICE] switch_channel.c:1034 New Channel 
sofia/external/hcoin at pbx.foobar.com [28ed125a-3adb-11e3-9cc1-cbb8efb09b83]

What could possibly be the reason phones registered on the internal 
profile have their new calls identified as sophia/external and don't hit 
the correct plan?  Both the phones and the freeswitch are on the same 
subnet.  This should be so vanilla.  What am I missing?












Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list