[Asterisk-Users] re: cdr and macros
yair hakak
yhakak at hotmail.com
Sat Mar 6 12:02:01 MST 2004
i've been playing with cdr_mysql and the Master.csv file, and since i use a
macro to define extensions the csv and the db both save the destination of
the call as "s", instead of the destination.
macro is as follows:
[macro-extensip]
exten =>s,1,Dial(SIP/${ARG1},10)
exten =>s,2,Voicemail(u${ARG1})
exten =>s,3,Hangup()
exten =>s,102,Voicemail(b${ARG1})
exten =>s,103,Hangup()
and extension matching:
exten => _XXX,1,Macro(extensip,${EXTEN})
pretty standard stuff. how can i get the cdr to show the actual destination?
I guess i could parse the dstchannel field but i'd rather see what the user
actually dialed as well.
sorry if i'm missing something basic,
yair
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
More information about the asterisk-users
mailing list