[Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor]
Brian West
brian at freeswitch.org
Thu Dec 1 20:19:58 MSK 2016
You'll want 1.6.13 or master, this bug was a pain in the butt to find and
fix.
/b
On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach <lists at telefaks.de> wrote:
> Thanks,
>
> by the way, we found out in further testing, when setting RTP ports to
> 65000+, this error went away.
>
> But anyway, we will have to update/recompile Freeswitch.
>
>
>
> Best regards
> Peter
>
> On 12/01/16 17:21, Brian West wrote:
>
> You're on an older release, we've fixed this already.
>
> /b
>
>
> On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach <lists at telefaks.de> wrote:
>
>> Hello,
>>
>> I have a strange error when proyy-media T38 faxes.
>> Freeswitch is behind NAT (internal 192.168.12.248, external 5.10.xxx.yyy),
>> other, receiving Server is also a Freeswitch
>>
>> A connection is made via G.711A, we hear the machines negociating, then
>> we receive a T.38 reinvite from the remote Freeswitch server.
>> The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to the
>> remote site (and there the error occurs). See error in bold:
>>
>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel
>> sofia/internal/30 at 192.168.12.248 entering state [completing][200]
>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP
>> v=0
>> o=30 8002 8001 IN IP4 192.168.12.99
>> s=SIP Call
>> c=IN IP4 192.168.12.99
>> t=0 0
>> m=image 5012 udptl t38
>> a=T38FaxVersion:0
>> a=T38MaxBitRate:14400
>> a=T38FaxRateManagement:transferredTCF
>> a=T38FaxMaxBuffer:500
>> a=T38FaxMaxDatagram:500
>> a=T38FaxUdpEC:t38UDPRedundancy
>>
>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel
>> sofia/internal/30 at 192.168.12.248 entering state [ready][200]
>> 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200
>> [OK]
>> 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955
>> sofia/external/0403801xxxxxxx image media sdp:
>> v=0
>> o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy
>> s=FreeSWITCH
>> c=IN IP4 5.10.xxx.yyy
>> t=0 0
>> m=image 29544 udptl t38
>> a=T38FaxVersion:0
>> a=T38MaxBitRate:14400
>> a=T38FaxRateManagement:transferredTCF
>> a=T38FaxMaxBuffer:500
>> a=T38FaxMaxDatagram:500
>> a=T38FaxUdpEC:t38UDPRedundancy
>>
>> *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with
>> error: 9 [Bad file descriptor]*
>> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712
>> sofia/external/0403801xxxxxxx ending bridge by request from read function
>> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD
>> DONE [sofia/external/0403801xxxxxxx]
>> 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup
>> sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR
>>
>> Some background Info:
>>
>> - Freeswitch runs in LXC environment
>> - Freeswitch runs as non-priviledged user.
>>
>> What is the cause of this? Maybe a problem with port 29544? But port
>> 29544 was already previously used with G.711A.
>>
>> --
>> With kind regards
>> Peter Steinbach
>>
>> Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de
>> Internet: www.telefaks.de
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
> https://www.gofundme.com/freeswitch_ubuntu
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> --
> With kind regards
> Peter Steinbach
>
> Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de
> Internet: www.telefaks.de
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
--
*Brian West*
brian at freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/5bfd9e22/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list