android pjsip send large udp packet errCode 120001

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi?
    yea? here have another issue about TCP connection.
    In kernel,  TCP have another bug. you can see here:

    http://lists.netfilter.org/pipermail/netfilter-buglog/2011-October/002328.html

    I  need to check  some  Android device  for what plan I will determine.

zhouxiaoqiang.mstech at gmail.com
 
From: Bill Gardner
Date: 2014-11-08 01:56
To: pjsip
Subject: Re: android pjsip send large udp packet errCode 120001
You may be exceeding the Android MTU, which seems to be 1500 bytes. Here are a few interesting links:

https://code.google.com/p/mtuchanger/
http://stackoverflow.com/questions/14101746/build-time-configuration-of-android-tcp-ip-mtu

Note that pjsip will automatically switch to TCP transport if packet is too big, perhaps you can enable TCP transport and leave PJSIP_UDP_SIZE_THRESHOLD at default of 1300.

Bill

On 11/7/2014 1:52 AM, zhouxiaoqiang.mstech at gmail.com wrote:
Hi All?
            here is a problem on Android Platform.
            when I sent  invite packet  that size is 1900 byte,  occur the flowing error:
             tsx0x637bd06c ...Failed to send Request msg INVITE/cseq=3811 (tdta0x639ac008)! err=120001 (Operation not permitted)

            in  sip_config.h   have this line #define PJSIP_UDP_SIZE_THRESHOLD 3000 

            thans your any advice!



zhouxiaoqiang.mstech at gmail.com


_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141110/a38229ec/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux