Integrating with Yealink Redirection and Provisioning Service (RPS): Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 39: Line 39:


[[file:yealinkrpsphonemode.png|400px]]
[[file:yealinkrpsphonemode.png|400px]]
Content type must by application/json;charset=UTF-8

Latest revision as of 05:26, 5 February 2021

A nice client of me as written a nice guide to have Yealking RPS service integrated with Phone provisioning, so when you create or update your phone entry in Configuration/Provisioning/Phone, your RPS entry will be created or updated.

Log in your RPS account at https://dm.yealink.com/manager/login

After logging in click "Server Management" on the left sidebar and click "Add Server" at the top

Yealinkrpsaddserver.png

Give your server a friendly name and add the provisioning URL and Save. You will pass the Server Name in the Remote provisioning POST message later.

Yealinkrpsaddserver2.png

In Admin --> Provisioning --> Phone Models create a Yealink profile and set the Remote provisioning POST message and details as shown:

Here is the example XML below:

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
   <methodName>redirect.registerDevice</methodName>
   <params>
      <param>
         <value>
            <string><![CDATA[{$mac}]]></string>
         </value>
      </param>
      <param>
         <value>
            <string><![CDATA[testName]]></string>
         </value>
      </param>
      <param>
         <value>
            <string><![CDATA[1]]></string>
         </value>
      </param>
   </params>
</methodCall>

Yealinkrpsphonemode.png

Content type must by application/json;charset=UTF-8