dOpensource / dsiprouter

UI Interface for implementing Kamailio to provide PBX Hosting and SIP Trunking Services
https://dsiprouter.org
Apache License 2.0
194 stars 103 forks source link

[BUG] Prefixes are not being sent to the carrier #548

Closed mackhendricks closed 8 months ago

mackhendricks commented 9 months ago

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:

Client Info:

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