[asterisk-users] asterisk call unique id in dialplan
nik600
nik600 at gmail.com
Fri Jun 29 12:41:32 CDT 2007
many thanks!
bye
On 6/29/07, Alexander Lopez <Alex.Lopez at opsys.com> wrote:
> In the top directory of your asterisk source in the doc dir there is a
> file that explains channel variables.
>
> From that file:
> ${UNIQUEID} * Current call unique identifier
>
> BEWARE the UNIQUEID can be repeated do not use this as a primary index
> on your databse.
>
>
> >>-----Original Message-----
> >>From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> >>bounces at lists.digium.com] On Behalf Of nik600
> >>Sent: Friday, June 29, 2007 6:07 AM
> >>To: Asterisk Users Mailing List - Non-Commercial Discussion
> >>Subject: [asterisk-users] asterisk call unique id in dialplan
> >>
> >>Hi
> >>
> >>how can i retrieve the call unique id of asterisk in the dialplan?
> >>
> >>I have enabled the cdr logging on a postgres database.
> >>
> >>In the table cdr each record has a field that assumes an unique id
> >>(for example: 1141628669.51)
> >>
> >>Can i retrieve this from the dialplan?
> >>
> >>For example:
> >>
> >>exten => 203,1,Answer
> >>exten => 203,2,Set(CALLERID(name)=UNIQUE_ID - ${var_name_unique_id})
> >>exten => 203,3,Dial(SIP/203)
> >>
> >>
> >>Can i do something similar that?
> >>How can i retrieve the unique_id generated?
> >>thanks.
> >>
> >>
> >>--
> >>/*************/
> >>nik600
> >>https://sourceforge.net/projects/ccmanager
> >>https://sourceforge.net/projects/nikstresser
> >>
> >>_______________________________________________
> >>--Bandwidth and Colocation Provided by http://www.api-digital.com--
> >>
> >>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--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
/*************/
nik600
https://sourceforge.net/projects/ccmanager
https://sourceforge.net/projects/nikstresser
More information about the asterisk-users
mailing list