Default Freeswitch configuration - Cannot call internal extensions
Hi, I just installed Freeswitch on a CentOS 7.0 system and registered a phone on 1001. When I dial another extension (ex. 5000 for IVR), I see this in the logs freeswitch@leccnha2> 2016-03-15 12:55:41.216586 [NOTICE] switch_channel.c:1101 New Channel sofia/external/1001@172.18.19.71 [e56f4f6a-eae7-11e5-b3e9-335237ee0f3f] 2016-03-15 12:55:41.216586 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->5000 in context public 2016-03-15 12:55:41.216586 [NOTICE] switch_core_state_machine.c:315 sofia/external/1001@172.18.19.71 has executed the last dialplan instruction, hanging up. Why is it using "public context" for internal extensions? How can I make it use default? Thanks, Varsha
Do you have an ACL for authentication for the user? If so I believe it will default to public dialplan context. Try with digest auth (i.e. traditional username/password) and verify that it's working, then go from there. -MSC On Tue, Mar 15, 2016 at 12:59 PM, Varsha Agarwal <vagarwal@vertical.com> wrote:
Hi,
I just installed Freeswitch on a CentOS 7.0 system and registered a phone on 1001. When I dial another extension (ex. 5000 for IVR), I see this in the logs
freeswitch@leccnha2> 2016-03-15 12:55:41.216586 [NOTICE] switch_channel.c:1101 New Channel sofia/external/1001@172.18.19.71 [e56f4f6a-eae7-11e5-b3e9-335237ee0f3f]
2016-03-15 12:55:41.216586 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->5000 in context public
2016-03-15 12:55:41.216586 [NOTICE] switch_core_state_machine.c:315 sofia/external/1001@172.18.19.71 has executed the last dialplan instruction, hanging up.
Why is it using "public context" for internal extensions? How can I make it use default?
Thanks,
Varsha
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Varsha, You're trying to register your endpoint on a external profile: New Channel sofia/external/1001@172.18.19.71 Make sure you put the right ip and sip port equivalent to your internal profile and it'll work. The external one doesn't authenticate calls and will always put your calls to public context no matter if you tried to register on it or no. On Tue, Mar 15, 2016 at 7:52 PM, Michael Collins <msc@freeswitch.org> wrote:
Do you have an ACL for authentication for the user? If so I believe it will default to public dialplan context. Try with digest auth (i.e. traditional username/password) and verify that it's working, then go from there.
-MSC
On Tue, Mar 15, 2016 at 12:59 PM, Varsha Agarwal <vagarwal@vertical.com> wrote:
Hi,
I just installed Freeswitch on a CentOS 7.0 system and registered a phone on 1001. When I dial another extension (ex. 5000 for IVR), I see this in the logs
freeswitch@leccnha2> 2016-03-15 12:55:41.216586 [NOTICE] switch_channel.c:1101 New Channel sofia/external/1001@172.18.19.71 [e56f4f6a-eae7-11e5-b3e9-335237ee0f3f]
2016-03-15 12:55:41.216586 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->5000 in context public
2016-03-15 12:55:41.216586 [NOTICE] switch_core_state_machine.c:315 sofia/external/1001@172.18.19.71 has executed the last dialplan instruction, hanging up.
Why is it using "public context" for internal extensions? How can I make it use default?
Thanks,
Varsha
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: 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 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi italo@freeswitch.org
participants (3)
-
Michael Collins
-
Varsha Agarwal
-
Ítalo Rossi