[Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor]

Sergey Safarov s.safarov at gmail.com
Mon Dec 5 17:40:50 MSK 2016


Please look at FS-9582 <https://freeswitch.org/jira/browse/FS-9582>


пн, 5 дек. 2016 г. в 16:25, Brian West <brian at freeswitch.org>:

> remove yasm and install nasm, or it may be the reverse of that.
>
> /b
>
>
> On Fri, Dec 2, 2016 at 4:16 AM, Peter Steinbach <lists at telefaks.de> wrote:
>
> I try now to compile new minimal freeswitch.
>
> But get errors with libvpx.
>
> root at fsmin:/usr/src/freeswitch# make
> make[1]: Entering directory '/usr/src/freeswitch/libs/libvpx'
>     [AS] vpx_dsp/x86/intrapred_sse2.asm.o
> vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode
> and operands
> Makefile:179: recipe for target 'vpx_dsp/x86/intrapred_sse2.asm.o' failed
> make[2]: *** [vpx_dsp/x86/intrapred_sse2.asm.o] Error 1
> Makefile:17: recipe for target '.DEFAULT' failed
> make[1]: *** [.DEFAULT] Error 2
> make[1]: Leaving directory '/usr/src/freeswitch/libs/libvpx'
> Makefile:3911: recipe for target 'libs/libvpx/libvpx.a' failed
> make: *** [libs/libvpx/libvpx.a] Error 2
>
>
>
> On 12/01/16 18:27, Anthony Minessale wrote:
>
> Has nothing to do with the port range, that problem was related
> specifically to T.38 endpoints who were using RTCP before they changed to
> UDPTL.
>
> On Thu, Dec 1, 2016 at 11:19 AM, Brian West <brian at freeswitch.org> wrote:
>
> 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 <%28918%29%20420-9001> | *F:*+19184209002
> <%28918%29%20420-9002> | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> 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
>
>
>
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
>
>
> _________________________________________________________________________
> 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 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
> | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161205/a050ebb8/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list