[Bug 1898573] Re: Asterisk cannot work with WebRTC, max packet length too small

2020-10-07 Thread Michael Goffioul
When you compile asterisk with embedded pjproject version, I believe the asterisk build process is patching pjproject with content of https://github.com/asterisk/asterisk/tree/master/third- party/pjproject/patches In particular, it uses its own config_site.h, with a larger max packet size (used to

[Bug 1898573] Re: Asterisk cannot work with WebRTC, max packet length too small

2020-10-08 Thread Michael Goffioul
I see 2 possible paths: 1) change PJSIP_MAX_PKT_LEN in system pjproject 2) compile asterisk with bundled pjproject The problem with the first option is that it is binary incompatible. PJSIP_MAX_PKT_LEN is used in sip_transport.h to define the size of struct field. Changing that value means you hav

[Bug 1898573] [NEW] Asterisk cannot work with WebRTC, max packet length too small

2020-10-05 Thread Michael Goffioul
Public bug reported: Asterisk is compiled against pjsip library from the OS, instead of using the bundled one. This system library (pjproject-2.7.2) is compiled with default max packet length, which is 4000 as of now. Unlike bundled pjproject, which uses a packet length of 32000. This low limit ma