Thanks guys. Both work.
-Bruce

> Date: Fri, 12 Mar 2010 22:01:11 -0500
> From: c...@wanderinglost.ca
> To: het...@hotmail.com
> CC: asterisk@uc.org
> Subject: Re: [on-asterisk] Hexadecimal to human readable ???
> 
> On Fri, Mar 12, 2010 at 06:10:29PM -0500, Bruce N wrote:
> > 
> > I have a system that I forgot about for a while and it's crashed. Had 
> > Elastix installed. There were some custom IVR and recorded IVR on this 
> > system. Just browsing the asterisk database in mysql and this what I get:
> > 
> > id             -            HEX(filename)
> > 
> > "5"           -        637573746F6D2F6D61696E45    
> > 
> > Anyway to tell the exact file location from above alphadigit phrase? or is 
> > it encrypted?
> >
> 
> If you have a lot of them you can do it in a shell script with a bit of 
> python.. 
> I'd reckon that you can also use MySQL also.
> 
> HEX="637573746F6D2F6D61696E45" 
> python -c "import binascii ; print binascii.a2b_hex(\"$HEX\")"
>  
                                          
_________________________________________________________________
Live connected with Messenger on your phone
http://go.microsoft.com/?linkid=9712958

Reply via email to