<div dir="ltr">Trying out Asterisk 12 and the new pjsip module...<div><br></div><div>When I create an registration object that links to an auth object, the registration fails with &quot;res_pjsip_outbound_authenticator_digest.c:90 digest_create_request_with_auth: Failed to create new request with authentication credentials&quot; unless the auth object has it&#39;s realm set exactly to the realm returned in the 401 response from the remote server.  </div>
<div><br></div><div>Shouldn&#39;t the auth object automatically be using the realm from the incoming 401?  Otherwise I have to create an auth object for each remote server even if the only thing different is the realm (the scenario is a provider with multiple servers where the realm is the server name) .  It also means I have to actually look at the incoming 401 packets to get the realm.  </div>
<div><br></div><div>Bug, feature or my misunderstanding?</div><div><br></div><div><br></div></div>