diff options
author | George Joseph <gjoseph@digium.com> | 2016-05-16 14:29:38 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2016-05-16 20:43:54 -0500 |
commit | 3f6ef63099d58d0aa74895156e8038eb44180ea8 (patch) | |
tree | 44d83e0d93928c80275d96d28f00b9891db0f3b0 /main/udptl.c | |
parent | bcb133ce933c9ba8c36a8c20640f79f0d992ac12 (diff) |
res_pjsip_outbound_registration: Clean up state when registration is deleted
Nothing was cleaning up the registration state object when ast_sorcery_delete
was called on a registration. So, the registration was deleted from sorcery
but the state object went right on refreshing the registration (or failing
to refresh the registration) with the peer.
* Added a 'deleted' observer on registration that removes the state object.
ASTERISK-25964 #close
Reported-by Matt Jordan
Change-Id: I2db792145cdb1f72ebbf57dd9099596dbbf12c23
Diffstat (limited to 'main/udptl.c')
0 files changed, 0 insertions, 0 deletions