Louis-David Mitterrand
2009-Jun-17 18:03 UTC
[asterisk-users] gap between Playback and Queue
Hi, I have a 2/3 second gap between the end of a welcome message played with Playback and the start of the Queue music. Here is the dialplan: exten => ${EXTEN},1,NoOp($EXTEN) exten => ${EXTEN},n,SIPAddHeader(Alert-Info: Ring_CCC) exten => ${EXTEN},n,Set(CALLERID(name)=${MYCID}) exten => ${EXTEN},n,Answer() exten => ${EXTEN},n,Wait,1 exten => ${EXTEN},n,Playback(/usr/local/share/asterisk/sounds/welcome) ;; ---- slight gap (silence) here ----- exten => ${EXTEN},n,Queue(ccc|t|||${QUEUEWAITTIME}) The welcome sound does end correctly after the last word. Any idea? Thanks,
If this is a recorded sound, you might want to truncate it with lame or audacity. It is quite common in my shop as we record using the phones. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Louis-David Mitterrand Sent: Wednesday, June 17, 2009 1:04 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] gap between Playback and Queue Hi, I have a 2/3 second gap between the end of a welcome message played with Playback and the start of the Queue music. Here is the dialplan: exten => ${EXTEN},1,NoOp($EXTEN) exten => ${EXTEN},n,SIPAddHeader(Alert-Info: Ring_CCC) exten => ${EXTEN},n,Set(CALLERID(name)=${MYCID}) exten => ${EXTEN},n,Answer() exten => ${EXTEN},n,Wait,1 exten => ${EXTEN},n,Playback(/usr/local/share/asterisk/sounds/welcome) ;; ---- slight gap (silence) here ----- exten => ${EXTEN},n,Queue(ccc|t|||${QUEUEWAITTIME}) The welcome sound does end correctly after the last word. Any idea? Thanks, _______________________________________________ -- 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
Louis-David Mitterrand
2009-Jun-18 07:27 UTC
[asterisk-users] gap between Playback and Queue
On Wed, Jun 17, 2009 at 01:08:33PM -0500, Danny Nicholas wrote:> If this is a recorded sound, you might want to truncate it with lame or > audacity. It is quite common in my shop as we record using the phones.Thanks for this suggestion. The problem was indeed a silence at the beginning of my musiconhold tracks. Audacity did a fine job and fixed my problem.
Well, at least this did not add to the wait time of your callers :) It should be possible to do silence detection/removal automagically using sox as well - see e.g. http://www.justlinux.com/forum/showthread.php?t=136678 2009/6/18 Louis-David Mitterrand <vindex+lists-asterisk-users at apartia.org<vindex%2Blists-asterisk-users at apartia.org>>> > Thanks for this suggestion. > > The problem was indeed a silence at the beginning of my musiconhold > tracks. Audacity did a fine job and fixed my problem. >-- Loway - home of QueueMetrics - http://queuemetrics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090619/5e610186/attachment.htm