-
- Downloads
Remove the 'AUTO_REGISTER' parameter. Major clean-up of registration process.
Now, there should be only an 'Enabled' toggle for each account. It determines if the account is registered on start-up AND if it's enabled, generally. TODO: We'll need another parameter, to select which account is the one used to do calls. Anyways, it wasn't very convenient to use the 'First one enabled', since you'll often want multiple accounts enabled, and be able to select which account to use for an outgoing call. This commit updates the SFLphone daemon and the Gtk+ client. It removes a whole bunch of useless variables (_state, _shouldInitOnStart, _shouldRegisterOnStart, _registered). Now the registration state is fetched directly from the VoIPLink (when called from the Account). So, no more duplication of statuses. TODO: SFLphone-gtk will need to support the TRYING and ERROR messages as 'Status' reply.
Showing
- sflphone-gtk/src/accountlist.h 1 addition, 1 deletionsflphone-gtk/src/accountlist.h
- sflphone-gtk/src/accountwindow.c 8 additions, 8 deletionssflphone-gtk/src/accountwindow.c
- src/account.cpp 1 addition, 6 deletionssrc/account.cpp
- src/account.h 15 additions, 43 deletionssrc/account.h
- src/iaxaccount.cpp 17 additions, 30 deletionssrc/iaxaccount.cpp
- src/iaxaccount.h 2 additions, 2 deletionssrc/iaxaccount.h
- src/iaxvoiplink.cpp 24 additions, 5 deletionssrc/iaxvoiplink.cpp
- src/managerimpl.cpp 23 additions, 17 deletionssrc/managerimpl.cpp
- src/sipaccount.cpp 25 additions, 38 deletionssrc/sipaccount.cpp
- src/sipaccount.h 2 additions, 2 deletionssrc/sipaccount.h
- src/sipvoiplink.cpp 12 additions, 6 deletionssrc/sipvoiplink.cpp
- src/sipvoiplink.h 1 addition, 1 deletionsrc/sipvoiplink.h
- src/voiplink.cpp 1 addition, 1 deletionsrc/voiplink.cpp
- src/voiplink.h 13 additions, 1 deletionsrc/voiplink.h
Loading
Please register or sign in to comment