Problem with separating inline dialplan apps
Hi Guys, I use this command originate loopback/answer,park/context_1/inline &transfer(2001) over a inbound event socket. Problem is that server takes just loopback/answer part for new channel: [NOTICE] switch_channel.c:1030 New Channel loopback/answer-a [0eb8f17c-ff50-11e2-97ec-d950156f6aef] and then try park for new channel! [ERR] switch_core_session.c:496 Could not locate channel type park When I submit same command over CLI (just added a \ before comma) it works fine. appreciate all, afshin
You need to escape the comma - see example 4 on http://wiki.freeswitch.org/wiki/Loopback_endpoint As it stands now you are doing a forked dial via both the 'loopback' endpoint and the 'park' endpoint - except there is no such endpoint. -Steve On 7 August 2013 12:21, afshin afzali <a.afzali2003@gmail.com> wrote:
Hi Guys,
I use this command originate loopback/answer,park/context_1/inline &transfer(2001) over a inbound event socket. Problem is that server takes just loopback/answer part for new channel: [NOTICE] switch_channel.c:1030 New Channel loopback/answer-a [0eb8f17c-ff50-11e2-97ec-d950156f6aef] and then try park for new channel! [ERR] switch_core_session.c:496 Could not locate channel type park When I submit same command over CLI (just added a \ before comma) it works fine.
appreciate all, afshin
_________________________________________________________________________ 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
Hi Steven, I've escaped it already but by just single ' \ ' (ha ha) as when I use in CLI. It should be escaped with double '\\' to works. Thank you so much, Afshin On Wed, Aug 7, 2013 at 6:12 PM, Steven Ayre <steveayre@gmail.com> wrote:
You need to escape the comma - see example 4 on http://wiki.freeswitch.org/wiki/Loopback_endpoint
As it stands now you are doing a forked dial via both the 'loopback' endpoint and the 'park' endpoint - except there is no such endpoint.
-Steve
On 7 August 2013 12:21, afshin afzali <a.afzali2003@gmail.com> wrote:
Hi Guys,
I use this command originate loopback/answer,park/context_1/inline &transfer(2001) over a inbound event socket. Problem is that server takes just loopback/answer part for new channel: [NOTICE] switch_channel.c:1030 New Channel loopback/answer-a [0eb8f17c-ff50-11e2-97ec-d950156f6aef] and then try park for new channel! [ERR] switch_core_session.c:496 Could not locate channel type park When I submit same command over CLI (just added a \ before comma) it works fine.
appreciate all, afshin
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (2)
-
afshin afzali
-
Steven Ayre