On Fri, Jan 27, 2006 at 04:15:34PM +0100, Oliver Brandt wrote:
> Hi,
>
> I just found your service and I must say, it looks really good. It seams
> like the perfect solution to me as it is simple (makes it easy to
> convice friends), open standart based (sip lets me use asterisk) and the
> client seems to be really good, avalible for all platforms an open
> source (as a linux user this is very important for me).
Nice to hear that choices we made regarding protocols and
opensource-ness matter.
>
> To have a more powerful system I want to connect WengoPhone to an asterisk
> which then connects to the openwengo service.
>
> Works perfectly when I change the the SIP Profile Configuration
> apropreately. Then I press the "save" button and I can place my calls.
> But after restarting WengoPhone all the data I've entered in the SIP
> Profile are gone and set back tho the wengo-server settings (all the
> other configuration options were saved, though). This problem occures on
> windows and linux.
The SIP profile widget in the softphone-classic is primarly meant for
debugging purposes. I always thought it would be handy to have these
values saved in the XML configuration files but the truth is :
1) the code which deals with saving/loading values from the
configuration files is OK but makes adding new options difficult
2) There is not a real abstraction of a SIP service/connection/profile
in the softphone-classic (all of this has been very well designed in
the ng softphone), so trying to put the SIP profile related code in a
better shape is useless.
>
> Hope you can help me! And thank you very much for your great service.
> I'll sure try to spred the word to make your service known to as many
> people as possible and to get them away from bad old skype...
We can help you :)
The quick answer is this. I guess you're using Linux so recompilation
is not a problem for you. Authentication API can be found in
gui/config/Authentication.cpp. The softphone uses functions from the
Authentication class (which is a singleton btw) to get SIP profile
parameters. If you want to modify the SIP proxy for example, you would
replace this :
QString Authentication::getProxy() const {
#ifdef BETA_TEST_VIDEO_PROFILE
return QString("213.91.9.210");
#endif
return _proxy;
}
by something like :
QString Authentication::getProxy() const {
return QString("x.x.x.x");
}
Where x.x.x.x is the IP adress of the proxy you want to use. Similar
hacks can be used in the other functions of the Authentication class.
Since a few weeks all the attention is brought on the NG, so there are
very few chances that we make modifications so that the SIP profile
is persisted. I hope the "solution" i gave you satisfies your needs.
>
> Big thanks in advance for your help! Best regards!
Thank you !
David
--
David Ferlier -- [EMAIL PROTECTED]
"Humor is mankind's greatest blessing."
-- Mark Twain
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel