Skip to content
Snippets Groups Projects
Commit 2e82b778 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin
Browse files

Merge commit 'origin/master'

parents c0ffee7b bf52db50
Branches
No related tags found
No related merge requests found
Showing
with 27 additions and 31 deletions
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
IAXAccount::IAXAccount(const AccountID& accountID) IAXAccount::IAXAccount(const AccountID& accountID)
: Account(accountID) : Account(accountID)
{ {
createVoIPLink(); _link = new IAXVoIPLink(accountID);
} }
...@@ -32,16 +32,6 @@ IAXAccount::~IAXAccount() ...@@ -32,16 +32,6 @@ IAXAccount::~IAXAccount()
{ {
} }
/* virtual Account function implementation */
bool
IAXAccount::createVoIPLink()
{
if (!_link) {
_link = new IAXVoIPLink(_accountID);
}
return (_link != 0 ? true : false);
}
bool bool
IAXAccount::registerAccount() IAXAccount::registerAccount()
{ {
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "account.h" #include "account.h"
/** /**
* An IAX Account specify IAX specific functions and objects (IAXCall/IAXVoIPLink) * An IAX Account specify IAX specific functions and objects (IAXCall/IAXVoIPLink)
* @author Yan Morin <yan.morin@gmail.com> * @author Yan Morin <yan.morin@gmail.com>
...@@ -34,6 +35,7 @@ public: ...@@ -34,6 +35,7 @@ public:
/* virtual Account function implementation */ /* virtual Account function implementation */
void initConfig(Conf::ConfigTree& config); void initConfig(Conf::ConfigTree& config);
/** Actually unuseful, since config loading is done in init() */
void loadConfig(); void loadConfig();
bool registerAccount(); bool registerAccount();
bool unregisterAccount(); bool unregisterAccount();
...@@ -41,8 +43,6 @@ public: ...@@ -41,8 +43,6 @@ public:
bool terminate(); bool terminate();
private: private:
/* virtual Account function implementation */
bool createVoIPLink();
}; };
#endif #endif
...@@ -268,7 +268,7 @@ IAXVoIPLink::sendAudioFromMic(void) ...@@ -268,7 +268,7 @@ IAXVoIPLink::sendAudioFromMic(void)
// take the lowest // take the lowest
int bytesAvail = (availBytesFromMic < maxBytesToGet) ? availBytesFromMic : maxBytesToGet; int bytesAvail = (availBytesFromMic < maxBytesToGet) ? availBytesFromMic : maxBytesToGet;
_debug("available = %d, maxBytesToGet = %d\n", availBytesFromMic, maxBytesToGet); //_debug("available = %d, maxBytesToGet = %d\n", availBytesFromMic, maxBytesToGet);
// Get bytes from micRingBuffer to data_from_mic // Get bytes from micRingBuffer to data_from_mic
int nbSample = audiolayer->getMic(_dataAudioLayer, bytesAvail) / sizeof(SFLDataFormat); int nbSample = audiolayer->getMic(_dataAudioLayer, bytesAvail) / sizeof(SFLDataFormat);
......
...@@ -69,7 +69,7 @@ ManagerImpl::ManagerImpl (void) ...@@ -69,7 +69,7 @@ ManagerImpl::ManagerImpl (void)
_dbus = NULL; _dbus = NULL;
// sound // sound
_audiodriver = 0; _audiodriver = NULL;
_dtmfKey = 0; _dtmfKey = 0;
_spkr_volume = 0; // Initialize after by init() -> initVolume() _spkr_volume = 0; // Initialize after by init() -> initVolume()
_mic_volume = 0; // Initialize after by init() -> initVolume() _mic_volume = 0; // Initialize after by init() -> initVolume()
......
...@@ -21,12 +21,10 @@ ...@@ -21,12 +21,10 @@
#include "manager.h" #include "manager.h"
SIPAccount::SIPAccount(const AccountID& accountID) SIPAccount::SIPAccount(const AccountID& accountID)
: Account(accountID) : Account(accountID)
{ {
createVoIPLink(); _link = new SIPVoIPLink(accountID);
} }
...@@ -34,16 +32,6 @@ SIPAccount::~SIPAccount() ...@@ -34,16 +32,6 @@ SIPAccount::~SIPAccount()
{ {
} }
/* virtual Account function implementation */
bool
SIPAccount::createVoIPLink()
{
if (!_link) {
_link = new SIPVoIPLink(_accountID);
}
return (_link != 0 ? true : false);
}
bool bool
SIPAccount::registerAccount() SIPAccount::registerAccount()
{ {
......
...@@ -35,6 +35,7 @@ public: ...@@ -35,6 +35,7 @@ public:
/* virtual Account function implementation */ /* virtual Account function implementation */
void initConfig(Conf::ConfigTree& config); void initConfig(Conf::ConfigTree& config);
/** Actually unuseful, since config loading is done in init() */
void loadConfig(); void loadConfig();
bool registerAccount(); bool registerAccount();
bool unregisterAccount(); bool unregisterAccount();
...@@ -42,8 +43,6 @@ public: ...@@ -42,8 +43,6 @@ public:
bool terminate(); bool terminate();
private: private:
/* virtual Account function implementation */
bool createVoIPLink();
}; };
......
...@@ -9,5 +9,14 @@ ...@@ -9,5 +9,14 @@
<body> <body>
<div id="page_wrapper"> <div id="page_wrapper">
<div id="header"> <div id="header">
<a href="."><img src="images/logoSFLphone<?= ($module == 'page_home' ? '512x149' : '312x91') ?>.png" /></a> <a href="."><img src="images/logoSFLphone<?= ($module == 'home' ? '512x149' : '312x91') ?>.png" /></a>
<?php if ($module != 'home') { ?>
<div id="homebutton">
<a href="index.php"><img src="images/home.png" alt="Home" /></a>
</div>
<?php } ?>
</div> </div>
\ No newline at end of file
www/images/home.png

1.51 KiB

Replaced the plain DocBook XSL admonition icons with Jimmac's DocBook
icons (http://jimmac.musichall.cz/ikony.php3). I dropped transparency
from the Jimmac icons to get round MS IE and FOP PNG incompatibilies.
Stuart Rackham
---------
SFLphone took those from AsciiDoc package.
www/images/icons/callouts/1.png

329 B

www/images/icons/callouts/10.png

361 B

www/images/icons/callouts/11.png

565 B

www/images/icons/callouts/12.png

617 B

www/images/icons/callouts/13.png

623 B

www/images/icons/callouts/14.png

411 B

www/images/icons/callouts/15.png

640 B

www/images/icons/callouts/2.png

353 B

www/images/icons/callouts/3.png

350 B

www/images/icons/callouts/4.png

345 B

www/images/icons/callouts/5.png

348 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment