[Asterisk-Users] New Firmware for Grandstream Phones - Supports CFG by MAC address

Jens Davidsen jensdavidsen at jellingnet.dk
Mon Feb 9 10:25:00 MST 2004


Hi list,

I have worked a little on debugging the Grandstream cfg.txt file and here is
what i found out so far:
The binary header is like this:
00 00 01 00 (always the same start) 52 d2 (checksum of 2 bytes) 00 0b 82 00
XX XX (phones mac address in hex) 0d 0a 0d 0a (two carriage return and new
lines)
after this header the config follows in clear text - looks url encoded like
: P2=admin&P8=0... etc. (find the variables in the webconfig of the phone)
the clear text is terminated with a 00 byte
If anyone figures out how to calculate the 2 byte checksum then please tell
me ;-) (this information is from older firmwares - didnt check if they
changed binary header in the newer versions...)

Cheers,
Jens Davidsen

----- Original Message ----- 
From: "Matthew B Marlowe" <matthew at mmarlowe.com>
To: <asterisk-users at lists.digium.com>
Sent: Monday, February 09, 2004 5:23 PM
Subject: [Asterisk-Users] New Firmware for Grandstream Phones - Supports CFG
by MAC address


> The newest firmware from grandstream supports configuration by mac
address.
>
> Simply upload a file cfg<mac address>.txt
>
> Does anyone know the format of a cfg.txt? ☺
>
> ˮ+RDzf)+ˮ+RDzXǂ+r Xǂ+r+wz P   j ؞˲+a Xbǂ+r+-w -z 





More information about the asterisk-users mailing list