We recently upgrade to FreePBX version 6.12.65-24. Since that, suddenly many registrations failed whitout reason. We got the error log message:
res_pjsip/pjsip_options.c:315 qualify_contact: Unable to apply outbound proxy on request to qualify contact sip:[email protected]:5060
The problem comes from the AstDB whrere the registrar entries suddenly change to this:
/registrar/contact/324;@sip:[email protected]:5060:{“outbound_proxy”:“asterisk”,“uri”:“sip:[email protected]:5060”,“user_agent”:"PolycomSoundPointIP-SPIP_550-
Notice the “asterisk” value for outbound_proxy setting. Where does it come from? We don’t use NAT and all endpoints are on local private network. Something happen maybe about network discovery and Asterisk believe these endpoints are behind NAT and use proxy. But we don’t…
What can we do to disabled this? I have noticed in pjsip.endpoint.conf that overwrite_contact is set to “yes”, should it be set to “no” since we don’t use NAT?
Here some configs maybe we set wrong: