Brian C. Fertig
2004-Sep-28 10:00 UTC
[Asterisk-Users] Looking for whoever wrote cdr_mysql
I don't completely understand this.. Lemme try it out.. [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) So when this is ran it will cut the cdr and the s will show the actual DID not the s correct? But then the NoOp would be something like: .... 1,NoOp(s,1,Answer) yada yada yada ... Correct? .o-------------------------------------------------------o. Brian Fertig Network Engineer Planet Telecom, Inc. Tampa, FL Office 813.901.5182x107 Office 813.864.3164 Direct 813.817.9961 Cellular 813.881.9762 Fax Web: www.planet-telecom.com email: brian@planet-telecom.com -------------------------->IM's<--------------------------- MSN: brian@planet-telecom.com AIM: ptelebrian Yahoo: ptele_brian -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Eric Wieling Sent: Tuesday, September 28, 2004 12:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Looking for whoever wrote cdr_mysql 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)
Brian C. Fertig wrote:>I don't completely understand this.. Lemme try it out.. > > >[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) > > > So when this is ran it will cut the cdr and the s will show the actual >DID not the s correct? But then the NoOp would be something like: > >.... 1,NoOp(s,1,Answer) >yada >yada >yada >... > >Correct? > >.o-------------------------------------------------------o. >Brian Fertig >Network Engineer >Planet Telecom, Inc. >Tampa, FL Office >813.901.5182x107 Office >813.864.3164 Direct >813.817.9961 Cellular >813.881.9762 Fax >Web: www.planet-telecom.com >email: brian@planet-telecom.com >-------------------------->IM's<--------------------------- >MSN: brian@planet-telecom.com >AIM: ptelebrian >Yahoo: ptele_brian > >-----Original Message----- >From: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Eric >Wieling >Sent: Tuesday, September 28, 2004 12:50 PM >To: Asterisk Users Mailing List - Non-Commercial Discussion >Subject: Re: [Asterisk-Users] Looking for whoever wrote cdr_mysql > >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) > >Yes. I donlt know for sure if that will make the CDR logs look the way you expect them to, but it can't hurt to try. If that doesn't work, I have an idea or two I can suggest. -------------- 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/94b618de/eric.vcf