<html>
<head>
</head>
<body>
<div style="color: black;">
<div style="color: black;">
<p style="margin: 0 0 1em 0; color: black;">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.</p>
</div>
<div style="color: black;">
<p
style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0;">On
May 19, 2017 8:41:30 PM Michael Jerris <mike@jerris.com> wrote:</p>
<blockquote type="cite" class="gmail_quote"
style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
Not specifically what you asked, thats not how it works.  What exactly
are you trying to accomplish…<div class=""><br class=""><div><blockquote
type="cite" class=""><div class="">On May 19, 2017, at 12:31 PM, Bipin
Patel <<a href="mailto:bipin@xbipin.com"
class="">bipin@xbipin.com</a>> wrote:</div><br
class="Apple-interchange-newline"><div class=""><font size="-1"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"
class=""><font face="Arial" class="">hi,<br class=""><br class="">any other
way this can be done<span class="Apple-converted-space"> </span><br
class=""><br class=""><br class=""></font></font><span
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"
class=""></span><div class="moz-signature"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Regards,<br
class="">Bipin<br class=""><br class=""><br class=""><hr
style="width: 1065px; height: 1px; background-color: rgb(204, 204, 204); border: 0px; background-position: initial initial; background-repeat: initial initial;"
class=""></div><div class="moz-cite-prefix"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">--------
Original Message --------<br class="">Subject: Re: [Freeswitch-users]
return to shell only when call from originate is complete?<br
class="">From: Michael Jerris<span
class="Apple-converted-space"> </span><a class="moz-txt-link-rfc2396E"
href="mailto:mike@jerris.com"
style="color: rgb(42, 86, 133);"><mike@jerris.com></a><br
class="">To: Bipin Patel<span class="Apple-converted-space"> </span><a
class="moz-txt-link-rfc2396E" href="mailto:bipin@xbipin.com"
style="color: rgb(42, 86, 133);"><bipin@xbipin.com></a><br
class="">Date: 5/19/2017, 7:48:22 PM<br class=""></div><blockquote
type="cite" cite="mid:4E8BF635-E985-4056-B301-A1EEFF702B09@jerris.com"
style="font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"
class="">No, thats not what originate does.<div class=""><br class=""><div
class=""><blockquote type="cite" class=""><div class="">On May 19, 2017, at
11:43 AM, Bipin Patel <<a href="mailto:bipin@xbipin.com" class=""
moz-do-not-send="true"
style="color: rgb(42, 86, 133);">bipin@xbipin.com</a>> wrote:</div><br
class="Apple-interchange-newline"><div class=""><font class="" size="-1"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><font
class="" face="Arial">hi,<br class=""><br class="">does it happen right
after answer?<br class="">is there any way to lock it so it returns only
after failure or after hangup? yes im using ignore_early_media<br
class=""><br class=""><br class=""></font></font><span class=""
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;"></span><div
class="moz-signature"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Regards,<br
class="">Bipin<br class=""><br class=""><br class=""><hr class=""
style="width: 1045px; height: 1px; background-color: rgb(204, 204, 204); border: 0px; background-position: initial initial; background-repeat: initial initial;"></div><div
class="moz-cite-prefix"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">--------
Original Message --------<br class="">Subject: Re: [Freeswitch-users]
return to shell only when call from originate is complete?<br
class="">From: Michael Jerris<span
class="Apple-converted-space"> </span><a class="moz-txt-link-rfc2396E"
href="mailto:mike@jerris.com" moz-do-not-send="true"
style="color: rgb(42, 86, 133);"><mike@jerris.com></a><br
class="">To: FreeSWITCH Users Help<span
class="Apple-converted-space"> </span><a class="moz-txt-link-rfc2396E"
href="mailto:freeswitch-users@lists.freeswitch.org" moz-do-not-send="true"
style="color: rgb(42, 86, 133);"><freeswitch-users@lists.freeswitch.org></a><br
class="">Date: 5/19/2017, 7:34:35 PM<br class=""></div><blockquote
type="cite" cite="mid:C62F030C-A27D-44C5-B52F-C438059AEACF@jerris.com"
class=""
style="font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">originate
returns when we get call progress, or in the case of ignore_early_media, on
answer or failure.<div class=""><br class=""><div class=""><blockquote
type="cite" class=""><div class="">On May 19, 2017, at 10:36 AM, Bipin
Patel <<a href="mailto:bipin@xbipin.com" class="" moz-do-not-send="true"
style="color: rgb(42, 86, 133);">bipin@xbipin.com</a>> wrote:</div><br
class="Apple-interchange-newline"><div class=""><font class="" size="-1"
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><font
class="" face="Arial">hi,<br class=""><br class="">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<br class=""><br
class=""></font></font></div></blockquote></div><br
class=""></div></blockquote></div></blockquote></div><br
class=""></div></blockquote><br
style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 9.600000381469727px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"
class=""><br class="Apple-interchange-newline"></div></blockquote></div><br
class=""></div></blockquote>
</div>
</div>
</body>
</html>