[asterisk-commits] chan ooh323: reset rrq count on gk registration (asterisk[14])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 8 04:58:58 CST 2016


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/4330 )

Change subject: chan_ooh323: reset rrq count on gk registration
......................................................................


chan_ooh323: reset rrq count on gk registration

reset registration attempts count on success registration on gatekeeper

Change-Id: I5f47351852e0ca76c9ac78421659600e0f106336
---
M addons/ooh323c/src/ooGkClient.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Anonymous Coward #1000019: Verified
  Matt Jordan: Looks good to me, approved
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/addons/ooh323c/src/ooGkClient.c b/addons/ooh323c/src/ooGkClient.c
index c090796..1262f29 100644
--- a/addons/ooh323c/src/ooGkClient.c
+++ b/addons/ooh323c/src/ooGkClient.c
@@ -1272,6 +1272,7 @@
       }
    }
    pGkClient->state = GkClientRegistered;
+   pGkClient->rrqRetries = 0;
    if(pGkClient->callbacks.onReceivedRegistrationConfirm)
       pGkClient->callbacks.onReceivedRegistrationConfirm(pRegistrationConfirm,
                                                               gH323ep.aliases);

-- 
To view, visit https://gerrit.asterisk.org/4330
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f47351852e0ca76c9ac78421659600e0f106336
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Alexander Anikin <may213 at yandex.ru>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list