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 10: Line 10:


[[file:yealinkrpsaddserver2.png|400px]]
[[file:yealinkrpsaddserver2.png|400px]]
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:
<pre>
<?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>
</pre>
[[file:yealinkrpsphonemode.png|400px]]

Revision as of 04:49, 26 September 2018

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