Thanks, Phil. Voicemail is enable on that extension on FreePBX. But I do not see any folder by that extension name 0711 under /var/spool/asterisk/voicemail/default. Is that because the user has not recorded/created his voicemail yet?
[[email protected] ~]# asterisk -r
Asterisk 1.6.0.26, Copyright © 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
Connected to Asterisk 1.6.0.26 currently running on pbx (pid = 1663)
Verbosity is at least 21
– Accepting AUTHENTICATED call from 1.2.3.4:
> requested format = gsm,
> requested prefs = (gsm),
> actual format = gsm,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
– Executing [[email protected]:1] Set(“IAX2/-6876”, “__FROM_DID=0512340711”) in new stack
– Executing [[email protected]:2] ExecIf(“IAX2/-6876”, “0 ?Set(CALLERID(name)=0812345678)”) in new stack
– Executing [[email protected]:3] Set(“IAX2/-6876”, “__CALLINGPRES_SV=allowed_passed_screen”) in new stack
– Executing [[email protected]:4] Set(“IAX2/-6876”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [[email protected]:5] Goto(“IAX2/-6876”, “from-did-direct,0711,1”) in new stack
– Goto (from-did-direct,0711,1)
– Executing [[email protected]:1] Macro(“IAX2/-6876”, “exten-vm,0711,0711”) in new stack
– Executing [[email protected]:1] Macro(“IAX2/-6876”, “user-callerid”) in new stack
– Executing [[email protected]:1] Set(“IAX2/-6876”, “AMPUSER=0812345678”) in new stack
– Executing [[email protected]:2] GotoIf(“IAX2/-6876”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“IAX2/-6876”, “1?Set(REALCALLERIDNUM=0812345678)”) in new stack
– Executing [[email protected]:4] Set(“IAX2/-6876”, “AMPUSER=”) in new stack
– Executing [[email protected]:5] Set(“IAX2/-6876”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:6] GotoIf(“IAX2/-6876”, “1?report”) in new stack
– Goto (macro-user-callerid,s,9)
– Executing [[email protected]:9] GotoIf(“IAX2/-6876”, “0?continue”) in new stack
– Executing [[email protected]:10] Set(“IAX2/-6876”, “__TTL=64”) in new stack
– Executing [[email protected]:11] GotoIf(“IAX2/-6876”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [[email protected]:18] NoOp(“IAX2/-6876”, “Using CallerID “NOC” <0812345678>”) in new stack
– Executing [[email protected]:2] Set(“IAX2/-6876”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“IAX2/-6876”, “VMBOX=0711”) in new stack
– Executing [[email protected]:4] Set(“IAX2/-6876”, “EXTTOCALL=0711”) in new stack
– Executing [[email protected]:5] Set(“IAX2/-6876”, “CFUEXT=”) in new stack
– Executing [[email protected]:6] Set(“IAX2/-6876”, “CFBEXT=”) in new stack
– Executing [[email protected]:7] Set(“IAX2/-6876”, “RT=45”) in new stack
– Executing [[email protected]:8] Macro(“IAX2/-6876”, “record-enable,0711,IN”) in new stack
– Executing [[email protected]:1] GotoIf(“IAX2/-6876”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]:4] AGI(“IAX2/-6876”, “recordingcheck,20101215-095959,1292378399.182060”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20101215-095959,1292378399.182060: Inbound recording not enabled
– <IAX2/-6876>AGI Script recordingcheck completed, returning 0
– Executing [[email protected]:5] MacroExit(“IAX2/-6876”, “”) in new stack
– Executing [[email protected]:9] Macro(“IAX2/-6876”, “dial,45,tr,0711”) in new stack
– Executing [[email protected]:1] GotoIf(“IAX2/-6876”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [[email protected]:3] AGI(“IAX2/-6876”, “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 ‘NOC’ number is ‘0812345678’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 0711 to extension map
> dialparties.agi: Extension 0711 has call screening off
– dialparties.agi: Extension 0711 cf is disabled
== dialparties.agi: Extension 0711 has do not disturb enabled, or followme pre-ring returned busy
– dialparties.agi: Filtered ARG3:
– <IAX2/-6876>AGI Script dialparties.agi completed, returning 0
– Executing [[email protected]:4] NoOp(“IAX2/-6876”, “Returned from dialparties with no extensions to call and DIALSTATUS: BUSY”) in new stack
– Executing [[email protected]:10] GotoIf(“IAX2/-6876”, “0?exit,return”) in new stack
– Executing [[email protected]:11] Set(“IAX2/-6876”, “SV_DIALSTATUS=BUSY”) in new stack
– Executing [[email protected]:12] GosubIf(“IAX2/-6876”, “0?docfu,1”) in new stack
– Executing [[email protected]:13] GosubIf(“IAX2/-6876”, “0?docfb,1”) in new stack
– Executing [[email protected]:14] Set(“IAX2/-6876”, “DIALSTATUS=BUSY”) in new stack
– Executing [[email protected]:15] NoOp(“IAX2/-6876”, “Voicemail is ‘0711’”) in new stack
– Executing [[email protected]:16] GotoIf(“IAX2/-6876”, “0?s-BUSY,1”) in new stack
– Executing [[email protected]:17] NoOp(“IAX2/-6876”, “Sending to Voicemail box 0711”) in new stack
– Executing [[email protected]:18] Macro(“IAX2/-6876”, “vm,0711,BUSY,”) in new stack
– Executing [[email protected]:1] Macro(“IAX2/-6876”, “user-callerid,SKIPTTL”) in new stack
– Executing [[email protected]:1] Set(“IAX2/-6876”, “AMPUSER=0812345678”) in new stack
– Executing [[email protected]:2] GotoIf(“IAX2/-6876”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“IAX2/-6876”, “0?Set(REALCALLERIDNUM=0812345678)”) in new stack
– Executing [[email protected]:4] Set(“IAX2/-6876”, “AMPUSER=”) in new stack
– Executing [[email protected]:5] Set(“IAX2/-6876”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:6] GotoIf(“IAX2/-6876”, “1?report”) in new stack
– Goto (macro-user-callerid,s,9)
– Executing [[email protected]:9] GotoIf(“IAX2/-6876”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [[email protected]:18] NoOp(“IAX2/-6876”, “Using CallerID “NOC” <0812345678>”) in new stack
– Executing [[email protected]:2] Set(“IAX2/-6876”, “VMGAIN=”"") in new stack
– Executing [[email protected]:3] GotoIf(“IAX2/-6876”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [[email protected]:1] GotoIf(“IAX2/-6876”, “0?s-BUSY,1”) in new stack
– Executing [[email protected]:2] Set(“IAX2/-6876”, “MODE=busy”) in new stack
– Executing [[email protected]:3] GotoIf(“IAX2/-6876”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [[email protected]:5] NoOp(“IAX2/-6876”, "Checking if ext 0711 is enabled: ") in new stack
– Executing [[email protected]:6] GotoIf(“IAX2/-6876”, “1?s-BUSY,1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing [[email protected]:1] NoOp(“IAX2/-6876”, “BUSY voicemail”) in new stack
– Executing [[email protected]:2] Macro(“IAX2/-6876”, “get-vmcontext,0711”) in new stack
– Executing [[email protected]:1] Set(“IAX2/-6876”, “VMCONTEXT=default”) in new stack
– Executing [[email protected]:2] GotoIf(“IAX2/-6876”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [[email protected]:300] NoOp(“IAX2/-6876”, “”) in new stack
– Executing [[email protected]:3] VoiceMail(“IAX2/-6876”, “[email protected],b”) in new stack
– Executing [[email protected]:4] Goto(“IAX2/-6876”, “exit-FAILED,1”) in new stack
– Goto (macro-vm,exit-FAILED,1)
– Executing [[email protected]:1] Playback(“IAX2/-6876”, “im-sorry&an-error-has-occured”) in new stack
– <IAX2/-6876> Playing ‘im-sorry.slin’ (language ‘en’)
– <IAX2/-6876> Playing ‘an-error-has-occured.slin’ (language ‘en’)
– Executing [[email protected]:2] GotoIf(“IAX2/-6876”, “0?exit-RETURN,1”) in new stack
– Executing [[email protected]:3] Hangup(“IAX2/-6876”, “”) in new stack
== Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on ‘IAX2/-6876’ in macro ‘vm’
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on ‘IAX2/-6876’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 0711, 1) exited non-zero on ‘IAX2/-6876’
– Hungup 'IAX2/-6876’
pbx*CLI> exit
[[email protected] ~]#
Best regards,
Lay