[Freeswitch-users] Async Call

Shan Randhawa randhawaay at gmail.com
Fri Jan 29 18:12:41 MSK 2016


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 at 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 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> wrote:
>
> What is you goal?
>
>
>
> On Friday, January 29, 2016, Shan Randhawa <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
>
> *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 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
> 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 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
> 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/9b45deb2/attachment-0001.html 


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