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

Alexander Anikin asteriskteam at digium.com
Mon Nov 7 09:00:44 CST 2016


Alexander Anikin has uploaded a new change for review. ( 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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/4330/1

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: newchange
Gerrit-Change-Id: I5f47351852e0ca76c9ac78421659600e0f106336
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Alexander Anikin <may213 at yandex.ru>



More information about the asterisk-code-review mailing list