android pjsip send large udp packet errCode 120001

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

 



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/20141107/7110dafa/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