[asterisk-users] Music on hold

Fons van der Beek fons.vanderbeek at 84-it.com
Sun Feb 17 06:20:41 CST 2008


Because i want a ringing signal while people are in a waiting queue i've 
created a wav file containing our local ringing indication
If I make an inside call to the queue, the correct sound is played, but 
when i make an external call, no signal is heard.
everything else looks ok, and all other functions are ok....

Can somebody point me out what i could have done wrong?

my musiconhold.conf
-------------------------------
[ringing]
mode=files
directory=/var/lib/asterisk/ringing

i've created the wav file using
sox ringing.wav -r 8000 -c 1 -s -w ringingmono.wav resample -ql

This file is located at /var/lib/asterisk/ringing

my queues.conf
------------------------
[receptie]
musicclass = ringing
strategy = ringall
timeout = 300
retry = 5
member => SIP/202
member => SIP/227

the CLI shows..............
---------------------------

    -- Executing [s at default:1] Answer("SIP/04757690XX-08ef8ee8", "") in 
new stack
    -- Executing [s at default:2] LookupCIDName("SIP/0475769002-08ef8ee8", 
"") in new stack
[Feb 17 13:18:10] WARNING[28267]: app_lookupcidname.c:72 
lookupcidname_exec: LookupCIDName is deprecated.  Please use 
${DB(cidname/${CALLERID(num)})} instead.
    -- Executing [s at default:3] Queue("SIP/04757690XX-08ef8ee8", 
"receptie") in new stack
    -- Started music on hold, class 'ringing', on SIP/04757690XX-08ef8ee8
    -- SIP/227-08efce58 is ringing
    -- SIP/201-08f06f68 is ringing
    -- SIP/414-08f04930 is ringing
    -- SIP/201-08f06f68 is ringing
    -- SIP/201-08f06f68 is ringing
    -- SIP/201-08f06f68 is ringing
    -- SIP/201-08f06f68 answered SIP/04757690XX-08ef8ee8
    -- Stopped music on hold on SIP/0475769002-08ef8ee8







More information about the asterisk-users mailing list