<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][16203] </title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=16203">16203</a></dd>
<dt>Author</dt> <dd>jmesquita</dd>
<dt>Date</dt> <dd>2010-01-07 17:00:34 -0600 (Thu, 07 Jan 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Start doing the accounts configurations. It does not work yet, only dialogs are designed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchtrunkfscommFSCommpro">freeswitch/trunk/fscomm/FSComm.pro</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesprefdialogcpp">freeswitch/trunk/fscomm/preferences/prefdialog.cpp</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesprefdialogh">freeswitch/trunk/fscomm/preferences/prefdialog.h</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesprefdialogui">freeswitch/trunk/fscomm/preferences/prefdialog.ui</a></li>
<li><a href="#freeswitchtrunkfscommresourcesqrc">freeswitch/trunk/fscomm/resources.qrc</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#freeswitchtrunkfscommconfaccountconfxml">freeswitch/trunk/fscomm/conf/account.conf.xml</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesaccountdialogcpp">freeswitch/trunk/fscomm/preferences/accountdialog.cpp</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesaccountdialogh">freeswitch/trunk/fscomm/preferences/accountdialog.h</a></li>
<li><a href="#freeswitchtrunkfscommpreferencesaccountdialogui">freeswitch/trunk/fscomm/preferences/accountdialog.ui</a></li>
<li><a href="#freeswitchtrunkfscommresourcespref_accountsjpg">freeswitch/trunk/fscomm/resources/pref_accounts.jpg</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchtrunkfscommFSCommpro"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/FSComm.pro (16202 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/FSComm.pro        2010-01-07 22:04:32 UTC (rev 16202)
+++ freeswitch/trunk/fscomm/FSComm.pro        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -28,18 +28,22 @@
</span><span class="cx">     mod_qsettings/mod_qsettings.cpp \
</span><span class="cx">     preferences/prefdialog.cpp \
</span><span class="cx">     preferences/prefportaudio.cpp \
</span><del>-    preferences/prefsofia.cpp
</del><ins>+    preferences/prefsofia.cpp \
+    preferences/accountdialog.cpp
</ins><span class="cx"> HEADERS += mainwindow.h \
</span><span class="cx">     fshost.h \
</span><span class="cx">     call.h \
</span><span class="cx">     mod_qsettings/mod_qsettings.h \
</span><span class="cx">     preferences/prefdialog.h \
</span><span class="cx">     preferences/prefportaudio.h \
</span><del>-    preferences/prefsofia.h
</del><ins>+    preferences/prefsofia.h \
+    preferences/accountdialog.h
</ins><span class="cx"> FORMS += mainwindow.ui \
</span><del>-    preferences/prefdialog.ui
</del><ins>+    preferences/prefdialog.ui \
+    preferences/accountdialog.ui
</ins><span class="cx"> RESOURCES += resources.qrc
</span><span class="cx"> OTHER_FILES += conf/portaudio.conf.xml \
</span><span class="cx">     conf/event_socket.conf.xml \
</span><span class="cx">     conf/freeswitch.xml \
</span><del>-    conf/sofia.conf.xml
</del><ins>+    conf/sofia.conf.xml \
+    conf/account.conf.xml
</ins></span></pre></div>
<a id="freeswitchtrunkfscommconfaccountconfxml"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/conf/account.conf.xml (0 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/conf/account.conf.xml                                (rev 0)
+++ freeswitch/trunk/fscomm/conf/account.conf.xml        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;gateway name=&quot;${name}&quot;&gt;
+  &lt;param name=&quot;username&quot; value=&quot;${username}&quot;/&gt;
+  &lt;param name=&quot;realm&quot; value=&quot;${realm}&quot;/&gt;
+  &lt;param name=&quot;from-user&quot; value=&quot;${from-user}&quot;/&gt;
+  &lt;param name=&quot;from-domain&quot; value=&quot;${from-domain}&quot;/&gt;
+  &lt;param name=&quot;password&quot; value=&quot;${password}&quot;/&gt;
+  &lt;param name=&quot;extension&quot; value=&quot;${extension}&quot;/&gt;
+  &lt;param name=&quot;proxy&quot; value=&quot;${proxy}&quot;/&gt;
+  &lt;param name=&quot;register-proxy&quot; value=&quot;${register-proxy}&quot;/&gt;
+  &lt;param name=&quot;expire-seconds&quot; value=&quot;${expire-seconds}&quot;/&gt;
+  &lt;param name=&quot;register&quot; value=&quot;${register}&quot;/&gt;
+  &lt;param name=&quot;register-transport&quot; value=&quot;${register-transport}&quot;/&gt;
+  &lt;param name=&quot;retry-seconds&quot; value=&quot;${retry-seconds}&quot;/&gt;
+  &lt;param name=&quot;caller-id-in-from&quot; value=&quot;${caller-id-in-from}&quot;/&gt;
+  &lt;param name=&quot;contact-params&quot; value=&quot;${contact-params}&quot;/&gt;
+  &lt;param name=&quot;ping&quot; value=&quot;${ping}&quot;/&gt;
+&lt;/gateway&gt;
</ins></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesaccountdialogcpp"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/preferences/accountdialog.cpp (0 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/accountdialog.cpp                                (rev 0)
+++ freeswitch/trunk/fscomm/preferences/accountdialog.cpp        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+#include &quot;accountdialog.h&quot;
+#include &quot;ui_accountdialog.h&quot;
+
+AccountDialog::AccountDialog(QWidget *parent) :
+    QDialog(parent),
+    ui(new Ui::AccountDialog)
+{
+    ui-&gt;setupUi(this);
+}
+
+AccountDialog::~AccountDialog()
+{
+    delete ui;
+}
+
+void AccountDialog::changeEvent(QEvent *e)
+{
+    QDialog::changeEvent(e);
+    switch (e-&gt;type()) {
+    case QEvent::LanguageChange:
+        ui-&gt;retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}
</ins></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesaccountdialogh"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/preferences/accountdialog.h (0 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/accountdialog.h                                (rev 0)
+++ freeswitch/trunk/fscomm/preferences/accountdialog.h        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+#ifndef ACCOUNTDIALOG_H
+#define ACCOUNTDIALOG_H
+
+#include &lt;QDialog&gt;
+
+namespace Ui {
+    class AccountDialog;
+}
+
+class AccountDialog : public QDialog {
+    Q_OBJECT
+public:
+    AccountDialog(QWidget *parent = 0);
+    ~AccountDialog();
+
+protected:
+    void changeEvent(QEvent *e);
+
+private:
+    Ui::AccountDialog *ui;
+};
+
+#endif // ACCOUNTDIALOG_H
</ins></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesaccountdialogui"></a>
<div class="addfile"><h4>Added: freeswitch/trunk/fscomm/preferences/accountdialog.ui (0 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/accountdialog.ui                                (rev 0)
+++ freeswitch/trunk/fscomm/preferences/accountdialog.ui        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -0,0 +1,272 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;ui version=&quot;4.0&quot;&gt;
+ &lt;class&gt;AccountDialog&lt;/class&gt;
+ &lt;widget class=&quot;QDialog&quot; name=&quot;AccountDialog&quot;&gt;
+  &lt;property name=&quot;windowModality&quot;&gt;
+   &lt;enum&gt;Qt::WindowModal&lt;/enum&gt;
+  &lt;/property&gt;
+  &lt;property name=&quot;geometry&quot;&gt;
+   &lt;rect&gt;
+    &lt;x&gt;0&lt;/x&gt;
+    &lt;y&gt;0&lt;/y&gt;
+    &lt;width&gt;495&lt;/width&gt;
+    &lt;height&gt;573&lt;/height&gt;
+   &lt;/rect&gt;
+  &lt;/property&gt;
+  &lt;property name=&quot;windowTitle&quot;&gt;
+   &lt;string&gt;Account&lt;/string&gt;
+  &lt;/property&gt;
+  &lt;layout class=&quot;QFormLayout&quot; name=&quot;formLayout&quot;&gt;
+   &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;name&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;0&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwNameEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;1&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_2&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;username&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;1&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwUsernameEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;2&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_3&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;realm&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;2&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwRealmEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;3&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_4&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;from-user&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;3&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwFromUserEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;4&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_5&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;from-domain&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;4&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwFromDomainEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;5&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_6&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;password&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;5&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwPasswordEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;6&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_7&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;extension&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;6&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwExtensionEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;7&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_8&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;proxy&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;7&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwProxyEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;8&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_9&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;register-proxy&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;8&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwRegisterProxyEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;9&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_10&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;expire-seconds&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;9&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QSpinBox&quot; name=&quot;sofiaGwExpireSecondsSpin&quot;&gt;
+     &lt;property name=&quot;value&quot;&gt;
+      &lt;number&gt;60&lt;/number&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;10&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_11&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;register&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;10&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QComboBox&quot; name=&quot;sofiaGwRegisterCombo&quot;&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
+       &lt;string&gt;true&lt;/string&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
+       &lt;string&gt;false&lt;/string&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;11&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_12&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;register-transport&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;11&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QComboBox&quot; name=&quot;sofiaGwRegisterTransportCombo&quot;&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
+       &lt;string&gt;udp&lt;/string&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
+       &lt;string&gt;tcp&lt;/string&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;12&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_13&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;retry-seconds&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;12&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QSpinBox&quot; name=&quot;sofiaGwRetrySecondsSpin&quot;&gt;
+     &lt;property name=&quot;value&quot;&gt;
+      &lt;number&gt;30&lt;/number&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;13&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_15&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;contact-params&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;13&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QLineEdit&quot; name=&quot;sofiaGwContactParamsEdit&quot;/&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;14&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_14&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;caller-id-in-from&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;15&quot; column=&quot;0&quot;&gt;
+    &lt;widget class=&quot;QLabel&quot; name=&quot;label_16&quot;&gt;
+     &lt;property name=&quot;text&quot;&gt;
+      &lt;string&gt;ping&lt;/string&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;15&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QSpinBox&quot; name=&quot;sofiaGwPingSpin&quot;&gt;
+     &lt;property name=&quot;value&quot;&gt;
+      &lt;number&gt;25&lt;/number&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;16&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QDialogButtonBox&quot; name=&quot;buttonBox&quot;&gt;
+     &lt;property name=&quot;orientation&quot;&gt;
+      &lt;enum&gt;Qt::Horizontal&lt;/enum&gt;
+     &lt;/property&gt;
+     &lt;property name=&quot;standardButtons&quot;&gt;
+      &lt;set&gt;QDialogButtonBox::Cancel|QDialogButtonBox::Ok&lt;/set&gt;
+     &lt;/property&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+   &lt;item row=&quot;14&quot; column=&quot;1&quot;&gt;
+    &lt;widget class=&quot;QComboBox&quot; name=&quot;sofiaGwCallerIdInFromCombo&quot;&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
+       &lt;string&gt;false&lt;/string&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
+       &lt;string&gt;true&lt;/string&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+    &lt;/widget&gt;
+   &lt;/item&gt;
+  &lt;/layout&gt;
+ &lt;/widget&gt;
+ &lt;resources/&gt;
+ &lt;connections&gt;
+  &lt;connection&gt;
+   &lt;sender&gt;buttonBox&lt;/sender&gt;
+   &lt;signal&gt;accepted()&lt;/signal&gt;
+   &lt;receiver&gt;AccountDialog&lt;/receiver&gt;
+   &lt;slot&gt;accept()&lt;/slot&gt;
+   &lt;hints&gt;
+    &lt;hint type=&quot;sourcelabel&quot;&gt;
+     &lt;x&gt;248&lt;/x&gt;
+     &lt;y&gt;254&lt;/y&gt;
+    &lt;/hint&gt;
+    &lt;hint type=&quot;destinationlabel&quot;&gt;
+     &lt;x&gt;157&lt;/x&gt;
+     &lt;y&gt;274&lt;/y&gt;
+    &lt;/hint&gt;
+   &lt;/hints&gt;
+  &lt;/connection&gt;
+  &lt;connection&gt;
+   &lt;sender&gt;buttonBox&lt;/sender&gt;
+   &lt;signal&gt;rejected()&lt;/signal&gt;
+   &lt;receiver&gt;AccountDialog&lt;/receiver&gt;
+   &lt;slot&gt;reject()&lt;/slot&gt;
+   &lt;hints&gt;
+    &lt;hint type=&quot;sourcelabel&quot;&gt;
+     &lt;x&gt;316&lt;/x&gt;
+     &lt;y&gt;260&lt;/y&gt;
+    &lt;/hint&gt;
+    &lt;hint type=&quot;destinationlabel&quot;&gt;
+     &lt;x&gt;286&lt;/x&gt;
+     &lt;y&gt;274&lt;/y&gt;
+    &lt;/hint&gt;
+   &lt;/hints&gt;
+  &lt;/connection&gt;
+ &lt;/connections&gt;
+&lt;/ui&gt;
</ins></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesprefdialogcpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/preferences/prefdialog.cpp (16202 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/prefdialog.cpp        2010-01-07 22:04:32 UTC (rev 16202)
+++ freeswitch/trunk/fscomm/preferences/prefdialog.cpp        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> #include &quot;ui_prefdialog.h&quot;
</span><span class="cx"> #include &quot;prefportaudio.h&quot;
</span><span class="cx"> #include &quot;prefsofia.h&quot;
</span><ins>+#include &quot;accountdialog.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> PrefDialog::PrefDialog(QWidget *parent) :
</span><span class="cx">     QDialog(parent),
</span><span class="lines">@@ -11,7 +12,9 @@
</span><span class="cx">     ui-&gt;setupUi(this);
</span><span class="cx">     _settings = new QSettings();
</span><span class="cx">     connect(this, SIGNAL(accepted()), this, SLOT(writeConfig()));
</span><ins>+    connect(ui-&gt;sofiaGwAddBtn, SIGNAL(clicked()), this, SLOT(addAccountBtnClicked()));
</ins><span class="cx"> 
</span><ins>+    _accDlg = NULL;
</ins><span class="cx">     _mod_portaudio = new PrefPortaudio(ui, this);
</span><span class="cx">     _mod_sofia = new PrefSofia(ui, this);
</span><span class="cx">     readConfig();
</span><span class="lines">@@ -22,6 +25,16 @@
</span><span class="cx">     delete ui;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void PrefDialog::addAccountBtnClicked()
+{
+    if (!_accDlg)
+        _accDlg = new AccountDialog();
+
+    _accDlg-&gt;show();
+    _accDlg-&gt;raise();
+    _accDlg-&gt;activateWindow();
+}
+
</ins><span class="cx"> void PrefDialog::writeConfig()
</span><span class="cx"> {    
</span><span class="cx">     _mod_portaudio-&gt;writeConfig();
</span></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesprefdialogh"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/preferences/prefdialog.h (16202 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/prefdialog.h        2010-01-07 22:04:32 UTC (rev 16202)
+++ freeswitch/trunk/fscomm/preferences/prefdialog.h        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> 
</span><span class="cx"> class PrefPortaudio;
</span><span class="cx"> class PrefSofia;
</span><ins>+class AccountDialog;
</ins><span class="cx"> 
</span><span class="cx"> namespace Ui {
</span><span class="cx">     class PrefDialog;
</span><span class="lines">@@ -23,11 +24,13 @@
</span><span class="cx">     void changeEvent(QEvent *e);
</span><span class="cx"> 
</span><span class="cx"> private slots:
</span><ins>+    void addAccountBtnClicked();
</ins><span class="cx">     void writeConfig();
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     void readConfig();
</span><span class="cx">     QSettings *_settings;
</span><ins>+    AccountDialog *_accDlg;
</ins><span class="cx">     Ui::PrefDialog *ui;
</span><span class="cx">     PrefPortaudio *_mod_portaudio;
</span><span class="cx">     PrefSofia *_mod_sofia;
</span></span></pre></div>
<a id="freeswitchtrunkfscommpreferencesprefdialogui"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/preferences/prefdialog.ui (16202 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/preferences/prefdialog.ui        2010-01-07 22:04:32 UTC (rev 16202)
+++ freeswitch/trunk/fscomm/preferences/prefdialog.ui        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -66,6 +66,15 @@
</span><span class="cx">      &lt;/item&gt;
</span><span class="cx">      &lt;item&gt;
</span><span class="cx">       &lt;property name=&quot;text&quot;&gt;
</span><ins>+       &lt;string&gt;Accounts&lt;/string&gt;
+      &lt;/property&gt;
+      &lt;property name=&quot;icon&quot;&gt;
+       &lt;iconset resource=&quot;../resources.qrc&quot;&gt;
+        &lt;normaloff&gt;:/images/pref_accounts.jpg&lt;/normaloff&gt;:/images/pref_accounts.jpg&lt;/iconset&gt;
+      &lt;/property&gt;
+     &lt;/item&gt;
+     &lt;item&gt;
+      &lt;property name=&quot;text&quot;&gt;
</ins><span class="cx">        &lt;string&gt;Sofia&lt;/string&gt;
</span><span class="cx">       &lt;/property&gt;
</span><span class="cx">       &lt;property name=&quot;icon&quot;&gt;
</span><span class="lines">@@ -87,9 +96,9 @@
</span><span class="cx">    &lt;item row=&quot;0&quot; column=&quot;1&quot;&gt;
</span><span class="cx">     &lt;widget class=&quot;QStackedWidget&quot; name=&quot;stackedWidget&quot;&gt;
</span><span class="cx">      &lt;property name=&quot;currentIndex&quot;&gt;
</span><del>-      &lt;number&gt;0&lt;/number&gt;
</del><ins>+      &lt;number&gt;1&lt;/number&gt;
</ins><span class="cx">      &lt;/property&gt;
</span><del>-     &lt;widget class=&quot;QWidget&quot; name=&quot;page_3&quot;&gt;
</del><ins>+     &lt;widget class=&quot;QWidget&quot; name=&quot;generalPage&quot;&gt;
</ins><span class="cx">       &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_3&quot;&gt;
</span><span class="cx">        &lt;item&gt;
</span><span class="cx">         &lt;widget class=&quot;QGroupBox&quot; name=&quot;groupBox_5&quot;&gt;
</span><span class="lines">@@ -122,7 +131,71 @@
</span><span class="cx">        &lt;/item&gt;
</span><span class="cx">       &lt;/layout&gt;
</span><span class="cx">      &lt;/widget&gt;
</span><del>-     &lt;widget class=&quot;QWidget&quot; name=&quot;page&quot;&gt;
</del><ins>+     &lt;widget class=&quot;QWidget&quot; name=&quot;accountsPage&quot;&gt;
+      &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout_5&quot;&gt;
+       &lt;item&gt;
+        &lt;widget class=&quot;QTableWidget&quot; name=&quot;sofiaGwListWidget&quot;&gt;
+         &lt;property name=&quot;editTriggers&quot;&gt;
+          &lt;set&gt;QAbstractItemView::NoEditTriggers&lt;/set&gt;
+         &lt;/property&gt;
+         &lt;column&gt;
+          &lt;property name=&quot;text&quot;&gt;
+           &lt;string&gt;Enabled&lt;/string&gt;
+          &lt;/property&gt;
+         &lt;/column&gt;
+         &lt;column&gt;
+          &lt;property name=&quot;text&quot;&gt;
+           &lt;string&gt;Name&lt;/string&gt;
+          &lt;/property&gt;
+         &lt;/column&gt;
+         &lt;column&gt;
+          &lt;property name=&quot;text&quot;&gt;
+           &lt;string&gt;Username&lt;/string&gt;
+          &lt;/property&gt;
+         &lt;/column&gt;
+        &lt;/widget&gt;
+       &lt;/item&gt;
+       &lt;item&gt;
+        &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_7&quot;&gt;
+         &lt;item&gt;
+          &lt;widget class=&quot;QPushButton&quot; name=&quot;sofiaGwAddBtn&quot;&gt;
+           &lt;property name=&quot;text&quot;&gt;
+            &lt;string&gt;Add&lt;/string&gt;
+           &lt;/property&gt;
+          &lt;/widget&gt;
+         &lt;/item&gt;
+         &lt;item&gt;
+          &lt;widget class=&quot;QPushButton&quot; name=&quot;sofiaGwRemBtn&quot;&gt;
+           &lt;property name=&quot;text&quot;&gt;
+            &lt;string&gt;Remove&lt;/string&gt;
+           &lt;/property&gt;
+          &lt;/widget&gt;
+         &lt;/item&gt;
+         &lt;item&gt;
+          &lt;widget class=&quot;QPushButton&quot; name=&quot;sofiaGwEditBtn&quot;&gt;
+           &lt;property name=&quot;text&quot;&gt;
+            &lt;string&gt;Edit&lt;/string&gt;
+           &lt;/property&gt;
+          &lt;/widget&gt;
+         &lt;/item&gt;
+         &lt;item&gt;
+          &lt;spacer name=&quot;verticalSpacer&quot;&gt;
+           &lt;property name=&quot;orientation&quot;&gt;
+            &lt;enum&gt;Qt::Vertical&lt;/enum&gt;
+           &lt;/property&gt;
+           &lt;property name=&quot;sizeHint&quot; stdset=&quot;0&quot;&gt;
+            &lt;size&gt;
+             &lt;width&gt;20&lt;/width&gt;
+             &lt;height&gt;40&lt;/height&gt;
+            &lt;/size&gt;
+           &lt;/property&gt;
+          &lt;/spacer&gt;
+         &lt;/item&gt;
+        &lt;/layout&gt;
+       &lt;/item&gt;
+      &lt;/layout&gt;
+     &lt;/widget&gt;
+     &lt;widget class=&quot;QWidget&quot; name=&quot;sofiaPage&quot;&gt;
</ins><span class="cx">       &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_2&quot;&gt;
</span><span class="cx">        &lt;item&gt;
</span><span class="cx">         &lt;widget class=&quot;QTabWidget&quot; name=&quot;tabWidget&quot;&gt;
</span><span class="lines">@@ -716,7 +789,7 @@
</span><span class="cx">        &lt;/item&gt;
</span><span class="cx">       &lt;/layout&gt;
</span><span class="cx">      &lt;/widget&gt;
</span><del>-     &lt;widget class=&quot;QWidget&quot; name=&quot;page_2&quot;&gt;
</del><ins>+     &lt;widget class=&quot;QWidget&quot; name=&quot;portaudioPage&quot;&gt;
</ins><span class="cx">       &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout&quot;&gt;
</span><span class="cx">        &lt;item&gt;
</span><span class="cx">         &lt;widget class=&quot;QGroupBox&quot; name=&quot;groupBox_3&quot;&gt;
</span></span></pre></div>
<a id="freeswitchtrunkfscommresourcespref_accountsjpg"></a>
<div class="binary"><h4>Added: freeswitch/trunk/fscomm/resources/pref_accounts.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: freeswitch/trunk/fscomm/resources/pref_accounts.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx">   + application/octet-stream
</span><a id="freeswitchtrunkfscommresourcesqrc"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/fscomm/resources.qrc (16202 => 16203)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/fscomm/resources.qrc        2010-01-07 22:04:32 UTC (rev 16202)
+++ freeswitch/trunk/fscomm/resources.qrc        2010-01-07 23:00:34 UTC (rev 16203)
</span><span class="lines">@@ -4,6 +4,7 @@
</span><span class="cx">         &lt;file alias=&quot;pref_sip.png&quot;&gt;resources/pref_sip.png&lt;/file&gt;
</span><span class="cx">         &lt;file alias=&quot;pref_audio.gif&quot;&gt;resources/pref_audio.gif&lt;/file&gt;
</span><span class="cx">         &lt;file alias=&quot;pref_general.jpg&quot;&gt;resources/pref_general.jpg&lt;/file&gt;
</span><ins>+        &lt;file alias=&quot;pref_accounts.jpg&quot;&gt;resources/pref_accounts.jpg&lt;/file&gt;
</ins><span class="cx">     &lt;/qresource&gt;
</span><span class="cx">     &lt;qresource prefix=&quot;/confs&quot;&gt;
</span><span class="cx">         &lt;file alias=&quot;freeswitch.xml&quot;&gt;conf/freeswitch.xml&lt;/file&gt;
</span><span class="lines">@@ -11,6 +12,7 @@
</span><span class="cx">         &lt;file alias=&quot;event_socket.conf.xml&quot;&gt;conf/event_socket.conf.xml&lt;/file&gt;
</span><span class="cx">         &lt;file alias=&quot;portaudio.conf.xml&quot;&gt;conf/portaudio.conf.xml&lt;/file&gt;
</span><span class="cx">         &lt;file alias=&quot;sofia.conf.xml&quot;&gt;conf/sofia.conf.xml&lt;/file&gt;
</span><ins>+        &lt;file alias=&quot;account.conf.xml&quot;&gt;conf/account.conf.xml&lt;/file&gt;
</ins><span class="cx">     &lt;/qresource&gt;
</span><span class="cx">     &lt;qresource prefix=&quot;/sounds&quot;&gt;
</span><span class="cx">         &lt;file alias=&quot;test.wav&quot;&gt;resources/test.wav&lt;/file&gt;
</span></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>

</body>
</html>