[asterisk-users] Asterisk16 - PJSIP - Error 401 on outbound registration

Administrator admin at tootai.net
Wed Jan 15 12:24:23 CST 2020


Hi all,

we face a strange behavior while connecting an Asterisk16 instance with 
PJSIP to 2 providers: we receive error 401 Unauthorized, both of them 
having Kamailio as front-end. With other providers -we don't know if 
they run kamailio- registration is just fine.

One of the provider took a pcap and told us that expiration was set to 0 
that's why they don't accept the registration. We took a pcap on our 
side when SIP packet goes out of our server and we see that the 
expiration parameter is setted to 3600 !

Asterisk version is Asterisk 16.2.1~dfsg-1+deb10u1 on Debian 10 up to 
date. We also installed 16.7 from scratch, same problem. I have to 
mention that our test asterisk is also a Debian 10 with Asterisk stock 
16.7 and _does_ register normally against the same provider :(

If someone had a clue on this, welcome.

-- 
Daniel



More information about the asterisk-users mailing list