[asterisk-users] Random File Name

Danny Nicholas danny at debsinc.com
Tue Sep 14 11:22:11 CDT 2010


>From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zeeshan
Zakaria
>Sent: Tuesday, September 14, 2010 11:15 AM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: Re: [asterisk-users] Random File Name

 

>Can you post what are you doing to see UNIQUEID? And also what version of
Asterisk you are using?

>Zeeshan A Zakaria

--
www.ilovetovoip.com

>>On 2010-09-14 12:11 PM, "Dan Journo" <dan at keshercommunications.com> wrote:

>>> ${UNIQUEID} is going to be realtivly unique certnely in the short term 

>>I dont understand something. When I do ${UNIQUEID}, I get something like
this:-

>>"SIP/215.166.5.140-00000bbf"

>>Is this correct? Its not a valid file name.

>>Thanks
>>Dan

My guess is that "Dan" is doing something like this

Exten => 1234,1,Verbose(ID is ${EXTEN})

"SIP/215." is an ${EXTEN} value

Should be doing something like 

Exten => 1234,1,Verbose(ID is ${UNIQUEID})

This should return something like

120003949488.0003

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100914/9fd4938c/attachment.htm 


More information about the asterisk-users mailing list