Menu

#2678 PJ_EEOF on TLS, goes away with compact sip and small list of codecs

NextRelease
nobody
None
Medium
Defect
2014-07-27
2014-04-02
Anonymous
No

Originally created by: dlake...@gmail.com

What steps will reproduce the problem?

Set up account using TLS transport to Asterisk server.
Enable Speex 16, Speex 8, PCMU, PCMA codecs
Disable "compact sip"
Place outgoing call.

What is the expected output? What do you see instead?

Expected call to occur, instead get PJ_EEOF error. With above settings and
"compact sip" enabled, call goes through.

I was not able to fix this problem by reducing the list of codecs down to 1 codec, but some others have reported that is possible (see bug 2280). It may depend on specifics of their settings. It seems that this bug is related to the size of the SIP message since compact headers fixed the problem.

What version of the product are you using? On what device / operating
system?

Latest Market version on stock Samsung Galaxy Victory (SPH-L300) Android 4.1.2

Please provide any additional information below.

This error has been around for a LONG time (maybe over a year) and is related to bug 2614 and bug 2280, both of which are listed as closed however, this issue has not been fixed.

This issue did not appear in the OpenSSL static build from the nightlies archive. I was using that build for many months until a commenter on bug 2280 pointed out that compact sip could fix this issue.

Related

Tickets: #2280
Tickets: #2614

Discussion

  • Anonymous

    Anonymous - 2014-04-02

    Originally posted by: dlake...@gmail.com

    I should add that not only am I using TLS but also SRTP.

     
  • Anonymous

    Anonymous - 2014-04-02

    Originally posted by: r3gis...@gmail.com

    Latests nightly builds are now all "static" versions. That's why this issue should be solved now with recent nightlies build. (And will land in next stable).
    Can you test with a recent nightly and confirm?

    Status: NextRelease

     
  • Anonymous

    Anonymous - 2014-07-01

    Originally posted by: patrick....@gmail.com

    The nightly [r2423] works for me. With TLS & SRTP, all codecs enabled, compact SIP headers off, STUN enabled I no longer see the PJ_EEOF error. Tested against Asterisk 11.10.2 with the tlsBigSDP.patch from https://issues.asterisk.org/jira/browse/ASTERISK-18345

     

    Related

    Commit: [r2423]

  • Anonymous

    Anonymous - 2014-07-24

    Originally posted by: dlake...@gmail.com

    I still have problems with Nightly [r2427] or the current market version.

    Specifically, testing right now with nightly 2427, when on wifi I can place calls using compact sip, but when on 3g I get the error "unknown error 470006"

    without compact sip on wifi I also get 470006

    this is against Asterisk 11.10.2 debian version without any patches

     

    Related

    Commit: [r2427]

  • Anonymous

    Anonymous - 2014-07-27

    Originally posted by: dlake...@gmail.com

    I see based on the previous comment with the issues.asterisk.org link that there seems to be a bug in Asterisk which is triggered when TCP packets are fragmented. Probably what's going on is that the 3G/4G MTU size is smaller than my Wifi connection, so the packets are fragmented on 3G/4G but not on Wifi. This is probably not a bug in CSipSimple but a workaround would be welcome. I'm not sure if Asterisk is going to get their act together on this issue.

     

Log in to post a comment.