I have a .call file that includes:
Application: Playback
Data: Test
I want my .call file to play the .gsm file called Test from above (which it does). But then, I want it to play another .gsm file after that, such as Test2
I have tried this in my .call:
Application: Playback
Data: Test
Applications: Playback
Data: Test2
I’ve also tried various ways, by using extensions.conf to get things to work. So, when I place a .call file in /var/spool/asterisk/outoing with these contents, I get the call but nothing happens:
Channel: sip/voipvoip/$phone
Maxretries: 5
CallerID: 5557029890
Context: test
Extension: s
Priority: 1
Retrytime: 300
Waittime: 40
");
My extensions.conf file:
[test]
include => stdexten
; We start with what to do when a call first comes in.
exten => s,1,Wait(1) ; Wait a second, just for fun
exten => s,n,Answer ; Answer the line
exten => s,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => s,n,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds
exten => s,n,Wait(2)
exten => s,n,Playback(/usr/share/asterisk/sounds/en/confirm)
exten => s,#,Hangup