After switching to Asterisk 1.2.14 from 1.0.x, I encountered a very strange problem. There is no sound with Playback() or Background() commands. Even though, Asterisk console shows the file is being played when I call the extension (i.e. echo test), I can't hear anything. My echo test extension looks like this: exten => 600,1,Answer exten => 600,2,Playback(demo-echotest) exten => 600,3,Echo exten => 600,4,Playback(demo-echodone) exten => 600,5,Hangup Console shows something like that when I call: -- Executing Answer("SIP/206-081a7160", "") in new stack -- Executing Playback("SIP/206-081a7160", "demo-echotest") in new stack -- Playing 'demo-echotest' (language 'en') So it looks like Asterisk is playing the file, but I can't hear anything. The files demo-echotest.gsm and demo-echodone.gsm are present in /var/lib/asterisk/sounds, so this is not the matter of missing files. The same problem occurs with every file I try to play with Playback() or Background() commands. Any ideas ? Thanks Jake -- ------- Domeny w ULTRA NISKICH cenach: ------- .pl - 29 zl, .com.pl - 22,50 zl, reg - 7,50 zl http://www.domeny.alpha.pl ----------------------------------------------
Joanna Liza Mariazeta
2007-Feb-28 06:29 UTC
[asterisk-users] No sound with Playback() or Background()
Hi Jake, Perhaps you can add NoOp(${PLAYBACKSTATUS}) after each Playback, it should return either "FAILED" or "SUCCESS" in the CLI Hope that helps. Best Regards, Joanna On 2/28/07, Kuba <notme@konto.pl> wrote:> > After switching to Asterisk 1.2.14 from 1.0.x, I encountered a very > strange problem. There is no sound with Playback() or Background() > commands. > > Even though, Asterisk console shows the file is being played when I call > the extension ( i.e. echo test), I can't hear anything. > > > My echo test extension looks like this: > > exten => 600,1,Answer > > exten => 600,2,Playback(demo-echotest) > > exten => 600,3,Echo > > exten => 600,4,Playback(demo-echodone) > > > exten => 600,5,Hangup > > Console shows something like that when I call: > > -- Executing Answer("SIP/206-081a7160", "") in new stack > -- Executing Playback("SIP/206-081a7160", "demo-echotest") in new stack > -- Playing 'demo-echotest' (language 'en') > > So it looks like Asterisk is playing the file, but I can't hear anything. > > The files demo-echotest.gsm and demo-echodone.gsm are present in > /var/lib/asterisk/sounds, so this is not the matter of missing files. > > The same problem occurs with every file I try to play with Playback() or > Background() commands. > > > Any ideas ? > > Thanks > Jake > > > > > > -- > ------- Domeny w ULTRA NISKICH cenach: ------- > .pl - 29 zl, .com.pl - 22,50 zl, reg - 7,50 zl > http://www.domeny.alpha.pl > ---------------------------------------------- > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070228/86ed0962/attachment.htm
john beaman
2007-Feb-28 06:49 UTC
[asterisk-users] No sound with Playback() or Background()
Jake, Check to make sure you have the sound files for whatever audio format (gsm.wav, etc) that you are using. I don't remember the details, but Asterisk quit including the sound files in the base distribution to minimize the size of the download. Then, in a later version, they have a script that will prompt you for some info, then will download and install the sound files that you want to use. John Beaman Telecom Specialist Voice Telecommunications Services Department. Good Samaritan National Campus 605-362-3331>>> joannaliza@gmail.com 2/28/2007 7:30:03 AM >>>Hi Jake, Perhaps you can add NoOp(${PLAYBACKSTATUS}) after each Playback, it should return either "FAILED" or "SUCCESS" in the CLI Hope that helps. Best Regards, Joanna On 2/28/07, Kuba <notme@konto.pl> wrote:> > After switching to Asterisk 1.2.14 from 1.0.x, I encountered a very > strange problem. There is no sound with Playback() or Background() > commands. > > Even though, Asterisk console shows the file is being played when I call > the extension ( i.e. echo test), I can't hear anything. > > > My echo test extension looks like this: > > exten => 600,1,Answer > > exten => 600,2,Playback(demo-echotest) > > exten => 600,3,Echo > > exten => 600,4,Playback(demo-echodone) > > > exten => 600,5,Hangup > > Console shows something like that when I call: > > -- Executing Answer("SIP/206-081a7160", "") in new stack > -- Executing Playback("SIP/206-081a7160", "demo-echotest") in new stack > -- Playing 'demo-echotest' (language 'en') > > So it looks like Asterisk is playing the file, but I can't hear anything. > > The files demo-echotest.gsm and demo-echodone.gsm are present in > /var/lib/asterisk/sounds, so this is not the matter of missing files. > > The same problem occurs with every file I try to play with Playback() or > Background() commands. > > > Any ideas ? > > Thanks > Jake > > > > > > -- > ------- Domeny w ULTRA NISKICH cenach: ------- > .pl - 29 zl, .com.pl - 22,50 zl, reg - 7,50 zl > http://www.domeny.alpha.pl > ---------------------------------------------- > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- ------------------------------------------------- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distributing or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. The Evangelical Lutheran Good Samaritan Society. ---------------------------------------------------------