Hi all, I just want to setup new voiceprompts for serveral queues in our asterisk pbx (Version 1.2.41.2.4) The Problem is, that I don't hear the start (or the first part) of the voiceprompt. It makes no differece if I use the "Playback" or "Background" Command. But it makes a difference if the prompt is played automatically during entering the queue ore if I playback the file "manually" by typing "3" for example: exten => s,7,Background(01_ni_asterisk-b) -> missing "start" part at beginning of prompt exten => 3,1,Playback(01_ni_asterisk-b) -> sound is ok (whole soundfile is played) Here is my "extensions_queues.conf" [menu-it] exten => s,1,Set(LANGUAGE()=de) exten => s,2,system(/bin/echo ${LANGUAGE} > /tmp/LANGUAGE) include => sipint exten => s,3,Answer exten => s,4,SetMusicOnHold(default) exten => s,5,Set(TIMEOUT(digit)=3) exten => s,6,Set(TIMEOUT(response)=16) exten => s,7,Background(01_ni_asterisk-b) exten => s,8,Background(queue-menu-announcement) exten => s,9,SetCallerID(IT Queue: 0${CALLERID}) exten => s,10,Queue(queue-it|t) exten => s,11,Playback(nbdy-avail-to-take-call) exten => s,12,Voicemail(u1700) ; exten => s,13,Set(LANGUAGE()=en) exten => #,1,Hangup exten => t,1,Hangup exten => o,1,Goto(menu-office,s,1) exten => i,1,Playback(invalid) exten => i,2,WaitExten exten => 3,1,Playback(01_ni_asterisk-b) exten => 4,1,Playback(02_ni_asterisk-b) Thanks for any help. morel
Okay, i will be one of the 100 answering this question. what about a wait (2) before the background()? That should manage your problem. Mein Name schrieb:> Hi all, > > I just want to setup new voiceprompts for serveral queues in our > asterisk pbx (Version 1.2.41.2.4) > > The Problem is, that I don't hear the start (or the first part) of the > voiceprompt. > It makes no differece if I use the "Playback" or "Background" Command. > > But it makes a difference if the prompt is played automatically during > entering the queue ore if I playback the file "manually" by typing "3" > for example: > > > exten => s,7,Background(01_ni_asterisk-b) -> missing "start" part at > beginning of prompt > exten => 3,1,Playback(01_ni_asterisk-b) -> sound is ok (whole > soundfile is played) > > Here is my "extensions_queues.conf" > > [menu-it] > exten => s,1,Set(LANGUAGE()=de) > exten => s,2,system(/bin/echo ${LANGUAGE} > /tmp/LANGUAGE) > include => sipint > exten => s,3,Answer > exten => s,4,SetMusicOnHold(default) > exten => s,5,Set(TIMEOUT(digit)=3) > exten => s,6,Set(TIMEOUT(response)=16) > exten => s,7,Background(01_ni_asterisk-b) > exten => s,8,Background(queue-menu-announcement) > exten => s,9,SetCallerID(IT Queue: 0${CALLERID}) > exten => s,10,Queue(queue-it|t) > exten => s,11,Playback(nbdy-avail-to-take-call) > exten => s,12,Voicemail(u1700) ; > exten => s,13,Set(LANGUAGE()=en) > exten => #,1,Hangup > exten => t,1,Hangup > exten => o,1,Goto(menu-office,s,1) > exten => i,1,Playback(invalid) > exten => i,2,WaitExten > exten => 3,1,Playback(01_ni_asterisk-b) > exten => 4,1,Playback(02_ni_asterisk-b) > > > > > Thanks for any help. > > morel > > > > > _______________________________________________ > --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 > >
rushowr@phreaker.net
2006-Jul-18 02:03 UTC
[asterisk-users] don't hear start/begin of voiceprompts
You need two commands before playing back audio over a line: Answer() Wait(2) On Tuesday 18 July 2006 4:15 am, Mein Name wrote:> Hi all, > > I just want to setup new voiceprompts for serveral queues in our > asterisk pbx (Version 1.2.41.2.4) > > The Problem is, that I don't hear the start (or the first part) of the > voiceprompt. > It makes no differece if I use the "Playback" or "Background" Command. > > But it makes a difference if the prompt is played automatically during > entering the queue ore if I playback the file "manually" by typing "3" > for example: > > > exten => s,7,Background(01_ni_asterisk-b) -> missing "start" part at > beginning of prompt > exten => 3,1,Playback(01_ni_asterisk-b) -> sound is ok (whole > soundfile is played) > > Here is my "extensions_queues.conf" > > [menu-it] > exten => s,1,Set(LANGUAGE()=de) > exten => s,2,system(/bin/echo ${LANGUAGE} > /tmp/LANGUAGE) > include => sipint > exten => s,3,Answer > exten => s,4,SetMusicOnHold(default) > exten => s,5,Set(TIMEOUT(digit)=3) > exten => s,6,Set(TIMEOUT(response)=16) > exten => s,7,Background(01_ni_asterisk-b) > exten => s,8,Background(queue-menu-announcement) > exten => s,9,SetCallerID(IT Queue: 0${CALLERID}) > exten => s,10,Queue(queue-it|t) > exten => s,11,Playback(nbdy-avail-to-take-call) > exten => s,12,Voicemail(u1700) ; > exten => s,13,Set(LANGUAGE()=en) > exten => #,1,Hangup > exten => t,1,Hangup > exten => o,1,Goto(menu-office,s,1) > exten => i,1,Playback(invalid) > exten => i,2,WaitExten > exten => 3,1,Playback(01_ni_asterisk-b) > exten => 4,1,Playback(02_ni_asterisk-b) > > > > > Thanks for any help. > > morel > > > > > _______________________________________________ > --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