[asterisk-users] pjsip: don't require authentication from remote i register to

Joshua C. Colp jcolp at digium.com
Fri Mar 1 14:41:55 CST 2019


On Fri, Mar 1, 2019, at 4:33 PM, Brian J. Murrell wrote:
> On Fri, 2019-03-01 at 14:15 -0500, Joshua C. Colp wrote:
> > you can try line functionality on the outbound registration which
> > may or may not work[2] (requires the upstream to adhere to the RFC,
> > which not all do).
> 
> My provider seems to implement this.
> 
> However even with the line=... in the:
> 
> SIP to address: sip:5555551212@<my_IP_address>:5060;line=dpnlyiu
> 
> res_pjsip is still sending a 401 challenge.
> 
> Removing the:
> 
> auth=itsp-auth
> 
> from my endpoint [template]:
> 
> [itsp-endpoint](!)
> 
> Has stopped pjsip from sending a 401 when my ITSP sends a SIP MESSAGE,
> but do I really want to have that endpoint without authentication?

I don't understand what you mean. Your ITSP has stated that they don't want you to do authentication with them, so you can't. If you are referring to the template - it's a template so by itself does not create an endpoint.

-- 
Joshua C. Colp
Digium - A Sangoma Company | 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