Respected all,


I need some help .

I m using this script to make an outbound call and return the status ,How can i make this asynchronous like using bgapi or using execute on answer and run new script

 but i will  still be needing want info about the session in that new script. 

this_sess = freeswitch.Session("{ignore_early_media=true,setAutoHangup=false,originate_timeout=20,origination_caller_id_number="..callerid.."}sofia/gateway/proxy-301/"..phno)