Author Topic: Execute VoiceXML when call 123  (Read 9391 times)

roy

  • Newbie
  • *
  • Posts: 7
    • View Profile
Execute VoiceXML when call 123
« on: January 12, 2014, 11:04:38 PM »
Hi,
I am very big fan of YATE and used it for many solutions.
Now I want to integrate YATE with Voice XML and it seems that I it is not possible.
Reason to have the voice XML is to have the flexibility to change the prompts by end user.

Is there a way that I can do this?
What I have in my mind is to have some app that executes voiceXML file and all the output (voice and digits) come to the YATE.

Please guide me on this.

Best Regards,
Roy.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Execute VoiceXML when call 123
« Reply #1 on: January 13, 2014, 02:44:56 AM »
You can write an external script.

See exmaples of php channel scripts in yate dir:
share/scripts/overlapped.php
share/scripts/pbxassis.php
See the other scripts also.

I don't know how you want to generate audio.

Look at:
moh module (http://docs.yate.ro/wiki/Music_On_Hold_Module): it can play media from external pipe.
wavefile module (http://docs.yate.ro/wiki/Wavefile): it can play media files
tonegen (http://docs.yate.ro/wiki/Tonegen): it can play generated tones

Or, you can always write a c++ module to do your job.

cc08

  • Guest
Re: Execute VoiceXML when call 123
« Reply #2 on: January 16, 2014, 09:56:09 AM »
As I recall, exists mrcpspeech module.
How can use it for this purpose?
By the way, I have not found a configuration example for him.