[ previous ] [ next ] [ threads ]
 To :  "fz@z..." <fz@z...>
 From :  Monica Tepelus <monica@v...>
 Subject :  Re: [yate] call, wait for connect, play sound file, wait for DTMF,disconnect
 Date :  Wed, 20 Mar 2013 10:29:17 +0200
Hi Felix,

You can use yaypm library and work with dumbchannel but the 
documentation for this is not that good, or you can use php and build a 
channel script (ivr).

If you choose to work with php you can use libyate.php directly or 
libyateivr.php (that has an additional layer for building ivrs). If you 
intend to build a big ivr, use libyateivr.php. For learning to use yate, 
libyate.php is easier to understand at the beginning.

For a php  example that uses libyate.php, take a look at 
voicemail.php/leavemail.php/playprompt.php from share/scripts directory 
from yate's sources.
For example with libyateivr.php look at ivrsample.php from the same 
directory.

Regards,
Monica Tepelus

fz@z... wrote:
> Hello
> I want to implement the following function from an external module:
>
> call partyyxz
> wait until connected
> play sound file
> wait until the called party yxz sends a DTMF code
> disconnect
>
>
> Has anybodyrealizedsome thin like this and can help my with the 
> necessary Steps (command and parameters)?
>
>
> call.execute :: caller = dump /: callto = 101:
> call.route?
> ..
> ..
> ?
>
> Thanks for your help!
>
> regards Felix

Monica