Pjproject 2.5 Update Notes

Home » Asterisk Users » Pjproject 2.5 Update Notes
Asterisk Users No Comments

As many of you know, pjproject 2.5 was released last month and pjproject
2.5 1 was released this week. It appears to be stable with Asterisk but here are a few implementation notes:

pjproject 2.5 deprecated one function Asterisk 13.7 and earlier used. This was handled in Asterisk 13.8 so earlier Asterisk versions will not compile successfully with 2.5.

The patches we’ve submitted against 2.4.5 were all merged upstream into 2.5
however a patch merged after ours accidentally disabled the ability to re-use sockets on tcp and tls connections. For a client that registers to Asterisk, you’ll see “connection refused” messages when sending INVITEs, OPTIONs, etc. to the client if a transport was specified on the client’s endpoint. We’ve submitted another patch[1] which was merged on Monday but it didn’t make it into 2.5.1. If you plan on using 2.5 and you specify transports on tcp and tls endpoints, you should grab that patch.

Asterisk’s bundled pjproject has been updated to 2.5 with the patch[1] in the git 13 and master branches.

As always, test thoroughly before deploying in a production environment and let us know if there are any issues.

[1] https://trac.pjsip.org/repos/changeset/5325