Plum DEV Documentation
routes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
routes [2017/08/11 18:05]
admin created
routes [2017/08/14 11:13]
admin
Line 8: Line 8:
 To get started you will need to log into Plum Routes: To get started you will need to log into Plum Routes:
  
-[[https://router.plumvoice.com/​]]+[[https://routes.plumvoice.com/​]]
  
 {{::​login.png|}} {{::​login.png|}}
Line 40: Line 40:
     <!-- trap disconnect events to report the completion of this session -->     <!-- trap disconnect events to report the completion of this session -->
     <catch event="​connection.disconnect">​     <catch event="​connection.disconnect">​
-      <data name="​route"​ src="​http://​router.local.plumvoice.com/​ws/​complete"​ method="​post"​ namelist="​session.id"​ accept="​application/​json"/>​+      <data name="​route"​ src="​http://​routes.local.plumvoice.com/​ws/​complete"​ method="​post"​ namelist="​session.id"​ accept="​application/​json"/>​
     </​catch>​     </​catch>​
   </​form>​   </​form>​
Line 47: Line 47:
 In the code above you will notice a reference to $$route_group_url$$. ​ You will need to replace this with the URL for your route group. ​ You can find the URL in the route manager by right clicking on the link icon ({{::​route_group_link.png |}}) and selecting copy from the context menu in your browser. ​ Your link should look something like this: In the code above you will notice a reference to $$route_group_url$$. ​ You will need to replace this with the URL for your route group. ​ You can find the URL in the route manager by right clicking on the link icon ({{::​route_group_link.png |}}) and selecting copy from the context menu in your browser. ​ Your link should look something like this:
  
-<​code>​http://​router.local.plumvoice.com/​ws/​route/​2/​24d2cebbaae24adc9e13e9f85116bd41</​code>​+<​code>​http://​routes.local.plumvoice.com/​ws/​route/​2/​24d2cebbaae24adc9e13e9f85116bd41</​code>​
  
-This link is unique to your route and you will need to place that in your VoiceXML replacing $$route_group_url$$ in the code sample provided above. ​ The sample code will now automatically load balance any call transfers using the percent allocation you provided when the route group was created. ​ The <​data>​ tag call to http://router.local.plumvoice.com/​ws/​complete is not explicitly required but it is a good practice to avoid any delays in updating the list of active sessions on your route which can impact the fairness of your load balancing.+This link is unique to your route and you will need to place that in your VoiceXML replacing $$route_group_url$$ in the code sample provided above. ​ The sample code will now automatically load balance any call transfers using the percent allocation you provided when the route group was created. ​ The <​data>​ tag call to http://routes.local.plumvoice.com/​ws/​complete is not explicitly required but it is a good practice to avoid any delays in updating the list of active sessions on your route which can impact the fairness of your load balancing.
  
 ====Final Notes==== ====Final Notes====