<div dir="ltr"><div> </div>
<div>I was using GuntTls-2.7.3 for windows. Now I am using GuntTls-2.9.9. I have modified only gnutls.h, added following line:</div>
<div> </div>
<div>typedef long ssize_t;</div>
<div> </div>
<div>because otherwise it was giving errors...</div>
<div> </div>
<div>What is the recommended version of the TLS lib for windows?</div>
<div> </div>
<div>After upgrading the the GnuTls and freeswitch to rev 16806, I ran the freeswitch with mod_dingalilg enabled. Once started, I issued just the 'shutdown' command on the console, exception happened.</div>
<div> </div>
<div>......................</div>
<div>2010-02-25 09:45:29.795285 [CONSOLE] switch_loadable_module.c:1277 Stopping: CORE_SOFTTIMER_MODULE</div>
<div>2010-02-25 09:45:29.810910 [CONSOLE] switch_time.c:780 Soft timer thread exiting.</div>
<div>2010-02-25 09:45:29.810910 [NOTICE] switch_loadable_module.c:98 Thread ended for CORE_SOFTTIMER_MODULE</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:456 Write lock interface 'dingaling' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:464 Deleting Endpoint 'dingaling'</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting API Function 'dl_debug'</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock interface 'dl_debug' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting API Function 'dl_pres'</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock interface 'dl_pres' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting API Function 'dl_logout'</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock interface 'dl_logout' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting API Function 'dl_login'</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock interface 'dl_login' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting API Function 'dingaling'</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock interface 'dingaling' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:710 Write lock interface 'jingle' to wait for existing references.</div>
<div>2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:719 Deleting Chat interface 'jingle'</div>
<div>2010-02-25 09:45:29.826535 [CONSOLE] switch_loadable_module.c:1277 Stopping: mod_dingaling</div>
<div>2010-02-25 09:45:31.185910 [DEBUG] libdingaling.c:1546 io error 2 7 retry in 1 second(s)</div>
<div>........................</div>
<div> </div>
<div>And the code went in the stream.c...</div>
<div> </div>
<div>int</div>
<div>iks_fd (iksparser *prs)</div>
<div>{</div>
<div>struct stream_data *data;</div>
<div> </div>
<div>if (prs) {</div>
<div>data = iks_user_data (prs);</div>
<div>if (data) {</div>
<div><font style="background-color: rgb(255, 0, 0);">return (int) data->sock;</font></div>
<div>}</div>
<div>}</div>
<div>return -1;</div>
<div>}</div>
<div> </div>
<div> </div>
<div> </div>
<div>On Tue, Feb 23, 2010 at 11:31 PM, Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:</div>
<div>> If you are modifying your build to add libgcrypt / libgnutls to win32, you</div>
<div>> have chosen an incompatible version of one of these libs. We do not support</div>
<div>> manually adding this modification to the code, you will need to find someone</div>
<div>> else who has done it successfully to help you.</div>
<div>></div>
<div>></div>
<div>></div>
<div>></div>
<div>> On Tue, Feb 23, 2010 at 1:59 AM, Moiz Chinoy <<a href="mailto:moizchinoy@gmail.com" target="_blank">moizchinoy@gmail.com</a>> wrote:</div>
<div>>></div>
<div>>> Moreover, if I gtalk client is on the same machine as FS and i have</div>
<div>>> following settings, FS crashes with the same mutex error.</div>
<div>>></div>
<div>>> External Sip Profile has following lines:</div>
<div>>> ---------------------------------------------------------</div>
<div>>> <param name="rtp-ip" value="$${local_ip_v4}"/></div>
<div>>> <param name="sip-ip" value="$${local_ip_v4}"/></div>
<div>>> <param name="ext-rtp-ip" value="auto-nat"/></div>
<div>>> <param name="ext-sip-ip" value="auto-nat"/></div>
<div>>></div>
<div>>> Jingle Client.xml has following lines:</div>
<div>>> -----------------------------------------------------</div>
<div>>> <param name="rtp-ip" value="$${bind_server_ip}"/></div>
<div>>> <!--<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>--></div>
<div>>> <!--<param name="disable-rtp-auto-adjust" value="true"/>--></div>
<div>>> <!--<param name="avatar" value="/path/to/tiny.jpg"/>--></div>
<div>>> <!--<param name="candidate-acl" value="wan.auto"/>--></div>
<div>>> <!--<param name="local-network-acl" value="localnet.auto"/>--></div>
<div>>></div>
<div>>> If I uncomment the following line in client.xml (Jingle profile)</div>
<div>>> <!--<param name="local-network-acl" value="localnet.auto"/>--></div>
<div>>> then exception does not happen.</div>
<div>>></div>
<div>>> Is this a known issue or do I need to post it in JIRA?</div>
<div>>></div>
<div>>> Tell me if more logs are needed...</div>
<div>>></div>
<div>>></div>
<div>>> On Sun, Feb 21, 2010 at 8:00 PM, Moiz Chinoy <<a href="mailto:moizchinoy@gmail.com" target="_blank">moizchinoy@gmail.com</a>> wrote:</div>
<div>>> > Guys,</div>
<div>>> ></div>
<div>>> > To make things simple gtalk client is entirely on different network.</div>
<div>>> ></div>
<div>>> > Call comes from outside through external Sip profile.</div>
<div>>> ></div>
<div>>> > If gtalk answers the call after 3-4 rings both parties can hear each</div>
<div>>> > other.</div>
<div>>> > If gtalk answers the call after 2 rings both parties no one can hear</div>
<div>>> > each other.</div>
<div>>> > If gtalk answers the call immediately FS crashes.</div>
<div>>> ></div>
<div>>> > Attached is the screen shot of the error...</div>
<div>>> ></div>
<div>>> > Here is the FS log...</div>
<div>>> > --------------------------------</div>
<div>>> > <a href="http://pastebin.freeswitch.org/12197" target="_blank">http://pastebin.freeswitch.org/12197</a></div>
<div>>> ></div>
<div>>> > External Sip Profile has following lines:</div>
<div>>> > ---------------------------------------------------------</div>
<div>>> > <param name="rtp-ip" value="$${local_ip_v4}"/></div>
<div>>> > <param name="sip-ip" value="$${local_ip_v4}"/></div>
<div>>> > <param name="ext-rtp-ip" value="$${external_rtp_ip}"/></div>
<div>>> > <param name="ext-sip-ip" value="$${external_sip_ip}"/></div>
<div>>> ></div>
<div>>> > Jingle Client.xml has following lines:</div>
<div>>> > -----------------------------------------------------</div>
<div>>> > <param name="rtp-ip" value="$${bind_server_ip}"/></div>
<div>>> > <param name="ext-rtp-ip" value="$${external_rtp_ip}"/></div>
<div>>> > <param name="disable-rtp-auto-adjust" value="true"/></div>
<div>>> > <!--<param name="avatar" value="/path/to/tiny.jpg"/>--></div>
<div>>> > <!--<param name="candidate-acl" value="wan.auto"/>--></div>
<div>>> > <!--<param name="local-network-acl" value="localnet.auto"/>--></div>
<div>>> ></div>
<div>>> > Vars.xml has following lines:</div>
<div>>> > -------------------------------------------</div>
<div>>> > <X-PRE-PROCESS cmd="set"</div>
<div>>> > data="external_rtp_ip=stun:<a href="http://stun.freeswitch.org" target="_blank">stun.freeswitch.org</a>"/></div>
<div>>> > <X-PRE-PROCESS cmd="set"</div>
<div>>> > data="external_sip_ip=stun:<a href="http://stun.freeswitch.org" target="_blank">stun.freeswitch.org</a>"/></div>
<div>>> ></div>
<div>>> ></div>
<div>>> > Please advise me how can I provide more of the required data.</div>
<div>>> ></div>
<div>>> > On Wed, Feb 17, 2010 at 11:36 PM, Anthony Minessale</div>
<div>>> > <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:</div>
<div>>> >> you cant combine stun and gtalk and boxes in the same lan very easily</div>
<div>>> >> if you</div>
<div>>> >> do need to do that you will need to mess with</div>
<div>>> >></div>
<div>>> >> <param name="candidate-acl" value="wan.auto"/></div>
<div>>> >> <param name="local-network-acl" value="localnet.auto"/></div>
<div>>> >></div>
<div>>> >></div>
<div>>> >></div>
<div>>> >></div>
<div>>> >></div>
<div>>> >> On Wed, Feb 17, 2010 at 9:41 AM, Moiz Chinoy <<a href="mailto:moizchinoy@gmail.com" target="_blank">moizchinoy@gmail.com</a>></div>
<div>>> >> wrote:</div>
<div>>> >>></div>
<div>>> >>> Guys I am unable to produce the crash but now both parties cannot hear</div>
<div>>> >>> each other!</div>
<div>>> >>></div>
<div>>> >>> Vars.xml has following lines:</div>
<div>>> >>> <X-PRE-PROCESS cmd="set"</div>
<div>>> >>> data="external_rtp_ip=stun:<a href="http://stun.freeswitch.org" target="_blank">stun.freeswitch.org</a>"/></div>
<div>>> >>> <X-PRE-PROCESS cmd="set"</div>
<div>>> >>> data="external_sip_ip=stun:<a href="http://stun.freeswitch.org" target="_blank">stun.freeswitch.org</a>"/></div>
<div>>> >>></div>
<div>>> >>> Jingle Client.xml has following lines:</div>
<div>>> >>> <param name="rtp-ip" value="$${bind_server_ip}"/></div>
<div>>> >>> <!-- <param name="ext-rtp-ip" value="auto-nat"/> --></div>
<div>>> >>> <param name="ext-rtp-ip" value="$${external_rtp_ip}"/></div>
<div>>> >>> <param name="disable-rtp-auto-adjust" value="true"/></div>
<div>>> >>> <param name="local-network-acl" value="localnet.auto"/></div>
<div>>> >>></div>
<div>>> >>> On Wed, Feb 17, 2010 at 5:38 PM, Anthony Minessale</div>
<div>>> >>> <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:</div>
<div>>> >>> > Obtain a stack trace from the crash.</div>
<div>>> >>> ></div>
<div>>> >>> > On Feb 17, 2010 5:26 AM, "Moiz Chinoy" <<a href="mailto:moizchinoy@gmail.com" target="_blank">moizchinoy@gmail.com</a>> wrote:</div>
<div>>> >>> ></div>
<div>>> >>> > Hi,</div>
<div>>> >>> ></div>
<div>>> >>> > FS rev: 16673</div>
<div>>> >>> > Platform: Windows</div>
<div>>> >>> ></div>
<div>>> >>> > More details:</div>
<div>>> >>> ></div>
<div>>> >>> > FS is behind NAT and machine is running a VPN connection.</div>
<div>>> >>> ></div>
<div>>> >>> > FS and GTalk client on the same machine:</div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>> > --------------------------------------------------------------------------------------------------</div>
<div>>> >>> > jingle profile client.xml has following line:</div>
<div>>> >>> > <param name="rtp-ip" value="$${bind_server_ip}"/></div>
<div>>> >>> ></div>
<div>>> >>> > External SIP call is successfully bridged to GTalk client.</div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>> > FS and GTalk client on the different machine:</div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>> > --------------------------------------------------------------------------------------------------</div>
<div>>> >>> > jingle profile client.xml has following lines:</div>
<div>>> >>> > <param name="rtp-ip" value="$${bind_server_ip}"/></div>
<div>>> >>> ></div>
<div>>> >>> > <param name="ext-rtp-ip" value="$${external_rtp_ip}"/></div>
<div>>> >>> ></div>
<div>>> >>> > As soon as external SIP call land and I try to bridge the call to</div>
<div>>> >>> > GTalk client, FS crashes.</div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>> > NAT Details:</div>
<div>>> >>> > ---------------------------</div>
<div>>> >>> > I think my NAT does not support UpNP or PMP. The reason I say it</div>
<div>>> >>> > because when FS starts following message is displayed:</div>
<div>>> >>> ></div>
<div>>> >>> > 2010-02-17 09:15:42.809674 [INFO] switch_nat.c:409 Scanning for NAT</div>
<div>>> >>> > 2010-02-17 09:15:42.809674 [ERR] switch_nat.c:197 Error checking for</div>
<div>>> >>> > PMP [init failed]</div>
<div>>> >>> > 2010-02-17 09:15:42.809674 [DEBUG] switch_nat.c:414 Checking for</div>
<div>>> >>> > UPnP</div>
<div>>> >>> > 2010-02-17 09:15:56.825388 [DEBUG] switch_nat.c:114 No</div>
<div>>> >>> > InternetGatewayDevice, using first entry as default</div>
<div>>> >>> > (<a href="http://192.168.16.17:50144/" target="_blank">http://192.168.16.17:50144/</a>).</div>
<div>>> >>> > 2010-02-17 09:15:56.887889 [INFO] switch_nat.c:429 No PMP or UPnP</div>
<div>>> >>> > NAT</div>
<div>>> >>> > devices detected!</div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>> > On Tue, Feb 16, 2010 at 8:41 PM, Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></div>
<div>>> >>> > wrote:</div>
<div>>> >>> >> can you please update...</div>
<div>>> >>> ></div>
<div>>> >>> > _______________________________________________</div>
<div>>> >>> > FreeSWITCH-users mailing list</div>
<div>>> >>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div>>> >>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div>
<div>>> >>> ></div>
<div>>> >>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div>>> >>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
<div>>> >>> ></div>
<div>>> >>> ></div>
<div>>> >>></div>
<div>>> >>></div>
<div>>> >>></div>
<div>>> >>> --</div>
<div>>> >>> Regards,</div>
<div>>> >>> Moiz Chinoy.</div>
<div>>> >>></div>
<div>>> >>> _______________________________________________</div>
<div>>> >>> FreeSWITCH-users mailing list</div>
<div>>> >>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div>>> >>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div>
<div>>> >>></div>
<div>>> >>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div>>> >>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
<div>>> >></div>
<div>>> >></div>
<div>>> >></div>
<div>>> >> --</div>
<div>>> >> Anthony Minessale II</div>
<div>>> >></div>
<div>>> >> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a></div>
<div>>> >> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a></div>
<div>>> >> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a></div>
<div>>> >></div>
<div>>> >> AIM: anthm</div>
<div>>> >> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a></div>
<div>>> >> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a></div>
<div>>> >> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch</div>
<div>>> >></div>
<div>>> >> FreeSWITCH Developer Conference</div>
<div>>> >> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a></div>
<div>>> >> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a></div>
<div>>> >> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a></div>
<div>>> >> pstn:+19193869900</div>
<div>>> >></div>
<div>>> >> _______________________________________________</div>
<div>>> >> FreeSWITCH-users mailing list</div>
<div>>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div>>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div>
<div>>> >></div>
<div>>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div>>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
<div>>> >></div>
<div>>> >></div>
<div>>> ></div>
<div>>> ></div>
<div>>> ></div>
<div>>> > --</div>
<div>>> > Regards,</div>
<div>>> > Moiz Chinoy.</div>
<div>>> ></div>
<div>>></div>
<div>>></div>
<div>>></div>
<div>>> --</div>
<div>>> Regards,</div>
<div>>> Moiz Chinoy.</div>
<div>>></div>
<div>>> _______________________________________________</div>
<div>>> FreeSWITCH-users mailing list</div>
<div>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div>
<div>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
<div>></div>
<div>></div>
<div>></div>
<div>> --</div>
<div>> Anthony Minessale II</div>
<div>></div>
<div>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a></div>
<div>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a></div>
<div>> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a></div>
<div>></div>
<div>> AIM: anthm</div>
<div>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a></div>
<div>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a></div>
<div>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch</div>
<div>></div>
<div>> FreeSWITCH Developer Conference</div>
<div>> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a></div>
<div>> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a></div>
<div>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a></div>
<div>> pstn:+19193869900</div>
<div>></div>
<div>> _______________________________________________</div>
<div>> FreeSWITCH-users mailing list</div>
<div>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div>
<div>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
<div>></div>
<div>></div>
<div> </div>
<div> </div>
<div> </div>
<div>-- </div>
<div>Regards,</div>
<div>Moiz Chinoy.</div>
</div>