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

2003-03-14 Thread James Golovich
Sounds like a good idea to me.  Some of the builtin help still refers to
using BYEXTENSION as well so that needs to be changed too

James


On Fri, 14 Mar 2003, Mark Spencer wrote:

> 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  <[EMAIL PROTECTED]>
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


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

2003-03-14 Thread Steven Critchfield
On Fri, 2003-03-14 at 12:11, Mark Spencer wrote:
> Perhaps we should have BYEXTENSION print a warning that says the option is
> deprecated, what do you think?

I wouldn't be opposed to it.

/me runs to see if I'm still using BYEXTENSION in my important configs.


-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


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

2003-03-14 Thread Mark Spencer
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  <[EMAIL PROTECTED]>
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


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

2003-03-14 Thread Don Pobanz
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:[EMAIL PROTECTED] 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  <[EMAIL PROTECTED]>
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


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

2003-03-14 Thread Steven Critchfield
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  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


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

2003-03-14 Thread Don Pobanz
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?

Don Pobanz

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users