I have gone through this and its very helpfull.
Please have look in to my Asterisk process logs:
-- Registered SIP '714' at 192.168.5.43 port 3058 expires 3600
-- Executing Macro("SIP/714-6ae2", "exten-vm|701@default|701") in new stack
-- Executing SetVar("SIP/714-6ae2", "FROMCONTEXT=exten-vm") in new stack
-- Executing Macro("SIP/714-6ae2", "record-enable|701|IN") in new stack
-- Executing GotoIf("SIP/714-6ae2", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing GotoIf("SIP/714-6ae2", "0?5:8") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing GotoIf("SIP/714-6ae2", "0?9:12") in new stack
-- Goto (macro-record-enable,s,12)
-- Executing DBget("SIP/714-6ae2", "RecEnable=RECORD-IN/701") in new stack
-- DBget: varname=RecEnable, family=RECORD-IN, key=701
-- DBget: Value not found in database.
-- Executing SetVar("SIP/714-6ae2", "CALLFILENAME=20090714-071708-1247570228.0") in new stack
-- Executing GotoIf("SIP/714-6ae2", "0?15:99") in new stack
-- Goto (macro-record-enable,s,99)
-- Executing NoOp("SIP/714-6ae2", "NO RECORDING NEEDED") in new stack
-- Executing Macro("SIP/714-6ae2", "dial|60|tr|701") in new stack
-- Executing GotoIf("SIP/714-6ae2", "0?4:2") in new stack
-- Goto (macro-dial,s,2)
-- Executing GotoIf("SIP/714-6ae2", "0?4:3") in new stack
-- Goto (macro-dial,s,3)
-- Executing SetCIDName("SIP/714-6ae2", "NewtworkTeam") in new stack
-- Executing AGI("SIP/714-6ae2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: priority = 4
-- dialparties.agi: extension = s
-- dialparties.agi: language = en
-- dialparties.agi: accountcode =
-- dialparties.agi: uniqueid = 1247570228.0
-- dialparties.agi: channel = SIP/714-6ae2
-- dialparties.agi: callerid = NewtworkTeam <714>
-- dialparties.agi: context = macro-dial
-- dialparties.agi: type = SIP
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: enhanced = 0.0
-- dialparties.agi: dnid = 701
dialparties.agi: Caller ID name is ‘NewtworkTeam’ number is ‘714’
– dialparties.agi: Added extension 701 to extension map
– dialparties.agi: Extension 701 cf is disabled
– dialparties.agi: Extension 701 do not disturb is disabled
– AGI Script dialparties.agi completed, returning 0
– Executing NoOp(“SIP/714-6ae2”, “Returned from dialparties with no extensions to call”) in new stack
– Executing SetVar(“SIP/714-6ae2”, “DIALSTATUS=BUSY”) in new stack
– Executing GotoIf(“SIP/714-6ae2”, “0?s-BUSY|1”) in new stack
– Executing GotoIf(“SIP/714-6ae2”, “0?s-BUSY|1”) in new stack
– Executing NoOp(“SIP/714-6ae2”, “Sending to Voicemail box 701@default”) in new stack
– Executing Macro(“SIP/714-6ae2”, “vm|701@default|BUSY”) in new stack
– Executing Goto(“SIP/714-6ae2”, “s-BUSY|1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing VoiceMail(“SIP/714-6ae2”, “b701@default”) in new stack
– Playing ‘vm-theperson’ (language ‘en’)
– Playing ‘digits/7’ (language ‘en’)
– Playing ‘digits/0’ (language ‘en’)
– Playing ‘digits/1’ (language ‘en’)
– Playing ‘vm-isonphone’ (language ‘en’)
– Playing ‘vm-intro’ (language ‘en’)
– Playing ‘beep’ (language ‘en’)
– Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/701/INBOX/msg0006 format: wav49, 0x90cf520
– x=1, open writing: /var/spool/asterisk/voicemail/default/701/INBOX/msg0006 format: wav, 0x90cf640
– User hung up
– Recording was 2 seconds long but needs to be at least 3 - abandoning
== Spawn extension (macro-vm, s-BUSY, 1) exited non-zero on ‘SIP/714-6ae2’ in macro ‘vm’
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on ‘SIP/714-6ae2’ in macro ‘exten-vm’
== Spawn extension (from-internal, 701, 1) exited non-zero on ‘SIP/714-6ae2’
– Executing Macro(“SIP/714-6ae2”, “hangupcall”) in new stack
– Executing ResetCDR(“SIP/714-6ae2”, “w”) in new stack
– Executing NoCDR(“SIP/714-6ae2”, “”) in new stack
– Executing Wait(“SIP/714-6ae2”, “5”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/714-6ae2’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/714-6ae2’
Can any one tell me why I get message extension is Buzy…However it is idle.
Please help me.