I am having problems playing files with the playback command, also with the
Dial (A()) option this is the output from console:
[Feb 12 01:58:41] WARNING[1569]: file.c:650 ast_openstream_full: File
home/abejide/Desktop/a.wav does not exist in any format[Feb 12 01:58:41]
WARNING[1569]: file.c:956 ast_streamfile: Unable to open
home/abejide/Desktop/a.wav (format 0x2 (gsm)): No such file or directory[Feb 12
01:58:41] WARNING[1569]: app_playback.c:471 playback_exec: ast_streamfile
failed on SIP/1002-00000002 for home/abejide/Desktop/a.wav
This is the dialplan:
[general]
[default]exten => 1000,1,Dial(sip/1000,30,A(home/abejide/Music/moh1.wav))exten
=> 1001,1,Dial(sip/1001,30)exten => 1003,1,Answer()exten =>
1003,n,Playback(home/abejide/Desktop/a.wav)exten => 1003,n,Hangup()exten =>
1002,1,Dial(sip/1002)exten => 101,1,AGI(agi://127.0.0.1/adhearsion)exten =>
1,1,Dial(sip/1000,10)exten => 1,n,Playback(vm-nobodyavail)exten =>
1,n,Hangup()exten => 2,1,Answerexten => 2,n,Record(/tmp/a.gsm,3,30)exten =>
2,n,Wait(2)exten => 2,n,Playback(/tmp/a.gsm)exten => 2,n,Hangup()
Best Regards,
ABEJIDE, Ayodele A. (CCNA)
+2348039269311
"Before long, paying for a phone call will be as alien as paying for email"
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users