Thanks for the genrous reply. I will try both bgapi and execute_on_answer and see if it works or not.I will post whatever method or approach works. Regards, Shan Randhawa On Fri, Jan 29, 2016 at 7:53 PM, Ken Rice <krice@freeswitch.org> wrote:
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@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Shan Randhawa *Sent:* Friday, January 29, 2016 8:38 AM *To:* FreeSWITCH Users Help <freeswitch-users@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@freeswitch.org> wrote:
What is you goal?
On Friday, January 29, 2016, Shan Randhawa <randhawaay@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@freeswitch.org
*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 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ 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
_________________________________________________________________________ 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