I use CDR(userfield) to store dialed numbers
[call9]
exten => s,2,Set(CDR(userfield)=${number})
exten => s,3,Dial(Zap/2/${number}|40)
[outgoing]
exten => _9.,1,Set(number=${EXTEN:1})
exten => _9.,2,Goto(call9|s|1))
in cdr i have
| dst | userfield
+-----+-----------------
| s | ${number}
I have Asterisk set up to write call detail records to MySQL. The
number written to the dst field is the number dialled by the user
including any prefix (e.g. 12125554433 where 1 gives an outside line).
However this is not the number dialled by Asterisk (e.g. in this case
Asterisk would drop the 1 and dial 2125554433). Is it possible to
write the CDR record with the number dialled by Asterisk rather than
that dialled by the user?
Any advice appreciated.
Regards
Cameron
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users