I am trying to understand .call files. The logs seems to indicate issues with the audio file that I am trying to have played when the call is connected. Any thoughts? Some sample files and logs to console are shown. zipppppp-code.call Channel: SIP/callwithus/12023519259 Application: Playback Data: zipppppp-code.gsm [root at localhost tmp]# touch zipppppp-code.call [root at localhost tmp]# vi zipppppp-code.call [root at localhost tmp]# mv zipppppp-code.call /var/spool/asterisk/outgoing/ -- Attempting call on SIP/callwithus/12023519259 for application Playback(zipppppp-code.gsm) (Retry 1) == Using SIP RTP CoS mark 5 [Feb 7 18:44:07] WARNING[20197]: file.c:635 ast_openstream_full: File zipppppp-code.gsm does not exist in any format [Feb 7 18:44:07] WARNING[20197]: file.c:936 ast_streamfile: Unable to open zipppppp-code.gsm (format 0x2 (gsm)): No such file or directory [Feb 7 18:44:07] WARNING[20197]: app_playback.c:447 playback_exec: ast_streamfile failed on SIP/callwithus-03d98080 for zipppppp-code.gsm [Feb 7 18:44:07] NOTICE[20197]: pbx_spool.c:357 attempt_thread: Call completed to SIP/callwithus/12023519259 -- Attempting call on SIP/callwithus/12023519259 for application Playback(yvrspecialemail) (Retry 1) == Using SIP RTP CoS mark 5 [Feb 7 18:54:58] WARNING[20228]: file.c:635 ast_openstream_full: File yvrspecialemail does not exist in any format [Feb 7 18:54:58] WARNING[20228]: file.c:936 ast_streamfile: Unable to open yvrspecialemail (format 0x2 (gsm)): No such file or directory [Feb 7 18:54:58] WARNING[20228]: app_playback.c:447 playback_exec: ast_streamfile failed on SIP/callwithus-03d98080 for yvrspecialemail [Feb 7 18:54:58] NOTICE[20228]: pbx_spool.c:357 attempt_thread: Call completed to SIP/callwithus/12023519259
Your sound file needs to be in the asterisk sounds directory. Another thing is that you may not have to put the file extension in the name if the file is in the proper place as well. Try that and see what happens. Tom -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Thomas Perron Sent: Sunday, February 07, 2010 7:19 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] syntax I am trying to understand .call files. The logs seems to indicate issues with the audio file that I am trying to have played when the call is connected. Any thoughts? Some sample files and logs to console are shown. zipppppp-code.call Channel: SIP/callwithus/12023519259 Application: Playback Data: zipppppp-code.gsm [root at localhost tmp]# touch zipppppp-code.call [root at localhost tmp]# vi zipppppp-code.call [root at localhost tmp]# mv zipppppp-code.call /var/spool/asterisk/outgoing/ -- Attempting call on SIP/callwithus/12023519259 for application Playback(zipppppp-code.gsm) (Retry 1) == Using SIP RTP CoS mark 5 [Feb 7 18:44:07] WARNING[20197]: file.c:635 ast_openstream_full: File zipppppp-code.gsm does not exist in any format [Feb 7 18:44:07] WARNING[20197]: file.c:936 ast_streamfile: Unable to open zipppppp-code.gsm (format 0x2 (gsm)): No such file or directory [Feb 7 18:44:07] WARNING[20197]: app_playback.c:447 playback_exec: ast_streamfile failed on SIP/callwithus-03d98080 for zipppppp-code.gsm [Feb 7 18:44:07] NOTICE[20197]: pbx_spool.c:357 attempt_thread: Call completed to SIP/callwithus/12023519259 -- Attempting call on SIP/callwithus/12023519259 for application Playback(yvrspecialemail) (Retry 1) == Using SIP RTP CoS mark 5 [Feb 7 18:54:58] WARNING[20228]: file.c:635 ast_openstream_full: File yvrspecialemail does not exist in any format [Feb 7 18:54:58] WARNING[20228]: file.c:936 ast_streamfile: Unable to open yvrspecialemail (format 0x2 (gsm)): No such file or directory [Feb 7 18:54:58] WARNING[20228]: app_playback.c:447 playback_exec: ast_streamfile failed on SIP/callwithus-03d98080 for yvrspecialemail [Feb 7 18:54:58] NOTICE[20228]: pbx_spool.c:357 attempt_thread: Call completed to SIP/callwithus/12023519259 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hi Tommy Thank you works like magic. thank you. I love this list. when you get stumped you can always (almost!) count on some great input! regards, tom On Sun, Feb 7, 2010 at 7:32 PM, Tom Moore <tommym2006 at gmail.com> wrote:> Your sound file needs to be in the asterisk sounds directory. > Another thing is that you may not have to put the file extension in the name > if the file is in the proper place as well. > Try that and see what happens. > > Tom > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Thomas Perron > Sent: Sunday, February 07, 2010 7:19 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] syntax > > I am trying to understand .call files. > > The logs seems to indicate issues with the audio file that I am trying > to have played when the call is connected. > Any thoughts? ?Some sample files and logs to console are shown. > > zipppppp-code.call > Channel: ?SIP/callwithus/12023519259 > Application: Playback > Data: zipppppp-code.gsm > > > > [root at localhost tmp]# touch zipppppp-code.call > [root at localhost tmp]# vi zipppppp-code.call > [root at localhost tmp]# mv zipppppp-code.call /var/spool/asterisk/outgoing/ > > > ? ?-- Attempting call on SIP/callwithus/12023519259 for application > Playback(zipppppp-code.gsm) (Retry 1) > ?== Using SIP RTP CoS mark 5 > [Feb ?7 18:44:07] WARNING[20197]: file.c:635 ast_openstream_full: File > zipppppp-code.gsm does not exist in any format > [Feb ?7 18:44:07] WARNING[20197]: file.c:936 ast_streamfile: Unable to > open zipppppp-code.gsm (format 0x2 (gsm)): No such file or directory > [Feb ?7 18:44:07] WARNING[20197]: app_playback.c:447 playback_exec: > ast_streamfile failed on SIP/callwithus-03d98080 for zipppppp-code.gsm > [Feb ?7 18:44:07] NOTICE[20197]: pbx_spool.c:357 attempt_thread: Call > completed to SIP/callwithus/12023519259 > > > ? ?-- Attempting call on SIP/callwithus/12023519259 for application > Playback(yvrspecialemail) (Retry 1) > ?== Using SIP RTP CoS mark 5 > [Feb ?7 18:54:58] WARNING[20228]: file.c:635 ast_openstream_full: File > yvrspecialemail does not exist in any format > [Feb ?7 18:54:58] WARNING[20228]: file.c:936 ast_streamfile: Unable to > open yvrspecialemail (format 0x2 (gsm)): No such file or directory > [Feb ?7 18:54:58] WARNING[20228]: app_playback.c:447 playback_exec: > ast_streamfile failed on SIP/callwithus-03d98080 for yvrspecialemail > [Feb ?7 18:54:58] NOTICE[20228]: pbx_spool.c:357 attempt_thread: Call > completed to SIP/callwithus/12023519259 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >