bgapi('originate',"{strategy=108,step=1,origination_caller_id_number=ETERNANUMBER,fail_on_single_reject=true,ignore_early_media=true,originate_timeout=90,parked_call_uuid=%s,position=%s}sofia/external/%<a href="mailto:s@213.141.11.107">s@213.141.11.107</a> 4998 XML default" % (self.channel_uuid,position,'PHONE NUMBER'))<br>
<br>4998 translates into this<br><br> <condition field="destination_number" expression="^4998$" break="on-true"><br> <action application="set" data="strategy=108"/><br>
<action application="socket" data="<a href="http://192.168.0.12:8040">192.168.0.12:8040</a> sync full"/><br> <action application="hangup" /><br> </condition><br>
<br><br>Using BGAPI ou just API will end up in the same problem .<br><br><div class="gmail_quote">2011/5/16 Peter Olsson <span dir="ltr"><<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="SV"><div><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);" lang="EN-US">What does the originate string look like?</span></p><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);" lang="EN-US">/Peter</span></p><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">Från:</span></b><span style="font-size: 10pt;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>För </b>Antonio Teixeira<br>
<b>Skickat:</b> den 16 maj 2011 16:17<br><b>Till:</b> FreeSWITCH Users Help<br><b>Ämne:</b> Re: [Freeswitch-users] ESL Bridge</span></p></div><div><div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom: 12pt;">
Hello Anton.<br><br>The problem is the following :<br><br>I receive an Inbound Call Leg A.<br>I say something using TTS and place it on Park , grab the channel uuid.<br><br>Fork another call pass the uuid as argument.<br>
<br>As soon as Leg B picks up , TTS fires UP asks the user a digit and after we have got the digit .<br><br>I send uuid_bridge mycurrentchanel + argument uuid from channel A<br><br>And i got +OK great :D<br><br>The problem , Park is now broken and the call is terminated with last dialplan extension executed or simply the call is terminated HANGUP.<br>
<br>If i do some time.sleep(40) the calls don't end but they aren't merge i can't see no RTP flowing trough.<br><br>Hope you guys can help me out.<br><br>Regards<br>A/T<br><br><br></p><div><p class="MsoNormal">
2011/5/16 Anton VG <<a href="mailto:anton.vazir@gmail.com" target="_blank">anton.vazir@gmail.com</a>></p><p class="MsoNormal">I do it with originate &park - all works, i bridge them by uuid_bridge<br>successfully<br>
<br>2011/5/16 Antonio Teixeira <<a href="mailto:eagle.antonio@gmail.com" target="_blank">eagle.antonio@gmail.com</a>>:</p><div><div><p class="MsoNormal">> Good Morning.<br>><br>> Here i continue my fight against ESL :)<br>
> On Leg A I'm forking a call that will become Leg B after a short IVR.<br>><br>> Anyway<br>> Leg A is valet_parked with MOH while i Dial Leg B , Leg B Answers , Presses<br>> 1 and is merged by uuid_bridge<br>
> Then...<br>> Both calls are disconnected with Executed Last Dialplan Command .<br>><br>> I have tried everything from freezing the IVR with sleep(in python and using<br>> the freeswitch sleep).<br>><br>
> But i'm unable to merge both calls.<br>><br>> As anyone tried something similar.<br>><br>> Regards<br>> A/T<br>><br>><br>></p></div></div><p class="MsoNormal">> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p>
</div></div></div><p class="MsoNormal"><br>!DSPAM:4dd1331a32761499047613! </p></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>