[Freeswitch-users] Dingaling - external rtp supported?

Moiz Chinoy moizchinoy at gmail.com
Wed Feb 24 22:04:46 PST 2010


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:

typedef long ssize_t;

because otherwise it was giving errors...

What is the recommended version of the TLS lib for windows?

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.

......................
2010-02-25 09:45:29.795285 [CONSOLE] switch_loadable_module.c:1277 Stopping:
CORE_SOFTTIMER_MODULE
2010-02-25 09:45:29.810910 [CONSOLE] switch_time.c:780 Soft timer thread
exiting.
2010-02-25 09:45:29.810910 [NOTICE] switch_loadable_module.c:98 Thread ended
for CORE_SOFTTIMER_MODULE
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:456 Write lock
interface 'dingaling' to wait for existing references.
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:464 Deleting
Endpoint 'dingaling'
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting
API Function 'dl_debug'
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock
interface 'dl_debug' to wait for existing references.
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting
API Function 'dl_pres'
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock
interface 'dl_pres' to wait for existing references.
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting
API Function 'dl_logout'
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock
interface 'dl_logout' to wait for existing references.
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting
API Function 'dl_login'
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock
interface 'dl_login' to wait for existing references.
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:572 Deleting
API Function 'dingaling'
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:574 Write lock
interface 'dingaling' to wait for existing references.
2010-02-25 09:45:29.826535 [DEBUG] switch_loadable_module.c:710 Write lock
interface 'jingle' to wait for existing references.
2010-02-25 09:45:29.826535 [NOTICE] switch_loadable_module.c:719 Deleting
Chat interface 'jingle'
2010-02-25 09:45:29.826535 [CONSOLE] switch_loadable_module.c:1277 Stopping:
mod_dingaling
2010-02-25 09:45:31.185910 [DEBUG] libdingaling.c:1546 io error 2 7 retry in
1 second(s)
........................

And the code went in the stream.c...

int
iks_fd (iksparser *prs)
{
struct stream_data *data;

if (prs) {
data = iks_user_data (prs);
if (data) {
return (int) data->sock;
}
}
return -1;
}



