Question on Elastix Voicemail

Discussion in 'General' started by kenlcf, Sep 15, 2009.

  1. kenlcf

    Joined:
    Sep 15, 2009
    Messages:
    2
    Likes Received:
    0
    Hi All,

    I am using Elastix 1.5.2 and with POLYCOM 330 IP Phone. When there are voicemail, IP Phone indicator would flashing and with sound to remind me to check the voicemail. So i usually will login to elastix web interface and listen the voicemail.

    question is how can i leave the voicemail in elastix as a record and stop the reminder or the IP Phone??

    Another issue is when I try to use web interface to delete the voicemail, the voicemail cannot delete even I confirm to. I found that it happened with "Internet Explorer", but not firefox and google chrome. Is there any configure on IE in order to fix this issue?

    Thx a lot.
     
  2. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Hello!

    I am also having problem with my Elastix PBX Voicemail activation, after enabling the voicemail function and whenever i call my extension it just ring and the call will drop without going to voicemail.
    Please, what can i do to correct this.

    Thanks

    Gee
     
  3. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Paste the output for:
    cat /etc/asterisk/vicemail.conf
    and the CLI output (asterisk -r) when you are on the call trying to leave a voicemail
     
  4. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thanks for the responds.

    this is outcome of the result from CLI when i called the extension to leave a voicemail.


    localhost*CLI> -- Executing [vmx@macro-vm:8] GotoIf("SIP/520-00000003", "1notdirect") in new stack
    localhost*CLI> -- Goto (macro-vm,vmx,10)
    localhost*CLI> -- Executing [vmx@macro-vm:10] NoOp("SIP/520-00000003", "Checking if ext 530 is enabled: blocked") in new stack
    localhost*CLI> -- Executing [vmx@macro-vm:11] GotoIf("SIP/520-00000003", "1s-NOANSWER,1") in new stack
    localhost*CLI> -- Goto (macro-vm,s-NOANSWER,1)
    localhost*CLI> -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/520-00000003", "get-vmcontext,530") in new stack
    localhost*CLI> -- Executing [s@macro-get-vmcontext:1] Set("SIP/520-00000003", "VMCONTEXT=default") in new stack
    localhost*CLI> -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/520-00000003", "0200:300") in new stack
    localhost*CLI> -- Goto (macro-get-vmcontext,s,300)
    localhost*CLI> -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/520-00000003", "") in new stack
    localhost*CLI> -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/520-00000003", "530@default,ug(amohammed@interranetworks.com)") in new stack
    localhost*CLI> == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/520-00000003' in macro 'vm'
    localhost*CLI> == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/520-00000003' in macro 'exten-vm'
    localhost*CLI> == Spawn extension (097809399_2, 530, 1) exited non-zero on 'SIP/520-00000003'
    localhost*CLI> -- Executing [h@097809399_2:1] Macro("SIP/520-00000003", "hangupcall,") in new stack
    localhost*CLI> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000003", "1skiprg") in new stack
    localhost*CLI> -- Goto (macro-hangupcall,s,4)
    localhost*CLI> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000003", "1skipblkvm") in new stack
    localhost*CLI> -- Goto (macro-hangupcall,s,7)
    localhost*CLI> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000003", "1theend") in new stack
    localhost*CLI> -- Goto (macro-hangupcall,s,9)
    localhost*CLI> -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000003", "") in new stack
    localhost*CLI> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000003' in macro 'hangupcall'
    localhost*CLI> == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000003'
    No such command ' -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000003", "1theend") in new stack' (type 'core show help -- Executing' for other possible commands)
    No such command ' -- Goto (macro-hangupcall,s,9)' (type 'core show help -- Goto' for other possible commands)
    No such command ' -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000003", "") in new stack' (type 'core show help -- Executing' for other possible commands)
    No such command ' == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000003' in macro 'hangupcall'' (type 'core show help == Spawn' for other possible commands)
    No such command ' == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000003'' (type 'core show help == Spawn' for other possible commands)
    localhost*CLI> localhost* Executing [s@macro-dial:8] Set("SIP/520-00000003", "DIALSTATUS=NOANSWER") in new stack
    localhost*CLI> -- Executing [s@macro-dial:9] GosubIf("SIP/520-00000003", "0NOANSWER,1") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:12] GosubIf("SIP/520-00000003", "0?docfu,1") in new stack
    -- Executing [s@macro-exten-vm:10] GotoIf("SIP/520-00000003", "0exit,return") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:11] Set("SIP/520-00000003", "SV_DIALSTATUS=NOANSWER") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:12] GosubIf("SIP/520-00000003", "0docfu,1") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:13] GosubIf("SIP/520-00000003", "0docfb,1") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:14] Set("SIP/520-00000003", "DIALSTATUS=NOANSWER") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:15] NoOp("SIP/520-00000003", "Voicemail is '530'") in new stack
    -- Executing [s@macro-exten-vm:17] NoOp("SIP/520-00000003", "Sending to Voicemail box 530") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:16] GotoIf("SIP/520-00000003", "0s-NOANSWER,1") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:17] NoOp("SIP/520-00000003", "Sending to Voicemail box 530") in new stack
    localhost*CLI> -- Executing [s@macro-exten-vm:18] Macro("SIP/520-00000003", "vm,530,NOANSWER,") in new stack
    localhost*CLI> -- Executing [s@macro-vm:1] Macro("SIP/520-00000003", "user-callerid,SKIPTTL") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:1] Set("SIP/520-00000003", "AMPUSER=520") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/520-00000003", "AMPUSERCID=520") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:2] GotoIf("SIP/520-00000003", "0report") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:3] ExecIf("SIP/520-00000003", "0Set(REALCALLERIDNUM=520)") in new stack
    -- Goto (macro-user-callerid,s,19)
    localhost*CLI> -- Executing [s@macro-user-callerid:4] Set("SIP/520-00000003", "AMPUSER=520") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/520-00000003", "VMGAIN=g(amohammed@interranetworks.com)") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:5] Set("SIP/520-00000003", "AMPUSERCIDNAME=Mohammed") in new stack
    -- Executing [vmx@macro-vm:1] Set("SIP/520-00000003", "MEXTEN=530") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:6] GotoIf("SIP/520-00000003", "0report") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:7] Set("SIP/520-00000003", "AMPUSERCID=520") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:8] Set("SIP/520-00000003", "CALLERID(all)="Mohammed" <520>") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:9] ExecIf("SIP/520-00000003", "0Set(CHANNEL(language)=)") in new stack
    localhost*CLI> -- Executing [s@macro-user-callerid:10] GotoIf("SIP/520-00000003", "1continue") in new stack
    localhost*CLI> -- Goto (macro-user-callerid,s,19)
    localhost*CLI> -- Executing [s@macro-user-callerid:19] NoOp("SIP/520-00000003", "Using CallerID "Mohammed" <520>") in new stack
    localhost*CLI> -- Executing [s@macro-vm:2] Set("SIP/520-00000003", "VMGAIN=g(amohammed@interranetworks.com)") in new stack
    localhost*CLI> -- Executing [s@macro-vm:3] GotoIf("SIP/520-00000003", "1vmx,1") in new stack
    localhost*CLI> -- Goto (macro-vm,vmx,1)
    localhost*CLI> -- Executing [vmx@macro-vm:1] Set("SIP/520-00000003", "MEXTEN=530") in new stack
    No such command ' -- Executing [s@macro-vm:3] GotoIf("SIP/520-00000003", "1vmx,1") in new stack' (type 'core show help -- Executing' for other possible commands)
    No such command ' -- Goto (macro-vm,vmx,1)' (type 'core show help -- Goto' for other possible commands)
    No such command ' -- Executing [vmx@macro-vm:1] Set("SIP/520-00000003", "MEXTEN=530") in new stack' (type 'core show help -- Executing' for other possible commands)
    localhost*CLI> -- Executing [vmx@macro-vm:2] Set("SIP/520-00000003", "MMODE=NOANSWER") in new stack
    No such command ' -- Executing [vmx@macro-vm:2] Set("SIP/520-00000003", "MMODE=NOANSWER") in new stack' (type 'core show help -- Executing' for other possible commands)
    localhost*CLI> -- Executing [vmx@macro-vm:3] Set("SIP/520-00000003", "RETVM=") in new stack
    No such command ' -- Executing [vmx@macro-vm:3] Set("SIP/520-00000003", "RETVM=") in new stack' (type 'core show help -- Executing' for other possible commands)
    localhost*CLI> -- Executing [vmx@macro-vm:4] Set("SIP/520-00000003", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:7] GotoIf("SIP/520-00000003", "0?s-NOANSWER,1") in new stack
    localhost*CLI> -- Executing [vmx@macro-vm:5] GotoIf("SIP/520-00000003", "0chknomsg") in new stack
    localhost*CLI> -- Executing [vmx@macro-vm:6] Set("SIP/520-00000003", "VM_OPTS=") in new stack
    localhost*CLI> -- Executing [vmx@macro-vm:7] GotoIf("SIP/520-00000003", "0s-NOANSWER,1") in new stack
    localhost*CLI> -- Executing [vmx@macro-vm:8] GotoIf("SIP/520-00000003", "1notdirect") in new stack
    localhost*CLI> -- Goto (macro-vm,vmx,10)
    localhost*CLI> -- Executing [vmx@macro-vm:10] NoOp("SIP/520-00000003", "Checking if ext 530 is enabled: blocked") in new stack
    localhost*CLI> -- Executing [vmx@macro-vm:11] GotoIf("SIP/520-00000003", "1s-NOANSWER,1") in new stack
    localhost*CLI> -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/520-00000003", "0?200:300") in new stack
    -- Goto (macro-vm,s-NOANSWER,1)
    localhost*CLI> -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/520-00000003", "get-vmcontext,530") in new stack
    localhost*CLI> -- Executing [s@macro-get-vmcontext:1] Set("SIP/520-00000003", "VMCONTEXT=default") in new stack
    localhost*CLI> -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/520-00000003", "0200:300") in new stack
    No such command ' -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/520-00000003", "0200:300") in new stack' (type 'core show help -- Executing' for other possible commands)
    localhost*CLI> -- Goto (macro-get-vmcontext,s,300)
    No such command ' -- Goto (macro-get-vmcontext,s,300)' (type 'core show help -- Goto' for other possible commands)
    localhost*CLI> -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/520-00000003", "") in new stack
    localhost*CLI> -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/520-00000003", "530@default,ug(amohammed@interranetworks.com)") in new stack
    No such command ' -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/520-00000003", "") in new stack' (type 'core show help -- Executing' for other possible commands)
    No such command ' -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/520-00000003", "530@default,ug(amohammed@interranetworks.com)") in new stack' (type 'core show help -- Executing' for other possible commands)
    localhost*CLI> == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/520-00000003' in macro 'vm'
    localhost*CLI> == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/520-00000003' in macro 'exten-vm'
    localhost*CLI> == Spawn extension (097809399_2, 530, 1) exited non-zero on 'SIP/520-00000003'
    -- Executing [h@097809399_2:1] Macro("SIP/520-00000003", "hangupcall,") in new stack
    localhost*CLI> -- Executing [h@097809399_2:1] Macro("SIP/520-00000003", "hangupcall,") in new stack
    -- Goto (macro-hangupcall,s,4)
    localhost*CLI> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000003", "1skiprg") in new stack
    localhost*CLI> -- Goto (macro-hangupcall,s,4)
    -- Goto (macro-hangupcall,s,9)
    localhost*CLI> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000003", "1skipblkvm") in new stack
    localhost*CLI> -- Goto (macro-hangupcall,s,7)
    localhost*CLI> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000003", "1theend") in new stack
    localhost*CLI> -- Goto (macro-hangupcall,s,9)
    localhost*CLI> -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000003", "") in new stack
    localhost*CLI> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000003' in macro 'hangupcall'
    localhost*CLI> == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000003'
    No such command ' -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000003", "1theend") in new stack' (type 'core show help -- Executing' for other possible commands)
    No such command ' -- Goto (macro-hangupcall,s,9)' (type 'core show help -- Goto' for other possible commands)
    No such command ' -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000003", "") in new stack' (type 'core show help -- Executing' for other possible commands)
    No such command ' == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000003' in macro 'hangupcall'' (type 'core show help == Spawn' for other possible commands)
    No such command ' == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000003'' (type 'core show help == Spawn' for other possible commands)
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected

    Please, let me know what to do next

    Thanks

    Gee
     
  5. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Hello!

    when i enable the vmX Locator on the extension 530 which i am calling to leave a voicemail. This is the outcome from CLI


    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/520-00000012' in macro 'vm'
    == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/520-00000012' in macro 'exten-vm'
    == Spawn extension (097809399_2, 530, 1) exited non-zero on 'SIP/520-00000012'
    -- Executing [h@097809399_2:1] Macro("SIP/520-00000012", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000012", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000012", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000012", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000012", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000012' in macro 'hangupcall'
    == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000012'

    Thanks

    Gee
     
  6. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    I can see taht you have customized your voicemail, that is due to the case that on the debug, I'm able to see:
    g(amohammed@interranetworks.com)
    And that is not by default on voicemail application, I might think that you have set it on voicemail options or on genereal settings...
    Undo all of those configurations and your voicemail will work correctly...
     
  7. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thanks for your help.

    After i undo the setting on general setting, I'm now having problem with the extensions
    because the are not going through again. What is the default setting i can use to correct this.

    Thanks

    Gee
     
  8. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    You must provide more detailed information about your issue...
    And as well paste the CLI putput (asterisk -r) then explain what is the issue, and how it should work...
     
  9. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thanks once again!

    this is the outcome from CLI


    ] Macro("SIP/520-00000016", "exten-vm,530,530") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/520-00000016", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/520-00000016", "AMPUSER=520") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/520-00000016", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/520-00000016", "1?Set(REALCALLERIDNUM=520)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/520-00000016", "AMPUSER=520") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/520-00000016", "AMPUSERCIDNAME=Mohammed") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/520-00000016", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/520-00000016", "AMPUSERCID=520") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/520-00000016", "CALLERID(all)="Mohammed" <520>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/520-00000016", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/520-00000016", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/520-00000016", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/520-00000016", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/520-00000016", "Using CallerID "Mohammed" <520>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/520-00000016", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/520-00000016", "VMBOX=530") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/520-00000016", "EXTTOCALL=530") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/520-00000016", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/520-00000016", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/520-00000016", "RT=1") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/520-00000016", "record-enable,530,IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/520-00000016", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/520-00000016", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/520-00000016", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/520-00000016", "1?IN") in new stack
    -- Goto (macro-record-enable,s,20)
    -- Executing [s@macro-record-enable:20] ExecIf("SIP/520-00000016", "1?MacroExit()") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/520-00000016", "dial,1,tTrwW,530") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/520-00000016", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/520-00000016", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    dialparties.agi: Caller ID name is 'Mohammed' number is '520'
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 530 to extension map
    -- dialparties.agi: Extension 530 cf is disabled
    -- dialparties.agi: Extension 530 do not disturb is disabled
    dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
    dialparties.agi: Extension 530 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 530
    -- dialparties.agi: dbset CALLTRACE/530 to 520
    -- dialparties.agi: Filtered ARG3: 530
    -- <SIP/520-00000016>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/520-00000016", "SIP/530,1,tTrwW") in new stack
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Called 530
    -- SIP/530-00000017 is ringing
    -- Nobody picked up in 1000 ms
    -- Executing [s@macro-dial:8] Set("SIP/520-00000016", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-dial:9] GosubIf("SIP/520-00000016", "0?NOANSWER,1") in new stack
    -- Executing [s@macro-exten-vm:10] GotoIf("SIP/520-00000016", "0?exit,return") in new stack
    -- Executing [s@macro-exten-vm:11] Set("SIP/520-00000016", "SV_DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/520-00000016", "0?docfu,1") in new stack
    -- Executing [s@macro-exten-vm:13] GosubIf("SIP/520-00000016", "0?docfb,1") in new stack
    -- Executing [s@macro-exten-vm:14] Set("SIP/520-00000016", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:15] NoOp("SIP/520-00000016", "Voicemail is '530'") in new stack
    -- Executing [s@macro-exten-vm:16] GotoIf("SIP/520-00000016", "0?s-NOANSWER,1") in new stack
    -- Executing [s@macro-exten-vm:17] NoOp("SIP/520-00000016", "Sending to Voicemail box 530") in new stack
    -- Executing [s@macro-exten-vm:18] Macro("SIP/520-00000016", "vm,530,NOANSWER,") in new stack
    -- Executing [s@macro-vm:1] Macro("SIP/520-00000016", "user-callerid,SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/520-00000016", "AMPUSER=520") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/520-00000016", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/520-00000016", "0?Set(REALCALLERIDNUM=520)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/520-00000016", "AMPUSER=520") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/520-00000016", "AMPUSERCIDNAME=Mohammed") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/520-00000016", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/520-00000016", "AMPUSERCID=520") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/520-00000016", "CALLERID(all)="Mohammed" <520>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/520-00000016", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/520-00000016", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/520-00000016", "Using CallerID "Mohammed" <520>") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/520-00000016", "VMGAIN=g(dB)") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/520-00000016", "1?vmx,1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] Set("SIP/520-00000016", "MEXTEN=530") in new stack
    -- Executing [vmx@macro-vm:2] Set("SIP/520-00000016", "MMODE=NOANSWER") in new stack
    -- Executing [vmx@macro-vm:3] Set("SIP/520-00000016", "RETVM=") in new stack
    -- Executing [vmx@macro-vm:4] Set("SIP/520-00000016", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:5] GotoIf("SIP/520-00000016", "0?chknomsg") in new stack
    -- Executing [vmx@macro-vm:6] Set("SIP/520-00000016", "VM_OPTS=") in new stack
    -- Executing [vmx@macro-vm:7] GotoIf("SIP/520-00000016", "0?s-NOANSWER,1") in new stack
    -- Executing [vmx@macro-vm:8] GotoIf("SIP/520-00000016", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,10)
    -- Executing [vmx@macro-vm:10] NoOp("SIP/520-00000016", "Checking if ext 530 is enabled: blocked") in new stack
    -- Executing [vmx@macro-vm:11] GotoIf("SIP/520-00000016", "1?s-NOANSWER,1") in new stack
    -- Goto (macro-vm,s-NOANSWER,1)
    -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/520-00000016", "get-vmcontext,530") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("SIP/520-00000016", "VMCONTEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/520-00000016", "0?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/520-00000016", "") in new stack
    -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/520-00000016", "530@default,ug(dB)") in new stack
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/520-00000016' in macro 'vm'
    == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/520-00000016' in macro 'exten-vm'
    == Spawn extension (097809399_2, 530, 1) exited non-zero on 'SIP/520-00000016'
    -- Executing [h@097809399_2:1] Macro("SIP/520-00000016", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000016", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000016", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000016", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000016", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000016' in macro 'hangupcall'
    == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000016'
    localhost*CLI>


    Thanks

    Gee
     
  10. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    So...
    WHere is the explanation of the issue?
    How should it work?
    What I can see is that on the Dial command there is only 1 second for ring time... I dont know what changes you are doing, but they are causing issues on your server...
     
  11. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thanks a million. But I'm having the voice-mail issues.
    CLI

    - Executing [s@macro-vm:2] Set("SIP/520-00000024", "VMGAIN=g(dB)") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/520-00000024", "1?vmx,1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] Set("SIP/520-00000024", "MEXTEN=530") in new stack
    -- Executing [vmx@macro-vm:2] Set("SIP/520-00000024", "MMODE=NOANSWER") in new stack
    -- Executing [vmx@macro-vm:3] Set("SIP/520-00000024", "RETVM=") in new stack
    -- Executing [vmx@macro-vm:4] Set("SIP/520-00000024", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:5] GotoIf("SIP/520-00000024", "0?chknomsg") in new stack
    -- Executing [vmx@macro-vm:6] Set("SIP/520-00000024", "VM_OPTS=") in new stack
    -- Executing [vmx@macro-vm:7] GotoIf("SIP/520-00000024", "0?s-NOANSWER,1") in new stack
    -- Executing [vmx@macro-vm:8] GotoIf("SIP/520-00000024", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,10)
    -- Executing [vmx@macro-vm:10] NoOp("SIP/520-00000024", "Checking if ext 530 is enabled: blocked") in new stack
    -- Executing [vmx@macro-vm:11] GotoIf("SIP/520-00000024", "1?s-NOANSWER,1") in new stack
    -- Goto (macro-vm,s-NOANSWER,1)
    -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/520-00000024", "get-vmcontext,530") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("SIP/520-00000024", "VMCONTEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/520-00000024", "0?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/520-00000024", "") in new stack
    -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/520-00000024", "530@default,ug(dB)") in new stack
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/520-00000024' in macro 'vm'
    == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/520-00000024' in macro 'exten-vm'
    == Spawn extension (097809399_2, 530, 1) exited non-zero on 'SIP/520-00000024'
    -- Executing [h@097809399_2:1] Macro("SIP/520-00000024", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000024", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000024", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000024", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000024", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000024' in macro 'hangupcall'
     
  12. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Your problem is right here:
    VMGAIN=g(dB)
    Either, dont use it, or use a correct value...
     
  13. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thank you, it works perfect. I just removed the dB from Optional Voicemail recording Gain

    in General Setting.

    CLI


    Executing [*98@097809399_2:8] GotoIf("SIP/520-00000067", "1?good:bad") in new stack
    -- Goto (097809399_2,*98,10)
    -- Executing [*98@097809399_2:10] NoOp("SIP/520-00000067", "app-dialvm: Good mailbox 530@default") in new stack
    -- Executing [*98@097809399_2:11] VoiceMailMain("SIP/520-00000067", "530@default") in new stack
    -- <SIP/520-00000067> Playing 'vm-password.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-youhave.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-no.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-messages.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-opts.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-helpexit.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-options.gsm' (language 'en')
    -- Recording the message
    -- <SIP/520-00000067> Playing 'vm-rec-unv.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'beep.gsm' (language 'en')
    -- x=0, open writing: /var/spool/asterisk/voicemail/default/530/unavail.tmp format: wav49, 0x8c72d70
    -- x=1, open writing: /var/spool/asterisk/voicemail/default/530/unavail.tmp format: gsm, 0x8d36de0
    -- x=2, open writing: /var/spool/asterisk/voicemail/default/530/unavail.tmp format: wav, 0x8e9f178
    -- User ended message by pressing #
    -- <SIP/520-00000067> Playing 'auth-thankyou.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-review.gsm' (language 'en')
    -- Saving message as is
    -- <SIP/520-00000067> Playing 'vm-msgsaved.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-options.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-options.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-options.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-opts.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-helpexit.gsm' (language 'en')
    -- <SIP/520-00000067> Playing 'vm-goodbye.gsm' (language 'en')
    -- Executing [*98@097809399_2:12] GotoIf("SIP/520-00000067", "0?playret") in new stack
    -- Executing [*98@097809399_2:13] Macro("SIP/520-00000067", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000067", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000067", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000067", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000067", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000067' in macro 'hangupcall'
    == Spawn extension (097809399_2, *98, 13) exited non-zero on 'SIP/520-00000067'
    -- Executing [h@097809399_2:1] Macro("SIP/520-00000067", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000067", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000067", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000067", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/520-00000067", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/520-00000067' in macro 'hangupcall'
    == Spawn extension (097809399_2, h, 1) exited non-zero on 'SIP/520-00000067'


    Regards

    you are the best.

    Gee
     
  14. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thanks for helping me out yesterday.

    Now,I'm having problem with the Elastix PBX sending the voicemail messages to my box.

    because i indicate email address in the email box on that extension.

    Thanks

    Gee
     
  15. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    So what is the issue? What do this command outputs:
    tail -f /var/log/maillog
    when you try to send a voicemail?
     
  16. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Thanks for your quick responds.

    This is the outcome of tail -f /var/log/maillog


    [root@localhost ~]# tail -f /var/log/maillog
    May 13 13:25:26 localhost master[2636]: process 5292 exited, status 0
    May 13 13:55:26 localhost master[5342]: about to exec /usr/lib/cyrus-imapd/ctl_cyrusdb
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: checkpointing cyrus databases
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: archiving log file: /var/lib/imap/db/log.0000000001
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: archiving log file: /var/lib/imap/db/log.0000000001
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: archiving database file: /var/lib/imap/annotations.db
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: archiving database file: /var/lib/imap/mailboxes.db
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: archiving log file: /var/lib/imap/db/log.0000000001
    May 13 13:55:26 localhost ctl_cyrusdb[5342]: done checkpointing cyrus databases
    May 13 13:55:26 localhost master[2636]: process 5342 exited, status 0

    Thanks

    Gee
     
  17. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    There is no attempt of sending any voicemail...
    ONce you have used the previous command, you need to call another extension, and leave a voicemail for that extension (that extenison should have configured the voicemail email).
    I will recommend that you read Elastix without tears, that book will guide you on your configurations.
     
  18. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    Hello!

    I did read the book but still not getting it right i guess.

    Check this out and let me know what is rough

    - Executing [s-NOANSWER@macro-vm:3] Goto("SIP/520-00000000", "exit-SUCCESS,1") in new stack
    -- Goto (macro-vm,exit-SUCCESS,1)
    -- Executing [exit-SUCCESS@macro-vm:1] GotoIf("SIP/520-00000000", "0?exit-RETURN,1") in new stack
    -- Executing [exit-SUCCESS@macro-vm:2] Playback("SIP/520-00000000", "goodbye") in new stack
    -- <SIP/520-00000000> Playing 'goodbye.gsm' (language 'en')
    -- Executing [exit-SUCCESS@macro-vm:3] Hangup("SIP/520-00000000", "") in new stack
    == Spawn extension (macro-vm, exit-SUCCESS, 3) exited non-zero on 'SIP/520-00000000' in macro 'vm'
    == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/520-00000000' in macro 'exten-vm'
    == Spawn extension (097809399_2, 556, 1) exited non-zero on 'SIP/520-00000000'
    -- Executing [h@097809399_2:1] Macro("SIP/520-00000000", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/520-00000000", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/520-00000000", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/520-00000000", "1?theend") in new stack


    Bye

    Gee
     
  19. abdulgeeng

    Joined:
    Sep 22, 2010
    Messages:
    16
    Likes Received:
    0
    <SIP/520-00000000> Playing 'beep.gsm' (language 'en')
    -- Recording the message
    -- x=0, open writing: /var/spool/asterisk/voicemail/default/556/tmp/53vofj format: wav49, 0x93a9868
    -- x=1, open writing: /var/spool/asterisk/voicemail/default/556/tmp/53vofj format: gsm, 0x93a88f0
    -- x=2, open writing: /var/spool/asterisk/voicemail/default/556/tmp/53vofj format: wav, 0x93a8638
    -- User ended message by pressing #
    -- <SIP/520-00000000> Playing 'auth-thankyou.gsm' (language 'en')
    -- <SIP/520-00000000> Playing 'vm-review.gsm' (language 'en')
    -- Saving message as is
     

Share This Page