[Freeswitch-users] ESL Bridge

Antonio Teixeira eagle.antonio at gmail.com
Mon May 16 19:19:24 MSD 2011


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/%
s at 213.141.11.107 4998 XML default" % (self.channel_uuid,position,'PHONE
NUMBER'))

4998 translates into this

    <condition field="destination_number" expression="^4998$"
break="on-true">
      <action application="set" data="strategy=108"/>
      <action application="socket" data="192.168.0.12:8040 sync full"/>
      <action application="hangup" />
    </condition>


Using BGAPI ou just API will end up in the same problem .

2011/5/16 Peter Olsson <peter.olsson at visionutveckling.se>

> What does the originate string look like?
>
>
>
> /Peter
>
>
>
> *Från:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *För *Antonio Teixeira
> *Skickat:* den 16 maj 2011 16:17
> *Till:* FreeSWITCH Users Help
> *Ämne:* Re: [Freeswitch-users] ESL Bridge
>
>
>
> Hello Anton.
>
> The problem is the following  :
>
> I receive an Inbound Call Leg A.
> I say something using TTS and place it on Park , grab the channel uuid.
>
> Fork another call pass the uuid as argument.
>
> As soon as Leg B picks up , TTS fires UP asks the user a digit and after we
> have got the digit .
>
> I send uuid_bridge mycurrentchanel + argument uuid from channel A
>
> And i got +OK great :D
>
> The problem , Park is now broken and the call is terminated with last
> dialplan extension executed or simply the call is terminated HANGUP.
>
> 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.
>
> Hope you guys can help me out.
>
> Regards
> A/T
>
>
> 2011/5/16 Anton VG <anton.vazir at gmail.com>
>
> I do it with originate &park - all works, i bridge them by uuid_bridge
> successfully
>
> 2011/5/16 Antonio Teixeira <eagle.antonio at gmail.com>:
>
> > Good Morning.
> >
> > Here i continue my fight against ESL :)
> > On Leg A I'm forking a call that will become Leg B after a short IVR.
> >
> > Anyway
> > Leg A is valet_parked with MOH while i Dial Leg B , Leg B Answers ,
> Presses
> > 1 and is merged by uuid_bridge
> > Then...
> > Both calls are disconnected with Executed Last Dialplan Command .
> >
> > I have tried everything from freezing the IVR with sleep(in python and
> using
> > the freeswitch sleep).
> >
> > But i'm unable to merge both calls.
> >
> > As anyone tried something similar.
> >
> > Regards
> > A/T
> >
> >
> >
>
> > _______________________________________________
> > 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
> >
> >
>
> _______________________________________________
> 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
>
>
> !DSPAM:4dd1331a32761499047613!
>
> _______________________________________________
> 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/20110516/f890b016/attachment-0001.html 


More information about the FreeSWITCH-users mailing list