How can i set a dialstring in lua and use it in the XML dialplan?
Sorry, I figured out how to. Thanks On Mon, Nov 8, 2010 at 8:58 AM, Nyamul Hassan <nyamul@gmail.com> wrote:
The wiki article on Lua should have example on this. Did you check there?
Regards HASSAN
On 2010-11-08, Bill Kunyiha <bill@freeway.com> wrote:
How can i set a dialstring in lua and use it in the XML dialplan?
-- Sent from my mobile device
_______________________________________________ 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
Use setVariable: http://wiki.freeswitch.org/wiki/Mod_lua#session:setVariable You can then bridge to the contents that variable in the XML dialplan: <action application="bridge" data="${dialstring_from_lua}" /> -Steve On 8 November 2010 12:19, Bill Kunyiha <bill@freeway.com> wrote:
How can i set a dialstring in lua and use it in the XML dialplan?
_______________________________________________ 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 (3)
-
Bill Kunyiha
-
Nyamul Hassan
-
Steven Ayre