[Freeswitch-users] tone_stream problem for fifo

Antonio asilva at wirelessmundi.com
Wed Sep 15 05:20:40 PDT 2010


Just found an work around:

originate user/102 at default.com '&fifo(ac5b5938-c63d-40ce-9626-10debd592ca9 out wait undef tone_stream://path='tmp/tone')'

inside the /tmp/tone i got %(2000,4000,440,0).

the main problem is in the originate command, it fetch the ")" from the tone_stream and doesn't fetch the last one, so the parameters passed to tone_stream are incorrect.

I nice feature, you should find a way of escape the ( ) for other applications for the application in the originate.

the subject for this mail is incorrect, should be, "originate problem escape applications variables"




On Wed, 2010-09-15 at 13:07 +0200, Antonio wrote:
> Hi to all,
> 
> I'm trying to set a ringtone as music wait for an agent that will wait
> in fifo for a caller.
> 
> So my originate command is:
> 
> originate user/102 at default.com '&fifo(ac5b5938-c63d-40ce-9626-10debd592ca9 out wait undef \'tone_stream://%(2000,4000,440,0)\')'
> 
> the tone_stream is done as expected but i have dtmf after playing the
> ring tone.
> 
> Is it normal?  or does anyone know another way of do it what i'm trying
> to accomplish
> 
> 
> Thanks,
> António
> 
> 
> 
> _______________________________________________
> 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
-- 

Un cordial saludo / Best regards, 

 _________________________

António Silva

E-mail:asilva at wirelessmundi.com




More information about the FreeSWITCH-users mailing list