MOH making calls appear hung up

Home » Asterisk Users » MOH making calls appear hung up
Asterisk Users 1 Comment

I noticed the CLI shows that the music on hold actually stops for some reason?

Here’s the output of my CLI:
Connected to Asterisk currently running on localhost (pid = 6363)
Verbosity is at least 28

One thought on - MOH making calls appear hung up

  • Thanks Danny. I tried that but all that did is make it so when I call the site, I get hold music instead of ringing. Still has no affect on the call transfer MOH. :/

    Interestingly, the music is playing for about 3-5 seconds before stopping during the transfer.

    I’ve built all of my phone servers the same at my sites and I’m still sorta green on some of this stuff. When doing a call transfer, is it using the macro-stdexten or does it go to the IVR dial plan? Because the entry you noted is in the IVR dialplan, not the macro-stdexten.

    Here’s my macro-stdexten:

    exten => s,1,wait(1)
    exten => s,2,Dial(${ARG2},20)
    exten => s,3,Goto(s-${DIALSTATUS},1)
    exten => s,4,Dial(${ARG2},15) ; Ring phone for 15 seconds

    exten => s-BUSY,1,Voicemail(${ARG1},b) ; If busy, send to voicemail w/ busy announce
    exten => s-BUSY,2,Hangup
    exten => s-NOANSWER,1,Voicemail(${ARG1},u) ; If unavailable, send to voicemail
    exten => s-NOANSWER,2,Hangup
    exten => _s-.,1,Goto(s-NOANSWER,1) ; Treat anything else as no answer

    exten => a,1,VoicemailMain(${CALLERIDNUM})
    exten => a,2,Hangup

    Here’s my IVR Dialplan:
    exten => s,1,Set(TIMEOUT(digit)=4)
    exten => s,n,Wait(1)
    exten => s,n,Answer
    exten => s,n,Dial(SIP/1021,20)
    exten => s,n,Wait(1)
    exten => s,n,Dial(SIP/6909,15)
    exten => s,n,Dial(SIP/6904,15)
    exten => s,n,Voicemail(1021,u)
    exten => s,n,Hangup

    Note: I removed the “,m” because it was only affecting the new incoming calls.

    Here’s my CLI output:
    == Using SIP RTP CoS mark 5