Thanks for taking the time to report this bug and try to make Ubuntu
better.

I can confirm that pjproject version 2.7.2~dfsg-1 available in Bionic
has the maximum packet length set to 4000:

$ sed -n 333,339p pjsip/include/pjsip/sip_config.h
/**
 * Maximum packet length. We set it more than MTU since a SIP PDU
 * containing presence information can be quite large (>1500).
 */
#ifndef PJSIP_MAX_PKT_LEN
#   define PJSIP_MAX_PKT_LEN            4000
#endif

In the latest versions (i.e. version in Focal) the pjproject source code
was embedded in the asterisk source package and it does not depend on
pjproject from the system anymore. I checked the file
debian/pjproject_2.8\~dfsg.orig.tar.bz2 (which is a DFSG free version of
pjproject) in the asterisk source package version 1:16.2.1~dfsg-2ubuntu1
present in Focal and the defined maximum packet length is the same:

$ sed -n 357,363p pjsip/include/pjsip/sip_config.h
/**
 * Maximum packet length. We set it more than MTU since a SIP PDU
 * containing presence information can be quite large (>1500).
 */
#ifndef PJSIP_MAX_PKT_LEN
#   define PJSIP_MAX_PKT_LEN            4000
#endif

The same applies to version 2.9 of pproject in the asterisk source
package version 1:16.12.0~dfsg-1 in Groovy. Seen this as a pattern in
all those releases I believe we should bring this to Debian and discuss
this change with the asterisk maintainers there. Could you please file a
bug in Debian describing your problem and link it here?

** Changed in: asterisk (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898573

Title:
  Asterisk cannot work with WebRTC, max packet length too small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1898573/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to