[Asterisk-Users] Looking for whoever wrote cdr_mysql
Brian C. Fertig
brian at planet-telecom.com
Tue Sep 28 10:00:02 MST 2004
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 at planet-telecom.com
-------------------------->IM's<---------------------------
MSN: brian at planet-telecom.com
AIM: ptelebrian
Yahoo: ptele_brian
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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)
More information about the asterisk-users
mailing list