Invalid Application play tone_stream

Status
Not open for further replies.

Techd00d

New Member
Mar 1, 2017
9
0
1
40
In a dialplan I have the following. It was generated by creating a destination and pointing to busy-us-tone.
action play tone_stream //%(500,500,480,620)

When this dialplan matches I receive the following on fs_cli debug
2017-03-16 13:05:52.903138 [ERR] switch_core_session.c:2621 Invalid Application play tone_stream

I tried a number of other tone streams etc with no change. Any ideas?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,045
566
113
Actually: <action function="play-file" data="tone_stream://%(275,10,600);%(275,100,300)"/>

Note the colon:
 

Techd00d

New Member
Mar 1, 2017
9
0
1
40
Thank you! I assume that is a fusion bug since the destinations gui is what generated the other code.

This is what worked fine. I will mess with the tone a bit to suit needs but worked great. Thanks!

action playback tone_stream://%(275,10,600);%(275,100,300)
 
Status
Not open for further replies.