[asterisk-dev] pjsip - retry handling - faulty warning message?

Michael Maier m1278468 at mailbox.org
Sat Aug 15 10:24:49 CDT 2020


Hello!

I got the following warning in the asterisk log:

[2020-08-15 16:16:03] WARNING[14367] 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?


Thanks
Michael




More information about the asterisk-dev mailing list