Changes

Jump to navigation Jump to search
Line 38: Line 38:  
* Create an app project with the name "Houston" and enter the same Agora credentials as in your usual project.
 
* Create an app project with the name "Houston" and enter the same Agora credentials as in your usual project.
 
* If you want to receive calls, you must register your browser to receive notifications. This is a one-time action. As a security measure from the browser, this cannot be automated. Log in to Dynamics, go to '''Resco Suite > Houston''', and click '''Register Houston'''.<br>[[File:Register houston in dynamics.png|600px]]
 
* If you want to receive calls, you must register your browser to receive notifications. This is a one-time action. As a security measure from the browser, this cannot be automated. Log in to Dynamics, go to '''Resco Suite > Houston''', and click '''Register Houston'''.<br>[[File:Register houston in dynamics.png|600px]]
* If you want to initiate calls, you can for example add a button on the Dynamics user form that would point to the URL <code><nowiki>https://<dynamics-organization-url>/webresources/resco_MobileCRM/WebClient/registerHouston.html?data={encodedData}</nowiki></code>. Encoded data must be created in the following format:
+
* If you want to initiate calls directly from the Dynamics web app, you can for example add a button on the Dynamics user form that would point to a special URL; see [[Houston_video_calls#Custom_call_URL|Custom call URL]].
:<syntaxhighlight lang="js">
  −
var calleeId = "<callee's id>";
  −
var calleeName = "<callee's name>";
  −
var encodedData = encodeURIComponent("call&calleeId=" + calleeId + "&calleeName=" + calleeName);</syntaxhighlight>
      
== Add the command for initiating calls ==
 
== Add the command for initiating calls ==

Navigation menu