[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.

 

 





  <https://mailtrack.io/trace/mail/2c80a1fffd25e650733e5b7514cbc5660c70c8e6326470.png> 

 

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)

 

 

 

  <data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7> 

 

-- 

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

  <http://billing.freeswitch.org/templates/default/img/whmcslogo.png> 

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

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> 
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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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