mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 17:22:21 +00:00
yes mikej it needs to go in
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16398 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3aa064fae8
commit
73f386244d
@ -1427,13 +1427,11 @@ void sofia_reg_handle_sip_r_register(int status,
|
|||||||
if (sofia_private && sofia_private->gateway) {
|
if (sofia_private && sofia_private->gateway) {
|
||||||
nua_handle_destroy(sofia_private->gateway->nh);
|
nua_handle_destroy(sofia_private->gateway->nh);
|
||||||
sofia_private->gateway->nh = NULL;
|
sofia_private->gateway->nh = NULL;
|
||||||
sofia_private->gateway->state = REG_STATE_UNREGED;
|
|
||||||
} else {
|
} else {
|
||||||
nua_handle_destroy(nh);
|
nua_handle_destroy(nh);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sofia_private && sofia_private->gateway) {
|
if (sofia_private && sofia_private->gateway) {
|
||||||
reg_state_t ostate = sofia_private->gateway->state;
|
reg_state_t ostate = sofia_private->gateway->state;
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user