I use dial to no unavailable and transfer to VM .Then I leave message to vm and I also review the message and then save .
But I check the vM inbox and there is no message save …why ??? what is wrong …
I paste the data below
========
Asterisk 1.6.2.11
Verbosity was 3 and is now 17
Core debug was 0 and is now 17
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [20001001@from-internal:1] Macro("SIP/20001000-00000007", "exten-vm,20001001,20001001") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/20001000-00000007", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/20001000-00000007", "AMPUSER=20001000") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/20001000-00000007", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/20001000-00000007", "1?Set(REALCALLERIDNUM=20001000)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/20001000-00000007", "AMPUSER=20001000") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/20001000-00000007", "AMPUSERCIDNAME=20001000") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/20001000-00000007", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/20001000-00000007", "AMPUSERCID=20001000") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/20001000-00000007", "CALLERID(all)="20001000" <20001000>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/20001000-00000007", "0?continue") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/20001000-00000007", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/20001000-00000007", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] NoOp("SIP/20001000-00000007", "Using CallerID "20001000" <20001000>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/20001000-00000007", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/20001000-00000007", "VMBOX=20001001") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/20001000-00000007", "EXTTOCALL=20001001") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/20001000-00000007", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/20001000-00000007", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/20001000-00000007", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/20001000-00000007", "record-enable,20001001,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/20001000-00000007", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/20001000-00000007", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/20001000-00000007", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,16)
-- Executing [s@macro-record-enable:16] GotoIf("SIP/20001000-00000007", "1?IN") in new stack
-- Goto (macro-record-enable,s,21)
-- Executing [s@macro-record-enable:21] ExecIf("SIP/20001000-00000007", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/20001000-00000007", "dial,15,tr,20001001") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/20001000-00000007", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/20001000-00000007", "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 '20001000' number is '20001000'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 20001001 to extension map
-- dialparties.agi: Extension 20001001 cf is disabled
-- dialparties.agi: Extension 20001001 do not disturb is disabled
> dialparties.agi: extnum 20001001 has: cw: 1; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
-- dialparties.agi: dbset CALLTRACE/20001001 to 20001000
-- dialparties.agi: Filtered ARG3: 20001001
-- <SIP/20001000-00000007>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/20001000-00000007", "SIP/20001001,15,tr") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial:8] Set("SIP/20001000-00000007", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/20001000-00000007", "0?CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/20001000-00000007", "0?exit,return") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/20001000-00000007", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/20001000-00000007", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/20001000-00000007", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/20001000-00000007", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/20001000-00000007", "Voicemail is '20001001'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/20001000-00000007", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("SIP/20001000-00000007", "Sending to Voicemail box 20001001") in new stack
-- Executing [s@macro-exten-vm:18] Macro("SIP/20001000-00000007", "vm,20001001,CHANUNAVAIL,") in new stack
-- Executing [s@macro-vm:1] Macro("SIP/20001000-00000007", "user-callerid,SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/20001000-00000007", "AMPUSER=20001000") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/20001000-00000007", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/20001000-00000007", "0?Set(REALCALLERIDNUM=20001000)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/20001000-00000007", "AMPUSER=20001000") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/20001000-00000007", "AMPUSERCIDNAME=20001000") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/20001000-00000007", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/20001000-00000007", "AMPUSERCID=20001000") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/20001000-00000007", "CALLERID(all)="20001000" <20001000>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/20001000-00000007", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] NoOp("SIP/20001000-00000007", "Using CallerID "20001000" <20001000>") in new stack
-- Executing [s@macro-vm:2] Set("SIP/20001000-00000007", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/20001000-00000007", "1?vmx,1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] Set("SIP/20001000-00000007", "MEXTEN=20001001") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/20001000-00000007", "MMODE=CHANUNAVAIL") in new stack
-- Executing [vmx@macro-vm:3] Set("SIP/20001000-00000007", "RETVM=") in new stack
-- Executing [vmx@macro-vm:4] Set("SIP/20001000-00000007", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:5] GotoIf("SIP/20001000-00000007", "0?chknomsg") in new stack
-- Executing [vmx@macro-vm:6] Set("SIP/20001000-00000007", "VM_OPTS=") in new stack
-- Executing [vmx@macro-vm:7] GotoIf("SIP/20001000-00000007", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [vmx@macro-vm:8] GotoIf("SIP/20001000-00000007", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,10)
-- Executing [vmx@macro-vm:10] NoOp("SIP/20001000-00000007", "Checking if ext 20001001 is enabled: enabled") in new stack
-- Executing [vmx@macro-vm:11] GotoIf("SIP/20001000-00000007", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [vmx@macro-vm:12] Macro("SIP/20001000-00000007", "get-vmcontext,20001001") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/20001000-00000007", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/20001000-00000007", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/20001000-00000007", "") in new stack
-- Executing [vmx@macro-vm:13] GotoIf("SIP/20001000-00000007", "0?tmpgreet") in new stack
-- Executing [vmx@macro-vm:14] GotoIf("SIP/20001000-00000007", "1?nofile") in new stack
-- Goto (macro-vm,vmx,66)
-- Executing [vmx@macro-vm:66] NoOp("SIP/20001000-00000007", "File for mode: unavail does not exist, SYSTEMSTATUS: , going to normal voicemail") in new stack
-- Executing [vmx@macro-vm:67] Goto("SIP/20001000-00000007", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("SIP/20001000-00000007", "get-vmcontext,20001001") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/20001000-00000007", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/20001000-00000007", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/20001000-00000007", "") in new stack
-- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("SIP/20001000-00000007", "20001001@default,u""") in new stack
-- <SIP/20001000-00000007> Playing 'vm-theperson.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/2.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/0.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/0.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/0.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/1.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/0.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/0.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'digits/1.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'vm-isunavail.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'vm-intro.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'beep.ulaw' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/20001001/tmp/O0xglr format: wav49, 0x8b2ab38
-- x=1, open writing: /var/spool/asterisk/voicemail/default/20001001/tmp/O0xglr format: wav, 0x8b86b88
-- User ended message by pressing #
-- <SIP/20001000-00000007> Playing 'auth-thankyou.ulaw' (language 'en')
-- <SIP/20001000-00000007> Playing 'vm-review.ulaw' (language 'en')
-- Reviewing the message
-- <SIP/20001000-00000007> Playing '/var/spool/asterisk/voicemail/default/20001001/tmp/O0xglr.slin' (language 'en')
-- <SIP/20001000-00000007> Playing 'vm-review.ulaw' (language 'en')
-- Saving message as is
-- <SIP/20001000-00000007> Playing 'vm-msgsaved.ulaw' (language 'en')
-- Executing [s-CHANUNAVAIL@macro-vm:3] Goto("SIP/20001000-00000007", "exit-SUCCESS,1") in new stack
-- Goto (macro-vm,exit-SUCCESS,1)
-- Executing [exit-SUCCESS@macro-vm:1] GotoIf("SIP/20001000-00000007", "0?exit-RETURN,1") in new stack
-- Executing [exit-SUCCESS@macro-vm:2] Playback("SIP/20001000-00000007", "goodbye") in new stack
-- <SIP/20001000-00000007> Playing 'goodbye.gsm' (language 'en')
-- Executing [exit-SUCCESS@macro-vm:3] Hangup("SIP/20001000-00000007", "") in new stack
== Spawn extension (macro-vm, exit-SUCCESS, 3) exited non-zero on 'SIP/20001000-00000007' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/20001000-00000007' in macro 'exten-vm'
== Spawn extension (from-internal, 20001001, 1) exited non-zero on 'SIP/20001000-00000007'
-- Executing [h@from-internal:1] Macro("SIP/20001000-00000007", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/20001000-00000007", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/20001000-00000007", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/20001000-00000007", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/20001000-00000007", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/20001000-00000007' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/20001000-00000007'
localhost*CLI>
==============
[root@localhost INBOX]# pwd
/var/spool/asterisk/voicemail/default/20001001/INBOX
[root@localhost INBOX]# ls
[root@localhost INBOX]#
[root@localhost tmp]# pwd
/var/spool/asterisk/voicemail/default/20001001/tmp
[root@localhost tmp]# ls
[root@localhost tmp]#
sip.conf
[20001000]
type=peer
host=dynamic
allow=all
videosupport=yes
[20001001]
type=peer
host=dynamic
allow=all
videosupport=yes