FreePBX + Didww pjsip outbound trunk registration fails

I’m using FreePBX 16.0.21.9

Followed provider’s requirements to set up outbound trunk, sent requests for registration, but got warning: No response received.

Provider checked my settings and said that everything is correct, but for some reason they don’t see credentials needed for registration in my requests.

If my server had some troubles sending requests to outworld (port forwarding issues or whatever), Didww should not see my requests at all.

So, the issue is: credentials that I set in FreePBX are not included in registration requests.

37615	[2023-02-10 10:04:30] VERBOSE[2317] res_pjsip_logger.c: <--- Transmitting SIP request (574 bytes) to UDP:46.19.210.19:5060 --->	
37616	REGISTER sip:out.didww.com:5060 SIP/2.0	
37617	Via: SIP/2.0/UDP 37.232.82.193:5060;rport;branch=z9hG4bKPj56e8a7a8-bc47-491f-8fde-e7e5597a980b	
37618	From: <sip:[email protected]>;tag=be48cdd8-6388-4cff-b9ee-3ca1f306a23d	
37619	To: <sip:[email protected]>	
37620	Call-ID: de342c6a-0791-40c3-81da-aab92fbf65ad	
37621	CSeq: 31976 REGISTER	
37622	Contact: <sip:[email protected]:5060;line=uwuftae>	
37623	Expires: 3600	
37624	Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER	
37625	Max-Forwards: 70	
37626	User-Agent: FPBX-16.0.21.9(18.13.0)	
37627	Content-Length: 0	
37628		
37629		
37630	[2023-02-10 10:04:34] VERBOSE[2317] res_pjsip_logger.c: <--- Transmitting SIP request (574 bytes) to UDP:46.19.210.19:5060 --->	
37631	REGISTER sip:out.didww.com:5060 SIP/2.0	
37632	Via: SIP/2.0/UDP 37.232.82.193:5060;rport;branch=z9hG4bKPj56e8a7a8-bc47-491f-8fde-e7e5597a980b	
37633	From: <sip:[email protected]>;tag=be48cdd8-6388-4cff-b9ee-3ca1f306a23d	
37634	To: <sip:[email protected]>	
37635	Call-ID: de342c6a-0791-40c3-81da-aab92fbf65ad	
37636	CSeq: 31976 REGISTER	
37637	Contact: <sip:[email protected]:5060;line=uwuftae>	
37638	Expires: 3600	
37639	Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER	
37640	Max-Forwards: 70	
37641	User-Agent: FPBX-16.0.21.9(18.13.0)	
37642	Content-Length: 0	
37643		
37644		
37645	[2023-02-10 10:04:34] WARNING[2318] res_pjsip_outbound_registration.c: No response received from 'sip:out.didww.com:5060' on registration attempt to 'sip:[email protected]:5060', retrying in '60'

That’s not how it works. The REGISTER request is sent, and then the remote side challenges for authentication. The REGISTER request is then sent again WITH credentials. The challenge is used as part of the authentication. You don’t/can’t include the credentials in the initial REGISTER request.

Yes, there are 2 requests as you said. And the second register request contains no credentials.

Those aren’t two requests. That’s the same request, retransmitted, because it’s not getting a response/challenge.

Ok, that is obviously my network problem. Although 5060 port is opened and not blocked by firewall =(

Thank you!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.