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

Mark Spencer markster at digium.com
Fri Mar 14 11:11:25 MST 2003


Perhaps we should have BYEXTENSION print a warning that says the option is
deprecated, what do you think?

Mark

On 14 Mar 2003, Steven Critchfield 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