Auto Provisioning with Chunked encoding
Last modified date: 2017/02/22 views: 966
Description


Provisioning the phone with Dynamic generated configure file, which is sent from server as a Chunked response. Both HTTP and HTTPS are supported by Yealink IP Phones.


Resolution


Both HTTP and HTTPS are supported Chunked encoding on Yealink IP phone.

The format will be as below:

Chunked-Body   = *chunk
                        last-chunk
                        trailer
                        CRLF

chunk          = chunk-size [ chunk-extension ] CRLF
                        chunk-data CRLF
chunk-size     = 1*HEX
last-chunk     = 1*("0") [ chunk-extension ] CRLF

chunk-extension= *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
chunk-ext-name = token
chunk-ext-val  = token | quoted-string
chunk-data     = chunk-size(OCTET)
trailer        = *(entity-header CRLF)

 

The chunk-size field is a string of hex digits indicating the size of the chunk. The chunked encoding is ended by any chunk whose size is    zero, followed by the trailer, which is terminated by an empty line.

 

The reference file:

https://tools.ietf.org/html/rfc2616#section-14.40


Product Type
CP860 , SIP VP-T49G , SIP-T48S , SIP-T48G , SIP-T46S , SIP-T46G , SIP-T42S , SIP-T42G , SIP-T41S , SIP-T41P , SIP-T40P , SIP-T29G , SIP-T27G , SIP-T27P , T4S , SIP-T23G , SIP-T23P , SIP-T21(P) E2 , SIP-T19(P) E2 , W52P , W56P , CPN10 PSTN Box , Expansion microphone CPE80 , LCD Expansion Module EXP20 , Yealink DECT Repeater RT20 , Yealink DECT Repeater RT10 , Yealink Bluetooth USB Dongle , LCD Expansion Module EXP40 , Wireless Headset Adapter EHS36 , Call Center Headset YHS32 , Yealink Wi-Fi USB Dongle , Download Documents , VP530 , SIP-T38G , SIP-T32G , SIP-T28P , SIP-T26P , SIP-T22P , SIP-T21P , SIP-T20P , SIP-T19P , IP Phone Expansion Module EXP38 , LCD Expansion Module EXP39
Version
Suggest to use firmware V80 or
200/200
Please login to post your comment