<div dir="ltr"><div dir="ltr">On Sat, Jan 18, 2020 at 1:14 PM Administrator <<a href="mailto:admin@tootai.net">admin@tootai.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Le 17/01/2020 à 11:54, Administrator a écrit :<br>
><br>
> Le 15/01/2020 à 19:24, Administrator a écrit :<br>
>> Hi all,<br>
>><br>
>> we face a strange behavior while connecting an Asterisk16 instance <br>
>> with PJSIP to 2 providers: we receive error 401 Unauthorized, both of <br>
>> them having Kamailio as front-end. With other providers -we don't <br>
>> know if they run kamailio- registration is just fine.<br>
>><br>
>> One of the provider took a pcap and told us that expiration was set <br>
>> to 0 that's why they don't accept the registration. We took a pcap on <br>
>> our side when SIP packet goes out of our server and we see that the <br>
>> expiration parameter is setted to 3600 !<br>
>><br>
>> Asterisk version is Asterisk 16.2.1~dfsg-1+deb10u1 on Debian 10 up to <br>
>> date. We also installed 16.7 from scratch, same problem. I have to <br>
>> mention that our test asterisk is also a Debian 10 with Asterisk <br>
>> stock 16.7 and _does_ register normally against the same provider :(<br>
>><br>
>> If someone had a clue on this, welcome.<br>
><br>
> We went a step further: when Asterisk is receiving the 401 <br>
> Unauthorized it doesn't send the Authorization back, insteed it send <br>
> the Register back with the *same* CSeq which it shoudn't. Pjsip is<br>
><br>
> pabx16*CLI> pjsip show version<br>
> PJPROJECT version currently running against: 2.8<br>
<br>
We removed the debian asterisk deb package and compiled from 16.7.0 <br>
source. Problem stays, still ni CSeq increment. Pjsip is<br>
<br>
pabx16*CLI> pjsip show version<br>
PJPROJECT version currently running against: 2.9<br>
<br>
Anyone on this ?<br></blockquote><div><br></div><div>Is the response actually getting to Asterisk? Does it show up in "pjsip set logger on"? Is the REGISTER a retransmission and thus expected to be the same?</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>