Jump to content

New MAC range for Grandstream phones


chrispopp
 Share

Recommended Posts

Added this to the pnp_grandstream.xml 

 

  <file name="grandstream-gxp2130.xml" encoding="xml">
    <pattern mac="3">cfgc074ad######.xml</pattern>
    <user-agent>Grandstream.*GXP21(30|35|40|60|70)</user-agent>
    <prefix>true</prefix>
    <vendor>Grandstream</vendor>
  </file>

Still does not work. 

[9] 10:25:25.499	PROV:	Provision for User-Agent Grandstream Model HW GXP2140 SW 1.0.9.135 DevId c074adxxxxxx
[8] 10:25:25.499	PROV:	HTTP: Received request for file cfg.xml from 
Host: localpbx.com
User-Agent: Grandstream Model HW GXP2140 SW 1.0.9.135 DevId c074adxxxxxx
Accept: */*

[8] 10:25:25.499	PROV:	PnP: Extracted MAC for file cfg.xml
[7] 10:25:25.499	PROV:	HTTP: Error generating or finding grandstream-reject2, Send back 404 Not Found

Any ideas?

Link to comment
Share on other sites

We have added that to the 63.0.6 .dat file. Essentially these are the important changes in the pnp_grandstream.xml file (for all models, similar). In a nutshell it is not neccessary that we check the beginning of the MAC any more because we are already checking the user agent: 

   <file name="grandstream-ht80x.xml" encoding="xml">
-    <pattern mac="3">cfg000b82######.xml</pattern>
+    <pattern mac="3">cfg############.xml</pattern>
     <user-agent>Grandstream.*HT80.</user-agent>
     <prefix>true</prefix>
     <vendor>Grandstream</vendor>
   </file>
 

The only exception is the grandstream-reject which keeps the phone continue with the provisioning process:

   <file name="grandstream-reject1">
     <pattern>cfg000b82######</pattern>
+    <pattern>cfgc074ad######</pattern>
     <prefix>true</prefix>
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...