[Freeswitch-users] occasional ~5s delay during bind_meta_app execute_extenstion

elijah elijah at crankenstein.com
Wed Apr 13 04:57:26 MSD 2011


I'm afraid that cannot be the cause. I'm experiencing the delay before the
read is executed, immediately after a user presses *1 but before the
extension named 'dx' executes anything.


On Tue, Apr 12, 2011 at 5:44 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> your digit timeout in your read happens to be 5 seconds so maybe you
> are not dialing the #
>
> On Tue, Apr 12, 2011 at 7:33 PM, elijah <elijah at crankenstein.com> wrote:
> > I have setup a feature where users who have dialed outbound have the
> option
> > to transfer the b-leg to a separate outbound number, like so:
> >     <extension name="outbound_9">
> >       <condition field="destination_number" expression="^9(\d{10})$">
> >         <action application="set" data="ringback=${us-ring}"/>
> >         <action application="set"
> data="transfer_ringback=$${hold_music}"/>
> >         <action application="set" data="continue_on_fail=true"/>
> >         <action application="set" data="bind_meta_key=*"/>
> >         <action application="bind_meta_app" data="1 a s
> > execute_extension::dx XML mycontext"/>
> >         <action application="transfer" data="to_outbound XML mycontext"/>
> >       </condition>
> >     </extension>
> >     <extension name="dx">
> >       <condition field="destination_number" expression="^dx$">
> >         <action application="log" data="INFO transferring the b-leg..."/>
> >         <action application="answer"/>
> >         <action application="sleep" data="1000"/>
> >         <action application="playback"
> >
> data="/usr/local/freeswitch/sounds/en/us/callie/misc/8000/transfer2.wav"/>
> >         <action application="read" data="11 11
> > 'tone_stream://%(10000,0,350,440)' digits 5000 #"/>
> >         <action application="execute_extension" data="is_transfer XML
> > mycontext"/>
> >       </condition>
> >     </extension>
> > A delay sometimes occurs after users have pressed *1 and before the
> message
> > "transferring the b-leg..." appears in the console. This delay happens
> ~1/3
> > of the time and lasts for ~5s. Do you know how I should execute this
> > functionality in a way that will not cause such a delay?
> > thanks,
> > elijah
> >
> > _______________________________________________
> > 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
> >
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> 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/20110412/e0d3cc8f/attachment.html 


More information about the FreeSWITCH-users mailing list