Error when GoTo VoiceMail

midiabyte

Joined
Aug 31, 2009
Messages
58
Likes
0
Points
0
#1
Hi, I have a problem in Elastix, and do not know why it began.

The following occurs: We have an IVR that is normally given. One option directs the caller to leave a voice message for the User's extension 2020. But exactly when that would be provided the "beep", returns a message "Sorry, an error occurred"

Can anyone help me solve?

Code:
-- Executing [8140629933@from-trunk:1] Set("SIP/midiabyte-08ac23b8", "__FROM_DID=8140629933") in new stack
    -- Executing [8140629933@from-trunk:2] Gosub("SIP/midiabyte-08ac23b8", "app-blacklist-check|s|1") in new stack
    -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/midiabyte-08ac23b8", "") in new stack
    -- Executing [s@app-blacklist-check:2] GotoIf("SIP/midiabyte-08ac23b8", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/midiabyte-08ac23b8", "") in new stack
    -- Executing [8140629933@from-trunk:3] ExecIf("SIP/midiabyte-08ac23b8", "0 |Set|CALLERID(name)=8134266200") in new stack
    -- Executing [8140629933@from-trunk:4] Set("SIP/midiabyte-08ac23b8", "FAX_RX=2040") in new stack
    -- Executing [8140629933@from-trunk:5] Set("SIP/midiabyte-08ac23b8", "FAX_RX_EMAIL=fax@midiabyte.com.br") in new stack
    -- Executing [8140629933@from-trunk:6] Set("SIP/midiabyte-08ac23b8", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [8140629933@from-trunk:7] SetCallerPres("SIP/midiabyte-08ac23b8", "allowed_not_screened") in new stack
    -- Executing [8140629933@from-trunk:8] Goto("SIP/midiabyte-08ac23b8", "timeconditions|4|1") in new stack
    -- Goto (timeconditions,4,1)
    -- Executing [4@timeconditions:1] GotoIfTime("SIP/midiabyte-08ac23b8", "08:00-22:00|mon-sat|1-31|jan-dec?ivr-5|s|1") in new stack
    -- Executing [4@timeconditions:2] Goto("SIP/midiabyte-08ac23b8", "ivr-8|s|1") in new stack
    -- Goto (ivr-8,s,1)
   -- Executing [s@ivr-8:1] Set("SIP/midiabyte-08ac23b8", "MSG=custom/URA_MByte_Noite") in new stack
    -- Executing [s@ivr-8:2] Set("SIP/midiabyte-08ac23b8", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-8:3] Set("SIP/midiabyte-08ac23b8", "__DIR-CONTEXT=default") in new stack
    -- Executing [s@ivr-8:4] Set("SIP/midiabyte-08ac23b8", "_IVR_CONTEXT_ivr-8=") in new stack
    -- Executing [s@ivr-8:5] Set("SIP/midiabyte-08ac23b8", "_IVR_CONTEXT=ivr-8") in new stack
    -- Executing [s@ivr-8:6] GotoIf("SIP/midiabyte-08ac23b8", "0?begin") in new stack
    -- Executing [s@ivr-8:7] Answer("SIP/midiabyte-08ac23b8", "") in new stack
    -- Executing [s@ivr-8:8] Wait("SIP/midiabyte-08ac23b8", "1") in new stack
    -- Executing [s@ivr-8:9] Set("SIP/midiabyte-08ac23b8", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3
    -- Executing [s@ivr-8:10] Set("SIP/midiabyte-08ac23b8", "TIMEOUT(response)=5") in new stack
    -- Response timeout set to 5
    -- Executing [s@ivr-8:11] Set("SIP/midiabyte-08ac23b8", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-8:12] ExecIf("SIP/midiabyte-08ac23b8", "1|Background|custom/URA_MByte_Noite") in new stack
    -- <SIP/midiabyte-08ac23b8> Playing 'custom/URA_MByte_Noite' (language 'pt_BR')
    -- Executing [s@ivr-8:13] WaitExten("SIP/midiabyte-08ac23b8", "|") in new stack
    -- ast_get_srv: SRV lookup for '_sip._udp.vono.net.br' mapped to host sbc2.vono.net.br, port 5060
  == CDR updated on SIP/midiabyte-08ac23b8
    -- Executing [4@ivr-8:1] DBdel("SIP/midiabyte-08ac23b8", "") in new stack
    -- Executing [4@ivr-8:2] Set("SIP/midiabyte-08ac23b8", "__NODEST=") in new stack
    -- Executing [4@ivr-8:3] Goto("SIP/midiabyte-08ac23b8", "app-announcement-6|s|1") in new stack
    -- Goto (app-announcement-6,s,1)
    -- Executing [s@app-announcement-6:1] GotoIf("SIP/midiabyte-08ac23b8", "1?begin") in new stack
    -- Goto (app-announcement-6,s,4)
    -- Executing [s@app-announcement-6:4] NoOp("SIP/midiabyte-08ac23b8", "Playing announcement Hora_Com_MByte") in new stack
    -- Executing [s@app-announcement-6:5] Playback("SIP/midiabyte-08ac23b8", "custom/Info_Hora_Comercial_MByte|noanswer") in new stack
    -- <SIP/midiabyte-08ac23b8> Playing 'custom/Info_Hora_Comercial_MByte' (language 'pt_BR')
    -- Got SIP response 405 "Method Not Allowed" back from 187.78.173.210
    -- ast_get_srv: SRV lookup for '_sip._udp.vono.net.br' mapped to host sbc2.vono.net.br, port 5060
    -- Executing [s@app-announcement-6:6] Goto("SIP/midiabyte-08ac23b8", "ext-local|vms2020|1") in new stack
    -- Goto (ext-local,vms2020,1)
    -- Executing [vms2020@ext-local:1] Macro("SIP/midiabyte-08ac23b8", "vm|2020|NOMESSAGE|") in new stack
    -- Executing [s@macro-vm:1] Macro("SIP/midiabyte-08ac23b8", "user-callerid|SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/midiabyte-08ac23b8", "AMPUSER=8134266200") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/midiabyte-08ac23b8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/midiabyte-08ac23b8", "1|Set|REALCALLERIDNUM=8134266200") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/midiabyte-08ac23b8", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/midiabyte-08ac23b8", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/midiabyte-08ac23b8", "1?report") in new stack
    -- Goto (macro-user-callerid,s,11)
    -- Executing [s@macro-user-callerid:11] GotoIf("SIP/midiabyte-08ac23b8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("SIP/midiabyte-08ac23b8", "Using CallerID "8134266200" <8134266200>") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/midiabyte-08ac23b8", "VMGAIN=""") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/midiabyte-08ac23b8", "1?vmx|1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] GotoIf("SIP/midiabyte-08ac23b8", "1?s-NOMESSAGE|1") in new stack
    -- Goto (macro-vm,s-NOMESSAGE,1)
    -- Executing [s-NOMESSAGE@macro-vm:1] NoOp("SIP/midiabyte-08ac23b8", "NOMESSAGE (beeb only) voicemail") in new stack
    -- Executing [s-NOMESSAGE@macro-vm:2] Macro("SIP/midiabyte-08ac23b8", "get-vmcontext|2020") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("SIP/midiabyte-08ac23b8", "VMCONTEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/midiabyte-08ac23b8", "0?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/midiabyte-08ac23b8", "") in new stack
    -- Executing [s-NOMESSAGE@macro-vm:3] VoiceMail("SIP/midiabyte-08ac23b8", "2020@default|s") in new stack
    -- Executing [s-NOMESSAGE@macro-vm:4] Goto("SIP/midiabyte-08ac23b8", "exit-FAILED|1") in new stack
    -- Goto (macro-vm,exit-FAILED,1)
    -- Executing [exit-FAILED@macro-vm:1] Playback("SIP/midiabyte-08ac23b8", "im-sorry&an-error-has-occured") in new stack
    -- <SIP/midiabyte-08ac23b8> Playing 'im-sorry' (language 'pt_BR')
    -- <SIP/midiabyte-08ac23b8> Playing 'an-error-has-occured' (language 'pt_BR')
    -- Executing [exit-FAILED@macro-vm:2] GotoIf("SIP/midiabyte-08ac23b8", "0?exit-RETURN|1") in new stack
    -- Executing [exit-FAILED@macro-vm:3] Hangup("SIP/midiabyte-08ac23b8", "") in new stack
  == Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on 'SIP/midiabyte-08ac23b8' in macro 'vm'
  == Spawn extension (ext-local, vms2020, 1) exited non-zero on 'SIP/midiabyte-08ac23b8'
Thank's
 

dwells

Joined
Sep 29, 2009
Messages
127
Likes
0
Points
0
#2
The first place I would look is in general setting at VMX context(from-internal), and other settings. Make sure nothing is overriding user settings.

I can see that the user IS getting the proper default VM_CONTEXT, so that's ok.

Your code from the first couple of lines (after you pressed to go to messages) is telling you that there is a setting for BEEP only, which is ok to do...

-- Executing [s@app-announcement-6:6] Goto("SIP/midiabyte-08ac23b8", "ext-local|vms2020|1") in new stack
-- Goto (ext-local,vms2020,1)
-- Executing [vms2020@ext-local:1] Macro("SIP/midiabyte-08ac23b8", "vm|2020|NOMESSAGE|") in new stack

But you can see it's coming from ext-local context [I thought it should be from-internal as mine does]. I'm not sure if this is what you're looking for or not, but everything else looks like it's executing as it should.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,912
Messages
130,916
Members
17,589
Latest member
cristian.saiz
Top