Asterisk Outbound Call Failures PropertyWordPress Plugin Lead Sync
Summary
This guide helps you troubleshoot and resolve: Asterisk Outbound Call Failures PropertyWordPress Plugin Lead Sync. Follow the steps below to fix the issue.
Common Causes
Fixing Asterisk Outbound Call Failures from WordPress Property Leads Plugin
This guide addresses outbound call failures in Asterisk VoIP PBX systems caused by integration conflicts with property management WordPress plugins. When lead synchronization breaks between your property portal and your PBX, agents may experience failed click-to-dial actions or unknown caller IDs when contacting leads from property listing dashboards. The most common cause is mismatched SIP peer credentials following a WordPress plugin update, which prevents the property leads plugin from authenticating with the Asterisk PBX.
/etc/asterisk/sip.conf or /etc/asterisk/pjsip.conf. Reloading Asterisk to apply configuration changes may briefly drop active calls.
Quick Fix Steps
- Identify which property leads plugin is installed on your WordPress site.
- Verify that SIP peer credentials in the plugin settings match those configured in your Asterisk PBX.
- Check the Asterisk console for registration errors or authentication failures.
- Test outbound dialling from an agent dashboard to confirm the issue persists.
Detailed Instructions
Identify Your Property Leads Plugin
- Log in to your WordPress admin dashboard.
- Navigate to Plugins > Installed Plugins in the left-hand menu.
- Look for plugins with names such as Property Leads, Real Estate Lead Capture, or Property Management CRM Sync.
- Note the exact plugin name and version number, as menu paths and setting names may vary between plugins.
Verify Plugin SIP Credentials
- Navigate to Plugins > Installed Plugins > [Your Property Leads Plugin] > Settings.
- Locate the SIP Configuration or PBX Integration section.
- Review the following fields:
-
- SIP username
- SIP password / secret
- PBX host or IP address
- Port (typically
5060for UDP) - Caller ID number
- Compare these values against the credentials defined in your Asterisk configuration file.
- If any values differ, update the plugin settings to match the PBX exactly.
- Select Save Changes.
Check Asterisk Registration Status
- Access your Asterisk PBX via SSH or the management console.
- Determine your Asterisk version by running
asterisk -V. - For Asterisk 13 and earlier using chan_sip, run
sip show peers. - For Asterisk 16, 18, and later using pjsip, run
pjsip show endpoints. - Look for the WordPress plugin peer or endpoint in the list.
- If the status shows
UNREACHABLEorRejected, the PBX is not receiving valid registration from the plugin. - Review the Asterisk log file for authentication errors.
- Correct any credential mismatches and reload the Asterisk configuration.
Test Outbound Calling from Property Dashboard
- Open your property management dashboard in WordPress.
- Navigate to the Leads or Property Listings section.
- Select a lead record and initiate a click-to-dial outbound call.
- Observe whether the call connects and whether the correct caller ID is displayed.
- If the call fails, check the Asterisk console in real time while dialling to capture the specific error code.
Troubleshooting
Plugin Update Caused Credential Reset
After a WordPress plugin update, settings can occasionally revert to defaults. Re-enter your SIP peer credentials in the plugin settings and save the configuration. Ensure the plugin is compatible with your current version of WordPress before updating.
NAT Traversal Issues
If your WordPress server and Asterisk PBX are on different networks, NAT traversal may prevent SIP signalling from reaching its destination. Ensure that NAT settings are configured correctly on both the WordPress server firewall and the Asterisk PBX. Consider using a static IP address for the PBX to avoid connectivity issues caused by dynamic IP changes.
Codec Mismatch
A codec mismatch between the WordPress plugin and the Asterisk PBX can cause call setup failures or one-way audio. Verify that both endpoints support a common codec, such as ulaw or alaw. Check the codec order in your Asterisk configuration and ensure the plugin is not forcing an unsupported codec.
One-Way Audio
One-way audio is typically caused by firewall rules blocking RTP media ports. Ensure your firewall permits RTP traffic on ports 10000–20000 between your WordPress server and the Asterisk PBX. If you use a cloud PBX, confirm the PBX can reach your WordPress server's IP address.
Firewall Blocking SIP Traffic
Ensure your firewall permits SIP traffic on port 5060 (UDP) and RTP media ports (typically 10000–20000) between your WordPress server and the Asterisk PBX. If you use a cloud PBX, confirm the PBX can reach your WordPress server's IP address.
DNS or Hostname Resolution Issues
If your plugin connects to the PBX using a hostname rather than an IP address, verify that the WordPress server can resolve the PBX hostname. Replace the hostname with the PBX's static IP address if DNS resolution is unreliable.
chan_sip vs pjsip Version Compatibility
Asterisk versions differ in their SIP channel drivers. Asterisk 13 and earlier primarily use chan_sip, while Asterisk 16, 18, and later use pjsip. Ensure your WordPress property leads plugin is configured for the correct channel driver. The command sip show peers applies to chan_sip, while pjsip show endpoints applies to pjsip. Using the wrong command will not display the registration status you need to troubleshoot.
If you have completed these steps and outbound calls continue to fail, Open a Ticket with details of the error message and any recent plugin or PBX changes.
Still Having Issues?
💻 Open a Ticket