[Asterisk-Users] Looking for whoever wrote cdr_mysql

Eric Wieling eric at fnords.org
Tue Sep 28 09:49:49 MST 2004


david winter wrote:

> great. one thing i think should be addressed is the following. when 
> someon dials into * on DID 1112223333, and the exten for that is a 
> goto(context,s,1) the dst column in the cdr table  is populated with 
> s, not 1112223333. all in all i would like to log what nummber the 
> user dialed to get into the system.


What about:

[default]
exten => 1112223333,1,Macro(happy-did)

[macro-happy-did]

exten => s,1,Goto(${MACRO_EXTEN},1)

exten => _XXXXXXXXXX,1,NoOp(Normal "s" exten stuff here)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric.vcf
Type: text/x-vcard
Size: 146 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040928/c5c56543/eric.vcf


More information about the asterisk-users mailing list