dOpensource/dsiprouter

[BUG] Endpoint Group Weights are not being retrieved properly

Closed this issue · 0 comments

Describe the bug
Endpoint Group weight were not being updated and displayed properly. The weight field had semi-colon after each time it updates. This causes Kamailio not to start because the dispatcher module errors out on load or reload.

To Reproduce
Steps to reproduce the behavior:

  1. Login to dSIPRouter
  2. Click on Endpoint Groups
  3. Click on "Add"
  4. Add an endpoint and don't specify a value
  5. Select the endpoint group
  6. Click update on the newly created Endpoint Group

Expected behavior
A endpoint within a Endpoint Group should not have a semicolon (;) as a value or a value with a semicolon (i.e weight=10;)