[Freeswitch-users] return to shell only when call from originate is complete?
Bipin Patel
bipin at xbipin.com
Fri May 19 20:37:18 UTC 2017
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> <mailto:mike at jerris.com>
>> To: Bipin Patel <bipin at xbipin.com> <mailto: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
>>>> <mailto: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> <mailto:mike at jerris.com>
>>>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>>> <mailto: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
>>>>>> <mailto: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
>>>>>>
>>>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170520/36d713ad/attachment.html>
More information about the FreeSWITCH-users
mailing list