[asterisk-users] Question regarding custom announcements in queues.conf

Christopher Aloi chris.aloi at gmail.com
Tue Feb 17 12:19:09 CST 2009


Here's the version -

Asterisk SVN-branch-1.4-r143404

Just static queues.

Is it true that Asterisk looks in the default /var/lib/asterisk/sounds/ dir
for these queue announce files?  So my custom file should live in that dir
right?

Thanks for the help :)





On Tue, Feb 17, 2009 at 1:05 PM, Mark Michelson <mmichelson at digium.com>wrote:

> Mark Michelson wrote:
> > Christopher Aloi wrote:
> >> Hey List,
> >>
> >> Anyone know the correct way to override an announcement on a queue by
> >> queue basis?
> >>
> >> My goal is to have one of my queues say "press one to blah.." and no
> >> position announcements  I have the jump from queue context working (the
> >> press 1) I just need the correct message played to the user instructing
> >> to press 1.
> >>
> >> I have periodic-announce=filename in my queues.conf file under the
> >> correct queue, but queue-periodic-announce is played to the caller, not
> >> my custom file.  Here's the queue listed in queues.conf:
> >>
> >> [EXAMPLE-QUEUE]
> >> maxlen=20
> >> reportholdtime=no
> >> periodic-annouce = SD-PLS-HOLD
> >> periodic-announce-frequency=10
> >> announce-holdtime=no
> >> strategy=ringall
> >> joinempty=yes
> >> retry=5
> >> timeout=30
> >> music=CUSTOM
> >> autofill=yes
> >> context=queue-jump
> >> member => SIP/7909416026 at 192.168.13.32 <mailto:7909416026 at 192.168.13.32
> >
> >>
> >> When the call comes into this queue after 10 seconds the following
> occurs:
> >>
> >>     -- Stopped music on hold on SIP/100-FOO-b781a4c0
> >>     -- Playing periodic announcement
> >>     -- <SIP/100-FOO-b781a4c0> Playing 'queue-periodic-announce'
> >> (language 'en')
> >>
> >> What can I do to make this play the SD-PLS-HOLD wav I defined above?
> >>
> >> Thanks!
> >
> > A quick look at the code and your config leads me to believe you're doing
> > everything correctly. What version of Asterisk are you using? Are you
> using
> > realtime queues/queue members?
> >
> > Mark Michelson
> >
>
> Hmm, my realtime question is a bit silly since you provided config for a
> static
> queue with a static member in it. My question about the version is still
> relevant, though.
>
> Mark Michelson
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090217/1ea64ba6/attachment.htm 


More information about the asterisk-users mailing list