I'm hoping to get some pointers on debugging why I'm getting a "Invalid Application set" error message. I have read the FAQ which says that the most common reason is the correct module hasn't been loaded. However, in this case, there is no module called "set", so what could some of the other causes be? Here's the debug output if it helps: 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/1009@10.1.1.19) State Change CS_ROUTING -> CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/1009@10.1.1.19) State ROUTING going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/1009@10.1.1.19) Running State Change CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/1009@10.1.1.19) State EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:243 sofia/internal/ 1009@10.1.1.19 SOFIA EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:209 sofia/internal/1009@10.1.1.19 Standard EXECUTE 2013-07-29 13:41:17.208965 [ERR] switch_core_session.c:2547 Invalid Application set 2013-07-29 13:41:17.208965 [NOTICE] switch_core_session.c:2548 Hangup sofia/internal/1009@10.1.1.19 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER] 2013-07-29 13:41:17.208965 [DEBUG] switch_channel.c:3096 Send signal sofia/internal/1009@10.1.1.19 [KILL] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/1009@10.1.1.19) State EXECUTE going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/1009@10.1.1.19) Running State Change CS_HANGUP 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:676 (sofia/internal/1009@10.1.1.19) State HANGUP 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:504 Channel sofia/internal/ 1009@10.1.1.19 hanging up, cause: DESTINATION_OUT_OF_ORDER 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:638 Responding to INVITE with: 502
Sounds like you didn¹t load mod_dptools... On 7/28/13 10:51 PM, "Ei Dev" <eidevm5@gmail.com> wrote:
I'm hoping to get some pointers on debugging why I'm getting a "Invalid Application set" error message.
I have read the FAQ which says that the most common reason is the correct module hasn't been loaded.
However, in this case, there is no module called "set", so what could some of the other causes be?
Here's the debug output if it helps:
2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/1009@10.1.1.19) State Change CS_ROUTING -> CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/1009@10.1.1.19) State ROUTING going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/1009@10.1.1.19) Running State Change CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/1009@10.1.1.19) State EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:243 sofia/internal/1009@10.1.1.19 SOFIA EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:209 sofia/internal/1009@10.1.1.19 Standard EXECUTE 2013-07-29 13:41:17.208965 [ERR] switch_core_session.c:2547 Invalid Application set 2013-07-29 13:41:17.208965 [NOTICE] switch_core_session.c:2548 Hangup sofia/internal/1009@10.1.1.19 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER] 2013-07-29 13:41:17.208965 [DEBUG] switch_channel.c:3096 Send signal sofia/internal/1009@10.1.1.19 [KILL] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/1009@10.1.1.19) State EXECUTE going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/1009@10.1.1.19) Running State Change CS_HANGUP 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:676 (sofia/internal/1009@10.1.1.19) State HANGUP 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:504 Channel sofia/internal/1009@10.1.1.19 hanging up, cause: DESTINATION_OUT_OF_ORDER 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:638 Responding to INVITE with: 502
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Thanks Ken, that did the trick. The error message was definitely quite vague. On Tue, Jul 30, 2013 at 1:19 AM, Ken Rice <krice@freeswitch.org> wrote:
Sounds like you didn’t load mod_dptools...
On 7/28/13 10:51 PM, "Ei Dev" <eidevm5@gmail.com> wrote:
I'm hoping to get some pointers on debugging why I'm getting a "Invalid Application set" error message.
I have read the FAQ which says that the most common reason is the correct module hasn't been loaded.
However, in this case, there is no module called "set", so what could some of the other causes be?
Here's the debug output if it helps:
2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:167 ( sofia/internal/1009@10.1.1.19) State Change CS_ROUTING -> CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:470 ( sofia/internal/1009@10.1.1.19) State ROUTING going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 ( sofia/internal/1009@10.1.1.19) Running State Change CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 ( sofia/internal/1009@10.1.1.19) State EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:243 sofia/internal/1009@10.1.1.19 SOFIA EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:209 sofia/internal/1009@10.1.1.19 Standard EXECUTE 2013-07-29 13:41:17.208965 [ERR] switch_core_session.c:2547 Invalid Application set 2013-07-29 13:41:17.208965 [NOTICE] switch_core_session.c:2548 Hangup sofia/internal/1009@10.1.1.19 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER] 2013-07-29 13:41:17.208965 [DEBUG] switch_channel.c:3096 Send signal sofia/internal/1009@10.1.1.19 [KILL] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 ( sofia/internal/1009@10.1.1.19) State EXECUTE going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 ( sofia/internal/1009@10.1.1.19) Running State Change CS_HANGUP 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:676 ( sofia/internal/1009@10.1.1.19) State HANGUP 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:504 Channel sofia/internal/1009@10.1.1.19 hanging up, cause: DESTINATION_OUT_OF_ORDER 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:638 Responding to INVITE with: 502
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
I wouldn¹t say its vague, I would say you started turning off modules you are required to have most of the time... Most of the commands for the dialplan are in mod_dptools... Mod_commands is also another module you need to load... The system cant tell you what modules you need to load for commands to work properly because the core doesn¹t know what module does what until it actually loads that module On 7/29/13 6:14 PM, "Ei Dev" <eidevm5@gmail.com> wrote:
Thanks Ken, that did the trick. The error message was definitely quite vague.
On Tue, Jul 30, 2013 at 1:19 AM, Ken Rice <krice@freeswitch.org> wrote:
Sounds like you didn¹t load mod_dptools...
On 7/28/13 10:51 PM, "Ei Dev" <eidevm5@gmail.com <http://eidevm5@gmail.com> > wrote:
I'm hoping to get some pointers on debugging why I'm getting a "Invalid Application set" error message.
I have read the FAQ which says that the most common reason is the correct module hasn't been loaded.
However, in this case, there is no module called "set", so what could some of the other causes be?
Here's the debug output if it helps:
2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) State Change CS_ROUTING -> CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) State ROUTING going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) Running State Change CS_EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) State EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:243 sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> SOFIA EXECUTE 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:209 sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> Standard EXECUTE 2013-07-29 13:41:17.208965 [ERR] switch_core_session.c:2547 Invalid Application set 2013-07-29 13:41:17.208965 [NOTICE] switch_core_session.c:2548 Hangup sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER] 2013-07-29 13:41:17.208965 [DEBUG] switch_channel.c:3096 Send signal sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> [KILL] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_session.c:1333 Send signal sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> [BREAK] 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) State EXECUTE going to sleep 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) Running State Change CS_HANGUP 2013-07-29 13:41:17.208965 [DEBUG] switch_core_state_machine.c:676 (sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> ) State HANGUP 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:504 Channel sofia/internal/1009@10.1.1.19 <http://sofia/internal/1009@10.1.1.19> hanging up, cause: DESTINATION_OUT_OF_ORDER 2013-07-29 13:41:17.208965 [DEBUG] mod_sofia.c:638 Responding to INVITE with: 502
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <http://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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
On Mon, Jul 29, 2013 at 4:26 PM, Ken Rice <krice@freeswitch.org> wrote:
I wouldn’t say its vague, I would say you started turning off modules you are required to have most of the time... Most of the commands for the dialplan are in mod_dptools... Mod_commands is also another module you need to load...
The system cant tell you what modules you need to load for commands to work properly because the core doesn’t know what module does what until it actually loads that module
Another way of saying this is that mod_dptools adds most (but not all) of the dialplan applications that you would typically use. However, other modules also load dialplan applications. When FreeSWITCH says "invalid application" that means "none of the loaded modules have a dialplan application by this name." It's too wordy to put all that in the logs. The same goes for commands that you type at the console/fs_cli. The module mod_commands exposes most, but not all, of the API commands you would use. Again, if you see "invalid command" then it's just like "invalid application" and you need to figure out which module to load. A few modules that load dialplan apps and/or API commands: mod_spandsp mod_voicemail mod_conference mod_valet_parking Hope this helps... -MC -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (3)
-
Ei Dev
-
Ken Rice
-
Michael Collins