]> 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:10 +0000 (07:13 -0700)
commit860e40dd80f0603582b98a7da8150f15b564cce3
tree9d3463cf70db962834d68a5061ebb7130a9a5d52
parent569fc289664f70190c8ee6884b44a15225987c24
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