[Asterisk-Users] Music on Hold for SIP
Adam Goryachev
mailinglists at websitemanagers.com.au
Thu Apr 3 19:48:02 MST 2003
I posted a message a little while ago but got no response (that I can
recall), I've also seen other people mention this issue.
Basically, when you have music on hold, it doesn't play the music on hold,
the debug info shows it is starting and then stops straight away..
# My extensions.conf ...
exten => s,1,Answer
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,Wait,1
exten => s,5,SetMusicOnHold,default
exten => s,6,Dial,SIP/600|10|mt ; Ring Doris for 10 secs
exten => s,7,Dial,SIP/666|10|mt ; Ring Hamish for 10 secs
exten => s,8,Dial,zap/2|10|mt ; Ring Adam for 10 secs
The debug output:
-- Executing Answer("Modem[i4l]/ttyI0", "") in new stack
-- Executing DigitTimeout("Modem[i4l]/ttyI0", "5") in new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("Modem[i4l]/ttyI0", "10") in new stack
-- Set Response Timeout to 10
-- Executing Wait("Modem[i4l]/ttyI0", "1") in new stack
-- Modem[i4l]/ttyI1 answered Zap/2-1
-- Executing SetMusicOnHold("Modem[i4l]/ttyI0", "default") in new stack
-- Executing Dial("Modem[i4l]/ttyI0", "SIP/600|10|mt") in new stack
-- Called 600
-- Started music on hold, class 'default', on Modem[i4l]/ttyI0
-- SIP/600-d95a is ringing
-- Stopped music on hold on Modem[i4l]/ttyI0
-- Hungup 'Modem[i4l]/ttyI1'
So we can see that the line has been answered, but the music on hold
terminates as soon as it starts... any suggestions would be appreciated.
The incoming line is a isdn4linux, the extension is a ATA186 using SIP.
Regards,
Adam
More information about the asterisk-users
mailing list