[asterisk-users] Asterisk mysql CDR

Nhadie nhadie at gmail.com
Tue Sep 23 22:26:06 CDT 2008


hi,

i'm using this macro to dial an extension and forward to a mobile if 
unavailable,busy or noanswer

exten => 100,1,Macro(dial-ext|SIP/${EXTEN}|vm-100|moh-100)
exten => 100,2,Goto(100-${DIALSTATUS}|1)
exten => 100-BUSY,1,Macro(dialout-local-mobile|91234567)
exten => 100-BUSY,2,Voicemail(100 at vm-100|u)
exten => 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
exten => 100-CONGESTION,2,Voicemail(100 at vm-100|u)
exten => 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
exten => 100-NOANSWER,2,Voicemail(100 at vm-100|u)

my prob is on the CDR, from extension 500 i called 100, 100 is not 
online so it should forward it to my mobile

but on the cdr it shows like this:

 From    To
500  	100-CHANUNAVAIL

should it be like

 From    To
500     91234567

or

 From    To
100     91234567

any idea how to fix those?

regards,
nhadie



More information about the asterisk-users mailing list