# HG changeset patch
# User Ralf Schlatterbeck <[EMAIL PROTECTED]>
# Date 1214256176 -7200
# Node ID 01aa4b3f7df45677cd94f70d4113c579e88c212c
# Parent da792a217936ae907283bbfa2c75d2b9ab8d5c2b
Fix crash if a second call is incoming while a call is in progress
Easy: the config-string audio.doublecall.file was not in the xml-file.
This leads to a boost::bad_any_cast exception when trying to use that
string.
- Seems that config-file parsing is not very robust
- For adding a new config-variable we have to change three files, the .h
the .cpp and the .xml file -- seems in this case one of the was
forgotten.
diff -r da792a217936 -r 01aa4b3f7df4 wengophone/resources/config/config.xml
--- a/wengophone/resources/config/config.xml Mon Jun 23 20:31:46 2008 +0200
+++ b/wengophone/resources/config/config.xml Mon Jun 23 23:22:56 2008 +0200
@@ -48,6 +48,7 @@ version 12:
</stringlist>
</audio.codec.list>
<audio.contactonline.file><string></string></audio.contactonline.file>
+<audio.doublecall.file><string>sounds/doublecall.wav</string></audio.doublecall.file>
<audio.halfduplex><bool>0</bool></audio.halfduplex>
<audio.imaccountconnected.file><string></string></audio.imaccountconnected.file>
<audio.imaccountdisconnected.file><string></string></audio.imaccountdisconnected.file>
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting Fax: +43/2243/26465-23
Reichergasse 131 www: http://www.runtux.com
A-3411 Weidling email: [EMAIL PROTECTED]
osAlliance member email: [EMAIL PROTECTED]
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev