[asterisk-users] cdr table's "dst" column

Helvio Junior helvio.listas at gmail.com
Fri Sep 11 11:31:34 CDT 2015


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 at safetrend.com.br

On 11-09-2015 12:16, Ethy H. Brito wrote:
> 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
>




More information about the asterisk-users mailing list