[Asterisk-Users] MusicOnHold Problems

Adam Goryachev mailinglists at websitemanagers.com.au
Mon Mar 17 05:42:57 MST 2003


I have just started having a play with MoH and if I set an extension to
MusicOnHold then I hear the music correctly, however with the following
extensions snippet, I only hear the ringing sounds as each extension is
attempted:

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
exten => s,7,Dial,SIP/666|10|mt
exten => s,8,Dial,zap/2|10|mt
exten => s,9,Dial,SIP/600&zap/2&SIP/666|15|mt

Here is the console 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
    -- 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-a8ba is ringing
    -- Stopped music on hold on Modem[i4l]/ttyI0
    -- Nobody picked up in 10000 ms
    -- Executing Dial("Modem[i4l]/ttyI0", "SIP/666|10|mt") in new stack
    -- Called 666
    -- Started music on hold, class 'default', on Modem[i4l]/ttyI0
    -- SIP/666-d2e3 is ringing
    -- Stopped music on hold on Modem[i4l]/ttyI0
    -- Nobody picked up in 10000 ms


I am dialling into a ISDN4Linux ISDN card....

Any hints would be appreciated...

Thanks,
Adam









More information about the asterisk-users mailing list