Free PBX: Outbound calls via LQ fail when a SIP-secret is configured
Question: Calls to longer outbound numbers via LQ often fail when Free PBX is configured with SIP secret enabled. Why does that happen?
Answer: On a Free PBX install make sure you allow TCP as well as UDP for SIP.
Explanation:
The reason for that behaviour is the SIP stack used use inside the LQ.
Whenever a SIP packet exceeds the size of 1300 bytes it will be sent out via TCP instead of UDP by the SIP-stack inside the LQ.
Now when a SIP secret is configured on Free PBX, Free PBX will challenge the LQ to send the Auth data, by replying to the first INVITE (which is typically sent without the Auth data) sending a 401 Unauthorised. This results in a second INVITE (now with the Auth data) to be sent from the LQ.
This second packet is likely to exceed the 1300 bytes limit for UDP, especially if longer phone numbers are called (e.g. international phone numbers longer than 12 digits).
Free PBX needs to see that second TCP INVITE, otherwise the LQ will never receive the proper response to that INVITE and the call will eventually time out.
Related content
CAN'T FIND YOUR ANSWER? CLICK HERE TO CONTACT SUPPORT
This solution was provided by Clear-Com via a question submitted to us by customers like you. If you wish to share with us a new solution or update an old one, please follow this link..
The information on this page is owned by Clear-Com and constitutes Clear-Com’s confidential and proprietary information, may be used solely for purposes related to the furtherance of Clear-Com’ business and shall not be disclosed, distributed, copied or disseminated without Clear-Com’s prior written consent. Click Here for Clear-Com's privacy statement.