dOpensource/dsiprouter

[BUG] Prefixes are not being sent to the carrier

Closed this issue · 0 comments

Describe the bug

Prefixes are not being sent over in the RUI when set by the user in Carrier Groups

To Reproduce
Steps to reproduce the behavior:

  1. Login to dSIPRouter
  2. Click Carriers
  3. Click Endpoint
  4. Add a Carrier endpoint with a Prefix
  5. Configure an Outbound route to use the Carrier Group
  6. Place a call and look at the sngrep

Expected behavior

The tech prefix should be concatenated to the rU

Screenshots

Server Info:

  • OS: output from uname -a
  • Distro: output from cat /etc/os-release
  • dSIPRouter Version: v0.74
    If not on a release version include the branch name and last commit id
  • Kamailio Version: output from kamailio -v
  • RTPengine Version: output from rtpengine -v
  • Python Package Versions: if applicable, include output from /opt/dsiprouter/venv/bin/python -m pip freeze

Client Info:

  • Device: e.g. Polycom VVX 350, Lenovo Thinkpad X1, ..
  • OS: e.g. Windows 11, Ubuntu 22.04, ..
  • Client Software: e.g. Mozilla Firefox 103.0, Zoiper 5.5.13, ..

Additional context

This is being caused due to the rU being replaced with the original rU on line 1313. I think the original rU should be stored in a avp versus a var. We really just need to have the original rU if we need to failover to another Carrier Endpoint or CarrierGroup via a Failover route.

Work Around
Comment out line 1313 in your kamailio.cfg file