]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_registration.c: Use our own scheduler and other stuff
authorGeorge Joseph <gjoseph@digium.com>
Mon, 2 Nov 2020 19:53:02 +0000 (12:53 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 10 Nov 2020 14:13:56 +0000 (09:13 -0500)
commit2fe76dd816706f045ecbc44bf8ad6498977415b3
tree58d979b182dcd4531a4d98c678378c7fc7efbc7f
parent5a4640d2080bc10a16e1831c0c9bd9ba7edd1174
res_pjsip_outbound_registration.c:  Use our own scheduler and other stuff

* Instead of using the pjproject timer heap, we now use our own
  pjsip_scheduler.  This allows us to more easily debug and allows us to
  see times in "pjsip show/list registrations" as well as being able to
  see the registrations in "pjsip show scheduled_tasks".

* Added the last registration time, registration interval, and the next
  registration time to the CLI output.

* Removed calls to pjsip_regc_info() except where absolutely necessary.
  Most of the calls were just to get the server and client URIs for log
  messages so we now just save them on the client_state object when we
  create it.

* Added log messages where needed and updated most of the existong ones
  to include the registration object name at the start of the message.

Change-Id: I4534a0fc78c7cb69f23b7b449dda9748c90daca2
res/res_pjsip_outbound_registration.c