mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 16:24:13 +00:00
use nua_handle_home instead of using nua internals to get the nua handle home
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12757 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
a26400fc4c
commit
4a48d3dd5a
3 files changed
+8
-8
No files matched your search
@@ -217,7 +217,7 @@ void sofia_sla_handle_sip_r_subscribe(int status,
|
||||
nua_handle_destroy(nh);
|
||||
sofia_private_free(sofia_private);
|
||||
} else {
|
||||
char *full_contact = sip_header_as_string(nh->nh_home, (void *) sip->sip_contact);
|
||||
char *full_contact = sip_header_as_string(nua_handle_home(nh), (void *) sip->sip_contact);
|
||||
time_t expires = switch_epoch_time_now(NULL);
|
||||
char *sql;
|
||||
char *contact_str = strip_uri(full_contact);
|
||||
|
||||
Reference in new issue
Block a user