[asterisk-users] gap between Playback and Queue

2009-06-17 Thread Louis-David Mitterrand
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


Re: [asterisk-users] gap between Playback and Queue

2009-06-17 Thread Danny Nicholas
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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Louis-David
Mitterrand
Sent: Wednesday, June 17, 2009 1:04 PM
To: asterisk-users@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


___
-- 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


Re: [asterisk-users] gap between Playback and Queue

2009-06-18 Thread Louis-David Mitterrand
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.

___
-- 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


Re: [asterisk-users] gap between Playback and Queue

2009-06-19 Thread Lenz Emilitri
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

>

>
> 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
___
-- 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