[Freeswitch-users] Async Call

Ken Rice krice at freeswitch.org
Fri Jan 29 17:53:21 MSK 2016

Originate the call with api or bgapi originate, then use the xml or json CDR modules to post the results to the webservice


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shan Randhawa
Sent: Friday, January 29, 2016 8:38 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Async Call


My goal is to make an asynchronous call and then return the hangup cause or the uuid of the session to php script on xampp server.





On Fri, Jan 29, 2016 at 7:28 PM, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org> > wrote:

What is you goal?

On Friday, January 29, 2016, Shan Randhawa <randhawaay at gmail.com <mailto:randhawaay at gmail.com> > wrote:

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)







Brian West
brian at freeswitch.org <mailto:brian at freeswitch.org> 


Twitter: @FreeSWITCH , @briankwest

Got Bugs? Report them here <https://freeswitch.org/jira> ! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> 

T:+19184209001 <tel:%2B19184209001>  | F:+19184209002 <tel:%2B19184209002>  | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/0b3e4157/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list