FreeSBC Troubleshooting
From TBwiki
(Difference between revisions)
(→Forwarding Modes) |
(→FreeSBC forwards incoming registration messages to the registrar but registrar returns an error) |
||
Line 40: | Line 40: | ||
*The "Contact Remapping" forwarding mode modifies contact username portion of the contact URI in SIP register requests and make it unique. | *The "Contact Remapping" forwarding mode modifies contact username portion of the contact URI in SIP register requests and make it unique. | ||
[[Image:Forwarding_Modes.png|400px| ]] | [[Image:Forwarding_Modes.png|400px| ]] | ||
+ | |||
+ | ===Forward original headers from incoming request === |
Revision as of 02:47, 10 January 2019
Contents |
Scheduling Problems
You may see the SBC tab in the general status as yellow. When you select it:
Status -> SBC
You may see “Scheduling problem sbc list” with the hostname of the FreeSBC. If you select it, you may see “Scheduling problem alarm” set to “true”
Status containing “scheduling” problem may point to:
- Non-dedicated (or not ‘pinned’) CPU [Open-stack]
- Not enough CPU reservation [Vmware]
- Memory is not dedicated to the Virtual Machine (VM)
- Too many active virtual machines fighting for resources on the host
- On KVM based installations (proxmox,virtmanager) CPU type must set to “host”
You need to be sure other VMs are not taking resources from FreeSBC VM instance. Follow requirements shown here: FreeSBC requirements
Registration Errors
Endpoint sends the register request to FreeSBC however the FreeSBC is not forwarding it to the registrar
- Check if SIP domain configured correctly
- Check the SIP domain Status. Be sure domain registrar can be reached by FreeSBC
Go to Status -> SIP -> SIP Domain -> Status -> SIP Registration Domains
- Check if SIP client sends correct Domain name to FreeSBC. You can capture a SIP trace (see Signaling trace capture tool ) and use Wireshark to analyze the trace. Look at the “To:” SIP header: it must match what is in the Sıp Domain configuration of the FreeSBC.
FreeSBC forwards incoming registration messages to the registrar but registrar returns an error
- Check if SIP domain configured with correct registrar setting
- Check if Registrar NAP configured with a correct IP address
- Check if your client configured with correct username and password
- Check the forwarding modes on FreeSBC, and select the correct one
Forwarding Modes
FreeSBC always modifies the contact URI in SIP register requests to remain on the path between SIP User Agents and registrars. FreeSBC supports two different SIP registration forwarding modes (i.e. "Contact Remapping" or "Contact Passthrough").
- The "Contact Passthrough" forwarding mode makes contact username portion of the contact URI in SIP register requests to pass through unchanged.
- The "Contact Remapping" forwarding mode modifies contact username portion of the contact URI in SIP register requests and make it unique.