ARI Channel-Exec Suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

 

I was wondering, what thought has been given to Exec style commands in ARI. Say for example I want to call another app within Asterisk, let’s say MRCPSynth for TTS.

 

Looking at the channel spec, there’s currently no way to execute a dial plan application on a channel. I say ‘Exec’ simply because I come from an AGI background.

 

Would something like this be a way forwards?:

 

POST /channels/{channelid}/exec?app=MRCPSynth

BODY: <?xml version=\"1.0\"?><speak version=\"1.0\" xml:lang=\"en-AU\" xmlns=\"http://www.w3.org/2001/10/synthesis\"><voice name='Karin' gender='female'>Hello world!</voice></speak>,p=default&i=any&f=/tmp/synth.raw

 

Where the application is passed in the query, and the arguments as the body of the HttpPost.

 

Just throwing this out there to see if others have given this consideration yet.

 

Cheers,

 

Ben (Skrusty)

 

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux