<?xml version="1.0" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>VDK Discussion Forum | VoipDevKit</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/</link>
	<description><![CDATA[Give VoIP to your ideas!]]></description>
	<generator>Simple:Press Forum Version 4.1.3</generator>
	<atom:link href="http://www.voipdevkit.com/developers/forum/?general&#038;using-vdk-with-qtcreator-on-mac-os-1057&#038;xfeed=topic" rel="self" type="application/rss+xml" />
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p32</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p32</guid>
	<description><![CDATA[<p>Hi, It seems to be that paths for vdk.ini are different. Until this I had vdk.ini only in the /.../Contents/MacOS/ folder. I copied it also to the directory where the root of the bundle is. Now the test app is starting up normally when it is esecuted with and without debugger within QtCreator, and it works also when I execute it from command line or by by clicking the app through the Finder.</p>
<br />
<p>Thanks for your help!</p>
]]></description>
	<pubDate>Mon, 15 Jun 2009 20:21:30 +0000</pubDate>
</item>
<item>
	<title>lamonica on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p31</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p31</guid>
	<description><![CDATA[<p>Hi, maybe there&#39;s some issue with the config file parsing, i am not entirely sure if paths where QtCreator go to look for vdk.ini are the same with and without debugger. Have you checked the vdklog-1.txt file? if you try to execute the binary from command line (not within Qt Creator) what happens?</p>
]]></description>
	<pubDate>Mon, 15 Jun 2009 19:44:28 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p30</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p30</guid>
	<description><![CDATA[<p>Hi,</p>
<p>You&#39;re right. vdk-&#62;init() returns -1 when the tes app is executed without debugger.</p>
<br />
<p>Best regards,</p>
<p>Antti</p>
<br />
]]></description>
	<pubDate>Mon, 15 Jun 2009 11:15:59 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p29</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p29</guid>
	<description><![CDATA[<p>Hi,</p>
<br />
<p>Here is my vdk.ini. It should be the same than the example delivered with the trial package. Only local IP is changed.</p>
<br />
<p>In the debugger init() returns zero. I add some trace and check what I get when executing the app standalone.</p>
<br />
<p>[NETWORK]<br />LocalIP=192.168.1.143<br />LocalUdpPort=5080<br /><br />[SIP_DEFAULTS]<br />ProxyIP=192.168.23.200<br />ProxyPort=5060<br />ProxyDiscovery=IP_ADDRESS<br />RegistrarIp=192.168.23.200<br />RegistrarPort=5060<br />RegistrarDiscovery=IP_ADDRESS<br />DomainName=netresults.it<br />RegisterExpiration=3600<br /><br />[SIP_ACCOUNTS]<br />1\User=John Smith<br />1\Username=johnsmih<br />1\Password=vdktest<br />2\ProxyDiscovery=DNS_SRV<br />2\RegistrarDiscovery=DNS_SRV<br />2\User=Jimmy Green<br />2\Username=green<br />2\Password=green_pass<br />size=2<br /><br />[SIP_ACCOUNTS]<br />1\User=John Smith<br />1\Username=johnsmih<br />1\Password=vdktest<br />2\ProxyDiscovery=DNS_SRV<br />2\RegistrarDiscovery=DNS_SRV<br />2\User=Jimmy Green<br />2\Username=green<br />2\Password=green_pass<br />size=2</p>
]]></description>
	<pubDate>Mon, 15 Jun 2009 10:13:09 +0000</pubDate>
</item>
<item>
	<title>lamonica on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p28</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p28</guid>
	<description><![CDATA[<p>Hi Antti, i tried your snippet and it does not crash here, can you provide us your vdk.ini file? and confirm that init() returns 0?</p>
<p>regards</p>
]]></description>
	<pubDate>Sat, 13 Jun 2009 13:50:13 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p27</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p27</guid>
	<description><![CDATA[<p>Sure, is this sufficient?</p>
<br />
<p>If I comment the line</p>
<p><em>ret = vdk-&#62;setActiveSipAccount(1);</em></p>
<p>the test app starts normally (any VoIP is of course not working then).</p>
<br />
<p style="padding-left: 30px;"><em>MainWindow::MainWindow(QWidget *parent)<br />&#160;&#160;&#160; : QMainWindow(parent), ui(new Ui::MainWindow)<br />{<br />&#160; ui-&#62;setupUi(this);<br /><br />&#160; connect(ui-&#62;pushButton, SIGNAL(clicked()), this, SLOT(on_pushButton_clicked()));<br />&#160; connect(ui-&#62;pushButton_2, SIGNAL(clicked()), this, SLOT(on_pushButton_2_clicked()));<br />&#160; vdk = new VDKQtEngine();<br />&#160; int ret = vdk-&#62;init();<br />&#160; qDebug() &#60;&#60; "VDK init status " &#60;&#60; ret;<br />&#160; ret = vdk-&#62;setActiveSipAccount(1);<br />&#160; qDebug() &#60;&#60; "setActiveSipAccount status " &#60;&#60; ret;<br />&#160; devicelist = vdk-&#62;getAudioDeviceList();<br />&#160; qDebug() &#60;&#60; "got " &#60;&#60; devicelist.size() &#60;&#60; "devices";<br />&#160; micId = vdk-&#62;getDefaultAudioInputDevice();<br />&#160; qDebug() &#60;&#60; "Microphone " &#60;&#60; micId;<br />&#160; speakersId = vdk-&#62;getDefaultAudioOutputDevice();<br />&#160; qDebug() &#60;&#60; "Speakers " &#60;&#60; speakersId;<br /><br />&#160; connect(vdk, SIGNAL(sigSipError(int,int,const char*)), this,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SLOT(error_case(int,int,const char*)));<br />&#160; connect(vdk,SIGNAL(sigCallEstablished(int)),this,SLOT(startTalking(int)));<br />}</em></p>
]]></description>
	<pubDate>Wed, 10 Jun 2009 17:43:14 +0000</pubDate>
</item>
<item>
	<title>lamonica on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p26</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p26</guid>
	<description><![CDATA[<p>Hi Antti, can you provide a sample code snippet?</p>
]]></description>
	<pubDate>Wed, 10 Jun 2009 14:44:05 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p25</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p25</guid>
	<description><![CDATA[<p>Hi,</p>
<p>I realised that setActiveSipAccount() (SipHandler::setActiveSipAccount() according to the MacOS report) seems to crash test application when I compile it in Release mode and run it. But in e.g. the debugger (Qt Creator) it seems to be returning normally (returns 0).</p>
<p>Any hint what might be wrong?</p>
<br />
]]></description>
	<pubDate>Tue, 09 Jun 2009 18:19:00 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p24</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p24</guid>
	<description><![CDATA[<p>Thanks! This helps.</p>
]]></description>
	<pubDate>Fri, 05 Jun 2009 16:22:15 +0000</pubDate>
</item>
<item>
	<title>alienpenguin on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p23</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p23</guid>
	<description><![CDATA[<p>Hi Antti,</p>
<p>in the case of p2p sip call you do not need to worry much about what is inside the vdk.ini; you do not even need to call the registerSipAccount(), but you still must call the setActiveSipAccount(). Then call directly your peer passing a string like: sip:xxx@&#60;peer_ip_address&#62;:&#60;peer_listening_port&#62;</p>
<br />
<p>hope this helps.</p>
]]></description>
	<pubDate>Fri, 05 Jun 2009 15:31:10 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p22</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p22</guid>
	<description><![CDATA[<p>Hi, I have a question about vdk.ini: how it should look out if one tries to make a call directly between two computers (without sip server taking part in it)?</p>
]]></description>
	<pubDate>Fri, 05 Jun 2009 14:26:43 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p21</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p21</guid>
	<description><![CDATA[<p>Thanks, you were right. I had vdk.ini in wrong place; I had it in /../Frameworks/ folder of the bundle but I moved it to same place than the executable.</p>
<p>Now method calls seem to work.</p>
<p>Thank you for your help!</p>
]]></description>
	<pubDate>Fri, 05 Jun 2009 10:12:45 +0000</pubDate>
</item>
<item>
	<title>alienpenguin on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p20</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p20</guid>
	<description><![CDATA[<p>Hi Antti, we are still using Mac Os X 10.5.6 so we&#39;ve not been able to test it against the latest patchset but I do not think that should be the problem. Have you checked that the init() method returns a non-negative value? Maybe the vdk.ini file is not found? (it&#39;s the most common issue)</p>
<p>Let me know if all the calls you do before the getDefaultAudioInputDevice() return successfully.</p>
<br />
<p>regards</p>
]]></description>
	<pubDate>Thu, 04 Jun 2009 19:02:43 +0000</pubDate>
</item>
<item>
	<title>Antti on Using VDK with QtCreator on Mac (OS 10.5.7)</title>
	<link>http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p19</link>
	<category>General</category>
	<guid isPermaLink="true">http://www.voipdevkit.com/developers/forum/general/using-vdk-with-qtcreator-on-mac-os-1057/#p19</guid>
	<description><![CDATA[<p>
<p>On Mac &#160;::getDefaultAudioInputDevice() seem to always return -1 and e.g. ::getAudioDeviceList() gives an empty list. What might be wrong?</p>
<br />
<p>I&#39;m using the VDK trial version and Qt Creator 1.1.0, Mac OS is 10.5.7.</p>
</p>
]]></description>
	<pubDate>Thu, 04 Jun 2009 10:14:48 +0000</pubDate>
</item>
</channel>
</rss>