Hi everyone,
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
Freepbx config:
https://drive.google.com/file/d/0BzYXUSsUVFR_ZnpkMjFWbURwWnM/view?usp=sharing
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:
https://drive.google.com/file/d/0BzYXUSsUVFR_ZjIxZVN1OUExWms/view?usp=sharing
From RFC 3261 - SIP: Session Initiation Protocol
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.