[asterisk-dev] pjsip - retry handling - faulty warning message?
Joshua C. Colp
jcolp at sangoma.com
Mon Aug 17 13:50:56 CDT 2020
On Sat, Aug 15, 2020 at 12:25 PM Michael Maier <m1278468 at mailbox.org> wrote:
> I got the following warning in the asterisk log:
> [2020-08-15 16:16:03] WARNING res_pjsip_outbound_registration.c: No
> response received from 'sip:tel.t-online.de' on registration attempt to '
> sip:+49... at tel.t-online.de', retrying in '60'
> What really happened (according pcap trace):
> Register Aug 15, 2020 16:16:03.946677000 CEST
> Register Aug 15, 2020 16:16:03.973710000 CEST ~
> 27 ms (Retry)
> Security agreement required Aug 15, 2020 16:16:04.066745000 CEST ~
> 92 ms
> Ok Aug 15, 2020 16:16:04.081487000 CEST ~
> 14 ms (finish)
> (Usual duration of a Register is ~ 22.8 ms)
> Okay, provider was a bit lazy to answer, but Register has been working
> fine after one retry 27 ms later. Therefore, I don't understand the
> warning, especially because the registration timeout is 660s and asterisk
> starts reregistration 10s before the expiry of the registration - so there
> wasn't any problem with the Registration de facto. Especially as there
> couldn't be seen any Retry after 60 s as stated in the log. Maybe the log
> entry is somewhat hasty?
Without debug level and trace information and such it's hard to say. It may
be that the security agreement response wasn't counted for some reason and
confused the code, resulting in the transaction thinking it got no
Joshua C. Colp
Asterisk Technical Lead
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-dev