[Freeswitch-users] Non Blocking Teletone (Background Audio)

Michael Jerris mike at jerris.com
Sun Jun 22 20:20:50 PDT 2008


You can likely do this with a combination of broadcast (see  
uuid_broadcast api command) and mod_tone_stream which lets you use  
teletone just like you are playing a file.

Mike

On Jun 22, 2008, at 10:49 PM, Klaus Teller wrote:

> Hi Folks,
>
> I was was wondering if it's possible to play a teletone in a non- 
> blocking way.
>
> What I want to achieve is following:
>
> 1) Party A calls to my FS box,
> 2) A Javascript script picks up the call
> 3) The script generates a teletone to party A.
> 4) Then the script starts some processing while A is on hold  
> listening for the teletone (or any other audio?)
> 5) The script dials some other party B
> 6) Party B picks up
> 7) Script stops the teletone being played to A
> 8) Script bridges A and B.
>
> As far as I could experiment with teletone.generate, the execution  
> of the script is paused when the teletone is played to the near end  
> (Party A).
>
> I would love if you could help me with this.
>
> Thanks,
> Klaus L'Imbecile.
>
>
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> _______________________________________________
> 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





More information about the FreeSWITCH-users mailing list