[Asterisk-Users] cdr showing BYEXTENSION, not actual extension

Don Pobanz dpobanz at hastingsutilities.com
Fri Mar 14 10:31:13 MST 2003


That did it!

By using
${EXTEN}
instead of
BYEXTENSION
My call detail record now shows "ZAP/g1/xxx" where xxx is my extension 
number.

Thanks.

Don Pobanz


On Friday, March 14, 2003 10:56 AM, Steven Critchfield 
[SMTP:critch at basesys.com] wrote:
> On Fri, 2003-03-14 at 10:22, Don Pobanz wrote:
> > We have a group of lines (FXO/FXS) between our Rolm PBX and our
> > Asterisk server. From the asterisk server any extension can be
> > dialed
> > regardless of system. Asterisk will then either ring the 
appropriate
> > *
> > extension or will dial a line into our Rolm PBX and dial the
> > appropriate Rolm extension.
> >
> > The cdr works fine when an internal * phone is used. The problem is
> >
> > when an outside call comes in and * answers and the caller enters 
an
> >
> > extension which is on the Rolm PBX. What I would like to see is a
> > call
> > detail records with the Rolm PBX extension that was dialed. 
However,
> >
> > the called field of the call record contains "s" and the 
Application
> >
> > and argument contain "Dial" and "Zap/g1/BYEXTENSION".
> > ("Zap/g1/BYEXTENSION" is what is in my extensions.conf file).
> > Instead
> > of seeing "BYEXTENSION" I would like to see the actual extension
> > number. Any suggestions?
>
> Just a guess here, but try using ${EXTEN} instead of BYEXTENSION. I
> think it will replace ${EXTEN} with the value before it goes to the
> record.
>
> --
> Steven Critchfield  <critch at basesys.com>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list