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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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? â
>
> Ë+RÇf)+Ë+RÇXÇ+r XÇ+r+wz P   j ØË+a XbÇ+r+-w -z 

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to