[Freeswitch-users] return to shell only when call from originate is complete?
Aqs Younas
aqsyounas at gmail.com
Fri May 19 21:25:36 UTC 2017
You originate a call and subscribe to events and based on those events you
originate another call.
On 20 May 2017 1:39 am, "Bipin Patel" <bipin at xbipin.com> wrote:
> Well I have a script that calls numbers over a fxo gateway and plays a
> ivr. The fxo gateway has one channel available at times out of 4, the
> originate keeps calling them non stop without even the first call finished,
> I want it to pause till one call is over and then move over to the next so
> the others don't fail due to no channels available.
>
> On May 19, 2017 8:41:30 PM Michael Jerris <mike at jerris.com> wrote:
>
>> Not specifically what you asked, thats not how it works. What exactly
>> are you trying to accomplish…
>>
>> On May 19, 2017, at 12:31 PM, Bipin Patel <bipin at xbipin.com> wrote:
>>
>> hi,
>>
>> any other way this can be done
>>
>>
>> Regards,
>> Bipin
>>
>>
>> ------------------------------
>> -------- Original Message --------
>> Subject: Re: [Freeswitch-users] return to shell only when call from
>> originate is complete?
>> From: Michael Jerris <mike at jerris.com> <mike at jerris.com>
>> To: Bipin Patel <bipin at xbipin.com> <bipin at xbipin.com>
>> Date: 5/19/2017, 7:48:22 PM
>>
>> No, thats not what originate does.
>>
>> On May 19, 2017, at 11:43 AM, Bipin Patel <bipin at xbipin.com> wrote:
>>
>> hi,
>>
>> does it happen right after answer?
>> is there any way to lock it so it returns only after failure or after
>> hangup? yes im using ignore_early_media
>>
>>
>> Regards,
>> Bipin
>>
>>
>> ------------------------------
>> -------- Original Message --------
>> Subject: Re: [Freeswitch-users] return to shell only when call from
>> originate is complete?
>> From: Michael Jerris <mike at jerris.com> <mike at jerris.com>
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> <freeswitch-users at lists.freeswitch.org>
>> Date: 5/19/2017, 7:34:35 PM
>>
>> originate returns when we get call progress, or in the case of
>> ignore_early_media, on answer or failure.
>>
>> On May 19, 2017, at 10:36 AM, Bipin Patel <bipin at xbipin.com> wrote:
>>
>> hi,
>>
>> i was wondering if its possible to to release handle from an originate
>> command only once the call is completed, i mean i send a originate command
>> from shell using fs_cli but only return back to prompt once the call is
>> completed rather than as soon as a bridge is created or a UUID generated
>>
>>
>>
>>
>>
>>
>>
> _________________________________________________________________________
> 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/20170520/f7a430df/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list