Problem with the voicemail

Joined: Tue 24 of May, 2011

Problem with the voicemail

Posted:Tue 24 of May, 2011 (14:06 UTC)
I'm new in asterisk, and having a problem with the voicemail...
I have instaled in my machine the trixbox with asterisk 1.4.22-4
After configure the extensions.conf with a macro e add a entry in the voicemail.conf
Everytime that I call to a sip, after the time set in macro, the call goes out with hang-up

my macro:
exten => s,1,Dial(SIP/${ARG1},12)
exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)
exten => s,n(unavail),Voicemail(${MACRO_EXTEN}@default,u)
exten => s,n,Hangup()
exten => s,n(busy),VoiceMail(${MACRO_EXTEN}@default,b)
exten => s,n,Hangup()

the entry in extensions.conf to call voicemail:
exten => 7960,1,Macro(correiodevoz,7960)

the entry in voicemail.conf:

Executing [7960@funcionarioT1+cel+DDD+0300+DDI:1] Macro("SIP/361640231-aaf6a260", "correiodevoz|7960") in new stack
Executing [s@macro-correiodevoz:1] Dial("SIP/361640231-aaf6a260", "SIP/7960|12") in new stack
Executing [s@macro-correiodevoz:2] GotoIf("SIP/361640231-aaf6a260", "0?busy:unavail") in new stack
Goto (macro-correiodevoz,s,3)
Executing [s@macro-correiodevoz:3] VoiceMail("SIP/361640231-aaf6a260", "7960@default|u") in new stack
Spawn extension (macro-correiodevoz, s, 3) exited non-zero on 'SIP/361640231-aaf6a260' in macro 'correiodevoz'
Spawn extension (macro-correiodevoz, s, 3) exited non-zero on 'SIP/361640231-aaf6a260'