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: [EMAIL PROTECTED] [mailto:asterisk-users-
>>[EMAIL PROTECTED] 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

Reply via email to