[asterisk-users] asterisk call unique id in dialplan

nik600 nik600 at gmail.com
Fri Jun 29 05:06:30 CDT 2007


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



More information about the asterisk-users mailing list