JurijsWith kind regards,Is there any possibility to achieve this with LUA script?But I can do anything with a call only when destination hang-up. For example Called number will be displayed only after destination ext will hang-up.I tried following code in LUA:I need to call from ext 1000 to ext 1001, after ext 1001 pick-up phone, I need to be able to listen for DTMF and based on DTMF I need to fire some commands in LUA.Hi,I have quite simple task:
api = freeswitch.API()
did = session:getVariable("destination_number")
domain = session:getVariable("domain_name")
session:execute("bridge", "user/".. did .. "@" .. domain)
freeswitch.consoleLog("INFO","Called Number " .. did .. "\n")
_________________________________________________________________________
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