After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690618 - misc cleanups to gatekeeper handling
misc cleanups to gatekeeper handling
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-21 17:44 UTC by Víctor Manuel Jáquez Leal
Modified: 2012-12-21 19:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
h323-endpoint: remove gatekeeperID variable (1.47 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
h323-endpoint: remove unused code (1.69 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
h323-endpoint: add the username in authentication (1.13 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
h323-endpoint: remove unused variable (1.10 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
h323-endpoint: use the gatekeeper accessor (1.00 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
h323-endpoint: assign gk_name only if success (1.39 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
h323-endpoint: unregister the gatekeeper for real (3.47 KB, patch)
2012-12-21 17:44 UTC, Víctor Manuel Jáquez Leal
committed Details | Review

Description Víctor Manuel Jáquez Leal 2012-12-21 17:44:09 UTC
The following patches cleanup the gatekeeper registration for the H323 
endpoint.
Comment 1 Víctor Manuel Jáquez Leal 2012-12-21 17:44:12 UTC
Created attachment 232078 [details] [review]
h323-endpoint: remove gatekeeperID variable

The gatkeeperID is not assigned, so no information is passed to it,
hence it is better to use the default parameter value (Empty), and the
code is more clean.
Comment 2 Víctor Manuel Jáquez Leal 2012-12-21 17:44:15 UTC
Created attachment 232079 [details] [review]
h323-endpoint: remove unused code

This code is not used at all. Even more it is commented out, and it
makes reference to aor (address of register) which only makes sense in
SIP.
Comment 3 Víctor Manuel Jáquez Leal 2012-12-21 17:44:18 UTC
Created attachment 232080 [details] [review]
h323-endpoint: add the username in authentication

Not only the password should be used for the gatekeeper
authentication, but the username too.
Comment 4 Víctor Manuel Jáquez Leal 2012-12-21 17:44:21 UTC
Created attachment 232081 [details] [review]
h323-endpoint: remove unused variable

The unregistered variable is only used once and it is more clear to
use account.is_enabled () accessor.
Comment 5 Víctor Manuel Jáquez Leal 2012-12-21 17:44:24 UTC
Created attachment 232082 [details] [review]
h323-endpoint: use the gatekeeper accessor

Instead of using the internal attribute gatkeeper, it is more clean to
use th available accessor for it.
Comment 6 Víctor Manuel Jáquez Leal 2012-12-21 17:44:27 UTC
Created attachment 232083 [details] [review]
h323-endpoint: assign gk_name only if success

Only if the method H323EndPoint::UseGatekeeper() is successfull, the address
of the gatekeeper will be assigned to the gk_name flag attribute
Comment 7 Víctor Manuel Jáquez Leal 2012-12-21 17:44:31 UTC
Created attachment 232084 [details] [review]
h323-endpoint: unregister the gatekeeper for real

When one unregister the h323 account it doesn't happen anything, and
when registering again, the message "processing" never changes. This
patch fixes this bug. Now the unregistering happens for real and the
re-registering is more clean.
Comment 8 Eugen Dedu 2012-12-21 19:30:53 UTC
Review of attachment 232078 [details] [review]:

Good.
Comment 9 Eugen Dedu 2012-12-21 19:39:11 UTC
Review of attachment 232079 [details] [review]:

Good.
Comment 10 Eugen Dedu 2012-12-21 19:40:13 UTC
Review of attachment 232080 [details] [review]:

Good.
Comment 11 Eugen Dedu 2012-12-21 19:41:08 UTC
Review of attachment 232081 [details] [review]:

Good.
Comment 12 Eugen Dedu 2012-12-21 19:41:12 UTC
Review of attachment 232081 [details] [review]:

Good.
Comment 13 Eugen Dedu 2012-12-21 19:46:41 UTC
Review of attachment 232082 [details] [review]:

Good.
Comment 14 Eugen Dedu 2012-12-21 19:49:55 UTC
Review of attachment 232083 [details] [review]:

Good.
Comment 15 Eugen Dedu 2012-12-21 19:52:52 UTC
Review of attachment 232084 [details] [review]:

Good.
Comment 16 Eugen Dedu 2012-12-21 19:54:45 UTC
Thank you very much!  All of them have been committed unchanged (except some logs).