The latest developments in HTPC »

2 comments

  1. § spikyjt Email said on :
    *****
    Thanks so much for this. It saved me a lot of hassle. How did you find the encryption process for the config files? I searched everywhere but couldn't find any info about it.
    I modified the php for my needs and used a slightly different apache directive with mod_rewrite, as I have firmware in a sub directory of /prov.
    One issue I came across is the DST rule. This wont be a problem if you are in the USA, but in the UK (and others no doubt) the rule is different from the default. (Why didn't GS embed the rules in the firmware?) Unfortunately, you can't send the rule as you would write it in the config file, because it has commas and semi-colons, which have special meaning in the request format of the config data. I used a str_replace to swap them for hex codes. It doesn't like the dashes encoded for some reason and don't use url_encode - I tried that and it screwed up the data and killed one of my phones! Good job they are cheap...
    Thanks again.
  2. § ceri® Email said on :
    The config file is not encrypted, it's just all the values from the defaults text file are stripped on carrige returns, white spaces and comments and concatenated together. A 16 byte header with the MAC address, length and CRC are added to the start and some padding at the end (if needed) with an intentifier.

    You can find more information here
    http://www.voip-info.org/wiki/view/Grandstream+Configuration+Tool

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
Originaly designed and iconized by N.Design Studio. Ported to b2evolution by Tender Feelings