Re: [Freeswitch-users] IvrMenu - setting channel variables before calling exec-app/transfer
@covici: thanks, I was hoping in a more elegant solution since every transfer will produce a request to http server for dialplan. @Michael: not before the ivr since the vars I need to set depend on the menu selected (eg: call will be forwarded when he presses key so the caller becomes the previous called). DanB
<entry digits="2" action="menu-exec-app" param="set myvar=value" /> <entry digits="2" action="menu-exec-app" param="transfer 1001 XML default" /> Not tested with set app, but I'm using this already to generate events when an option is selected Em 08/05/2015 12:46, "DanB" <danb.lists@gmail.com> escreveu:
@covici: thanks, I was hoping in a more elegant solution since every transfer will produce a request to http server for dialplan.
@Michael: not before the ivr since the vars I need to set depend on the menu selected (eg: call will be forwarded when he presses key so the caller becomes the previous called).
DanB
_________________________________________________________________________ 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
What Ítalo says should work. On Fri, May 8, 2015 at 11:18 AM, Ítalo Rossi <italorossib@gmail.com> wrote:
<entry digits="2" action="menu-exec-app" param="set myvar=value" /> <entry digits="2" action="menu-exec-app" param="transfer 1001 XML default" />
Not tested with set app, but I'm using this already to generate events when an option is selected Em 08/05/2015 12:46, "DanB" <danb.lists@gmail.com> escreveu:
@covici: thanks, I was hoping in a more elegant solution since every transfer will produce a request to http server for dialplan.
@Michael: not before the ivr since the vars I need to set depend on the menu selected (eg: call will be forwarded when he presses key so the caller becomes the previous called).
DanB
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (3)
-
Brian West
-
DanB
-
Ítalo Rossi