VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ethy.brito at inexo.co... Guest
|
Posted: Fri Sep 11, 2015 10:17 am Post subject: [asterisk-users] cdr table's "dst" column |
|
|
Hi All
What, by definition, goes to the cdr table's "dst" column ??
In our setup, to get outside the user has to dial X before any number.
This goes to the dst with the X stripped out.
I recently made some changes in a macro and after that the X appeared in this dst column!
I run through the script and see no differences between the old and the new one.
Then the question: What, by definition, goes to the cdr table's "dst" column ??
Is it the "identifier" field from the Dial command?
Regards
Ethy
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
cursor at telecomabmex... Guest
|
Posted: Fri Sep 11, 2015 11:16 am Post subject: [asterisk-users] cdr table's "dst" column |
|
|
On 9/11/15 10:16 AM, Ethy H. Brito wrote:
Quote: | Hi All
What, by definition, goes to the cdr table's "dst" column ??
In our setup, to get outside the user has to dial X before any number.
This goes to the dst with the X stripped out.
I recently made some changes in a macro and after that the X appeared in this dst column!
I run through the script and see no differences between the old and the new one.
Then the question: What, by definition, goes to the cdr table's "dst" column ??
Is it the "identifier" field from the Dial command?
Regards
Ethy
| The value of the dst column is the number you dialed. If you dial
9 to get an outside line, that 9 will be in the dst field unless you
manipulate the value. At least for me this has always been the case.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
helvio.listas at gmail... Guest
|
Posted: Fri Sep 11, 2015 11:31 am Post subject: [asterisk-users] cdr table's "dst" column |
|
|
Ethy,
The number that is recorded in "dst" is the last EXTEN in your dialplan,
so if you need record another number you can create a new context and
change to this context with Goto.
Follows an example:
exten = _9X.,1,Dial...
And you need to record without "9" you can do this:
exten = _9X.,1,Goto(context,${EXTEN:1},1)
and in your new context this:
exten = _X.,1,Dial...
Rgs,
Att,
Hélvio Junior
SafeId - Gestão de identidades e Acessos
+55 41 | 9893-2694, single-sign-on.com.br
helvio.junior@safetrend.com.br
On 11-09-2015 12:16, Ethy H. Brito wrote:
Quote: | Hi All
What, by definition, goes to the cdr table's "dst" column ??
In our setup, to get outside the user has to dial X before any number.
This goes to the dst with the X stripped out.
I recently made some changes in a macro and after that the X appeared in this dst column!
I run through the script and see no differences between the old and the new one.
Then the question: What, by definition, goes to the cdr table's "dst" column ??
Is it the "identifier" field from the Dial command?
Regards
Ethy
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
ethy.brito at inexo.co... Guest
|
Posted: Fri Sep 11, 2015 1:02 pm Post subject: [asterisk-users] cdr table's "dst" column |
|
|
On Fri, 11 Sep 2015 13:31:34 -0300
Helvio Junior <helvio.listas@gmail.com> wrote:
Quote: | Ethy,
The number that is recorded in "dst" is the last EXTEN in your dialplan,
so if you need record another number you can create a new context and
change to this context with Goto.
Follows an example:
exten = _9X.,1,Dial...
And you need to record without "9" you can do this:
exten = _9X.,1,Goto(context,${EXTEN:1},1)
and in your new context this:
exten = _X.,1,Dial...
|
Hmmm!!
That solved the issue.
One of the modificativos I did was to remove an "unnecessary" Goto!!
Thanx
Regards
Ethy
Quote: |
Rgs,
Att,
Hélvio Junior
SafeId - Gestão de identidades e Acessos
+55 41 | 9893-2694, single-sign-on.com.br
helvio.junior@safetrend.com.br
On 11-09-2015 12:16, Ethy H. Brito wrote:
Quote: | Hi All
What, by definition, goes to the cdr table's "dst" column ??
In our setup, to get outside the user has to dial X before any number.
This goes to the dst with the X stripped out.
I recently made some changes in a macro and after that the X appeared in
this dst column!
I run through the script and see no differences between the old and the new
one.
Then the question: What, by definition, goes to the cdr table's "dst"
column ??
Is it the "identifier" field from the Dial command?
Regards
Ethy
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|