I have hard time making pjsua register with Freepbx:
Freepbx is not responding at all to pjsua REGISTER (both perfectly reachable from each other)
According to pjsua forum discussion, the issue is elsewhere (Freepbx config)
Here I included the extension config:
pjsua command used:
/pjsua-x86_64-unknown-linux-gnu --id sip:[email protected] --registrar sip:192.168.22.10 --realm “*” --username 101 --password user101
According to wireshark packet capture, the client REGISTER packet sent by pjsua doesn’t contain the authorization header.
Here is the packet capture compared to working linphone registration:
If no credentials (in the Authorization header field) are provided in the request, the
UAS can challenge the originator to provide credentials by rejecting
the request with a 401 (Unauthorized) status code.
In my case Freepbx doesn’t respond at all to the UAC.
Any help is appreciated.