I can not get oure server to registre against sip,host,xx. It will not send the correct realm in theProxy Auth.
I use this registration string:
username:password@sip,host,xx/usertrunk
Result:
Proxy-Authorization: Digest username=“username”, realm=“null”, algorithm=MD5, uri=“sip:sip,host,xx”
and tried with this:
username@domain,xx:password@sip,host,xx/usertrunk
Result:
Proxy-Authorization: Digest username=“username”, realm=“doamin.xx”, algorithm=MD5, uri=“sip:domain,xx”
The provider tells my to add the realm under Outbound Proxy. But how in asterisk?
Normally, the provider supplies the realm in the WWW-Authenticate header of the 407 response. It’s not something that the user would set directly.
Do you have a working connection using a softphone (Zoiper, MicoSIP, PhonerLite, Linphone, …) connecting directly to the provider? If so, post all non-default settings and we can suggest the equivalent settings for a pjsip trunk. Of course, redact username and password but keep the format intact.