On Tue, Feb 23, 2010 at 11:31 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> If you are modifying your build to add libgcrypt / libgnutls to win32, you
> have chosen an incompatible version of one of these libs.  We do not
support
> manually adding this modification to the code, you will need to find
someone
> else who has done it successfully to help you.
>
>
>
>
> On Tue, Feb 23, 2010 at 1:59 AM, Moiz Chinoy <moizchinoy at gmail.com> wrote:
>>
>> Moreover, if I gtalk client is on the same machine as FS and i have
>> following settings, FS crashes with the same mutex error.
>>
>> External Sip Profile has following lines:
>> ---------------------------------------------------------
>>   <param name="rtp-ip" value="$${local_ip_v4}"/>
>>   <param name="sip-ip" value="$${local_ip_v4}"/>
>>   <param name="ext-rtp-ip" value="auto-nat"/>
>>   <param name="ext-sip-ip" value="auto-nat"/>
>>
>> Jingle Client.xml has following lines:
>> -----------------------------------------------------
>>   <param name="rtp-ip" value="$${bind_server_ip}"/>
>>   <!--<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>-->
>>   <!--<param name="disable-rtp-auto-adjust" value="true"/>-->
>>   <!--<param name="avatar" value="/path/to/tiny.jpg"/>-->
>>   <!--<param name="candidate-acl" value="wan.auto"/>-->
>>   <!--<param name="local-network-acl" value="localnet.auto"/>-->
>>
>> If I uncomment the following line in client.xml (Jingle profile)
>>   <!--<param name="local-network-acl" value="localnet.auto"/>-->
>> then exception does not happen.
>>
>> Is this a known issue or do I need to post it in JIRA?
>>
>> Tell me if more logs are needed...
>>
>>
>> On Sun, Feb 21, 2010 at 8:00 PM, Moiz Chinoy <moizchinoy at gmail.com>
wrote:
>> > Guys,
>> >
>> > To make things simple gtalk client is entirely on different network.
>> >
>> > Call comes from outside through external Sip profile.
>> >
>> > If gtalk answers the call after 3-4 rings both parties can hear each
>> > other.
>> > If gtalk answers the call after 2 rings both parties no one can hear
>> > each other.
>> > If gtalk answers the call immediately FS crashes.
>> >
>> > Attached is the screen shot of the error...
>> >
>> > Here is the FS log...
>> > --------------------------------
>> > http://pastebin.freeswitch.org/12197
>> >
>> > External Sip Profile has following lines:
>> > ---------------------------------------------------------
>> >    <param name="rtp-ip" value="$${local_ip_v4}"/>
>> >    <param name="sip-ip" value="$${local_ip_v4}"/>
>> >    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>> >    <param name="ext-sip-ip" value="$${external_sip_ip}"/>
>> >
>> > Jingle Client.xml has following lines:
>> > -----------------------------------------------------
>> >    <param name="rtp-ip" value="$${bind_server_ip}"/>
>> >    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>> >    <param name="disable-rtp-auto-adjust" value="true"/>
>> >    <!--<param name="avatar" value="/path/to/tiny.jpg"/>-->
>> >    <!--<param name="candidate-acl" value="wan.auto"/>-->
>> >    <!--<param name="local-network-acl" value="localnet.auto"/>-->
>> >
>> > Vars.xml has following lines:
>> > -------------------------------------------
>> > <X-PRE-PROCESS cmd="set"
>> > data="external_rtp_ip=stun:stun.freeswitch.org"/>
>> > <X-PRE-PROCESS cmd="set"
>> > data="external_sip_ip=stun:stun.freeswitch.org"/>
>> >
>> >
>> > Please advise me how can I provide more of the required data.
>> >
>> > On Wed, Feb 17, 2010 at 11:36 PM, Anthony Minessale
>> > <anthony.minessale at gmail.com> wrote:
>> >> you cant combine stun and gtalk and boxes in the same lan very easily
>> >> if you
>> >> do need to do that you will need to mess with
>> >>
>> >> <param name="candidate-acl" value="wan.auto"/>
>> >> <param name="local-network-acl" value="localnet.auto"/>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Wed, Feb 17, 2010 at 9:41 AM, Moiz Chinoy <moizchinoy at gmail.com>
>> >> wrote:
>> >>>
>> >>> Guys I am unable to produce the crash but now both parties cannot
hear
>> >>> each other!
>> >>>
>> >>> Vars.xml has following lines:
>> >>>  <X-PRE-PROCESS cmd="set"
>> >>> data="external_rtp_ip=stun:stun.freeswitch.org"/>
>> >>>  <X-PRE-PROCESS cmd="set"
>> >>> data="external_sip_ip=stun:stun.freeswitch.org"/>
>> >>>
>> >>> Jingle Client.xml has following lines:
>> >>>    <param name="rtp-ip" value="$${bind_server_ip}"/>
>> >>>    <!-- <param name="ext-rtp-ip" value="auto-nat"/> -->
>> >>>    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>> >>>    <param name="disable-rtp-auto-adjust" value="true"/>
>> >>>    <param name="local-network-acl" value="localnet.auto"/>
>> >>>
>> >>> On Wed, Feb 17, 2010 at 5:38 PM, Anthony Minessale
>> >>> <anthony.minessale at gmail.com> wrote:
>> >>> > Obtain a stack trace from the crash.
>> >>> >
>> >>> > On Feb 17, 2010 5:26 AM, "Moiz Chinoy" <moizchinoy at gmail.com>
wrote:
>> >>> >
>> >>> > Hi,
>> >>> >
>> >>> > FS rev: 16673
>> >>> > Platform: Windows
>> >>> >
>> >>> > More details:
>> >>> >
>> >>> > FS is behind NAT and machine is running a VPN connection.
>> >>> >
>> >>> > FS and GTalk client on the same machine:
>> >>> >
>> >>> >
>> >>> >
--------------------------------------------------------------------------------------------------
>> >>> > jingle profile client.xml has following line:
>> >>> > <param name="rtp-ip" value="$${bind_server_ip}"/>
>> >>> >
>> >>> > External SIP call is successfully bridged to GTalk client.
>> >>> >
>> >>> >
>> >>> > FS and GTalk client on the different machine:
>> >>> >
>> >>> >
>> >>> >
--------------------------------------------------------------------------------------------------
>> >>> > jingle profile client.xml has following lines:
>> >>> > <param name="rtp-ip" value="$${bind_server_ip}"/>
>> >>> >
>> >>> > <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>> >>> >
>> >>> > As soon as external SIP call land and I try to bridge the call to
>> >>> > GTalk client, FS crashes.
>> >>> >
>> >>> >
>> >>> > NAT Details:
>> >>> > ---------------------------
>> >>> > I think my NAT does not support UpNP or PMP. The reason I say it
>> >>> > because when FS starts following message is displayed:
>> >>> >
>> >>> > 2010-02-17 09:15:42.809674 [INFO] switch_nat.c:409 Scanning for NAT
>> >>> > 2010-02-17 09:15:42.809674 [ERR] switch_nat.c:197 Error checking
for
>> >>> > PMP [init failed]
>> >>> > 2010-02-17 09:15:42.809674 [DEBUG] switch_nat.c:414 Checking for
>> >>> > UPnP
>> >>> > 2010-02-17 09:15:56.825388 [DEBUG] switch_nat.c:114 No
>> >>> > InternetGatewayDevice, using first entry as default
>> >>> > (http://192.168.16.17:50144/).
>> >>> > 2010-02-17 09:15:56.887889 [INFO] switch_nat.c:429 No PMP or UPnP
>> >>> > NAT
>> >>> > devices detected!
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Tue, Feb 16, 2010 at 8:41 PM, Brian West <brian at freeswitch.org>
>> >>> > wrote:
>> >>> >> can you please update...
>> >>> >
>> >>> > _______________________________________________
>> >>> > FreeSWITCH-users mailing list
>> >>> > FreeSWITCH-users at lists.freeswitch.org
>> >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>> >
>> >>> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >>> > http://www.freeswitch.org
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Regards,
>> >>> Moiz Chinoy.
>> >>>
>> >>> _______________________________________________
>> >>> FreeSWITCH-users mailing list
>> >>> FreeSWITCH-users at lists.freeswitch.org
>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>>
>> >>> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >>> http://www.freeswitch.org
>> >>
>> >>
>> >>
>> >> --
>> >> Anthony Minessale II
>> >>
>> >> FreeSWITCH http://www.freeswitch.org/
>> >> ClueCon http://www.cluecon.com/
>> >> Twitter: http://twitter.com/FreeSWITCH_wire
>> >>
>> >> AIM: anthm
>> >> MSN:anthony_minessale at hotmail.com<MSN%3Aanthony_minessale at hotmail.com>
>> >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>> >> IRC: irc.freenode.net #freeswitch
>> >>
>> >> FreeSWITCH Developer Conference
>> >> sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org>
>> >> iax:guest at conference.freeswitch.org/888
>> >> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>> >> pstn:+19193869900
>> >>
>> >> _______________________________________________
>> >> FreeSWITCH-users mailing list
>> >> FreeSWITCH-users at lists.freeswitch.org
>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>
>> >> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >> http://www.freeswitch.org
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Moiz Chinoy.
>> >
>>
>>
>>
>> --
>> Regards,
>> Moiz Chinoy.
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Regards,
Moiz Chinoy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100225/892e5636/attachment-0002.html 


More information about the FreeSWITCH-users mailing list