Don Pobanz
2003-Mar-14 09:22 UTC
[Asterisk-Users] cdr showing BYEXTENSION, not actual extension
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
Steven Critchfield
2003-Mar-14 09:56 UTC
[Asterisk-Users] cdr showing BYEXTENSION, not actual extension
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@basesys.com>
Don Pobanz
2003-Mar-14 10:31 UTC
[Asterisk-Users] cdr showing BYEXTENSION, not actual extension
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@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 theappropriate> > * > > 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 entersan> > > > 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 theApplication> > > > 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@basesys.com> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Mark Spencer
2003-Mar-14 11:11 UTC
[Asterisk-Users] cdr showing BYEXTENSION, not actual extension
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@basesys.com> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
James Golovich
2003-Mar-14 12:32 UTC
[Asterisk-Users] cdr showing BYEXTENSION, not actual extension
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 <critch@basesys.com> > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >