I found the issue. For some reason, if you don't submit 'Account.type' in the list on the dbus command setAccountDetails, it won't show up the next time the daemon is run. It does, however, stay in the config file which is what confused me so long. So now I just redundantly set my account type to SIP when updating information and my configuration manager can find my account no problem. Not sure if this is a bug or not. Also, there are no errors/warnings when this happens. Could it be that account type is overwritten with each account information update even if there is none supplied in the list?
On Sun, Jan 2, 2011 at 10:30 PM, Alexandre Savard < [email protected]> wrote: > Hi, > > > I'm updating information in an account across the dbus using the command > > "setAccountDetails" if an account of the appropriate credentials aren't > there. Upon > > restarting my application, the account has disappeared. I know it must > be this command, > > because my account creation over the dbus saves fine upon exiting. > > Could you provide us sflphoned logs in order to determine if any error > occurs when > loading configuration from $HOME/.config/sflphone/sflphoned.yml > > /usr/lib/sflphone/sflphoned -d -c > > > Also, why is it that only updating the account sends a SIP register for > the account? > > I've done packet captures and there is zero sip traffic after I create an > account. > > However, when I "setAccountDetails" the account immediately sends a > register to the sip > > server and everything is jolly from there. > > What version of SFLphone are you running, this is already fixed in 0.9.11. > Creating or modifying account information should trigger a SIP REGISTER > request. > > Thanks, > > Alexandre > > ----- Mail original ----- > De: "Per-Olof Jensen" <[email protected]> > À: [email protected] > Envoyé: Jeudi 30 Décembre 2010 19:02:51 > Objet: [SFLphone] Accounts deleting upon updating > > > I'm updating information in an account across the dbus using the command > "setAccountDetails" if an account of the appropriate credentials aren't > there. Upon restarting my application, the account has disappeared. I know > it must be this command, because my account creation over the dbus saves > fine upon exiting. Also, why is it that only updating the account sends a > SIP register for the account? I've done packet captures and there is zero > sip traffic after I create an account. However, when I "setAccountDetails" > the account immediately sends a register to the sip server and everything is > jolly from there. > > Thanks in advance for any tips! > > -- > Per Jensen > Bolder Thinking - Software Developer > > _______________________________________________ > SFLphone mailing list > [email protected] > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone > -- Per Jensen Bolder Thinking - Software Developer
_______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
