[asterisk-users] PJSIP error No auth credentials for realm(s) 'asterisk' in challenge

Joshua Colp jcolp at digium.com
Mon Apr 16 09:52:31 CDT 2018

On Mon, Apr 16, 2018, at 11:47 AM, Administrator TOOTAI wrote:
> Hi all,
> we are trying to move our servers from chan_sip to chan_pjsip. At this 
> time no problems with phones, they all register fine and can place 
> calls. But for a trunk we face problem and can't place calls despite the 
> fact that registration is OK. What we get is:
> [2018-04-16 16:08:33] WARNING[18665]: 
> res_pjsip_outbound_authenticator_digest.c:178 
> digest_create_request_with_auth_from_old: Endpoint: 'sip.xxx.tld': 
> Unable to create request with auth. No auth credentials for realm(s) 
> 'asterisk' in challenge.

The remote side challenged for authentication but your endpoint has no "outbound_auth" configured, so chan_pjsip has no idea of how to authenticate.

Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list