[Home]

Summary:ASTERISK-27838: res_rtp_asterisk.so fails to load because of a symbol defined in PJSIP, but I am using SIP
Reporter:Private Name (falves11)Labels:pjsip
Date Opened:2018-05-03 20:51:55Date Closed:2018-05-04 08:24:58
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:13.21.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:linux fedora 27Attachments:
Description:loader.c:583 load_dlopen: Error loading module 'res_rtp_asterisk.so': /usr/lib64/asterisk/modules/res_rtp_asterisk.so: undefined symbol: ast_pjproject_caching_pool_destroy
Comments:By: Asterisk Team (asteriskteam) 2018-05-03 20:51:56.131-0500

The severity of this issue has been automatically downgraded from "Blocker" to "Major". The "Blocker" severity is reserved for issues which have been determined to block the next release of Asterisk. This severity can only be set by privileged users. If this issue is deemed to block the next release it will be updated accordingly during the triage process.

By: Asterisk Team (asteriskteam) 2018-05-03 20:51:56.738-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2018-05-04 04:23:18.400-0500

res_rtp_asterisk uses pjproject for ICE, TURN, and STUN support. If it is detected on the system it will be built with support for it and res_pjproject.so must be loaded as well. Is this module not loading or something?

By: Private Name (falves11) 2018-05-04 08:19:33.470-0500

Since I use plain old SIP, I do not load PJSIP, i.e., in modules.conf I include noload=> for all modules prefixed pjsip. I have been doing this for years. This is the first version where this doesn't work.
So what PJSIP module should I load even if I don't use PJSIP? To be clear, I do not use PSIP, and many others avoid it as well, for one single reason: there is no known way to avoid proxying the media, and that us a killer for scalability. Whatever configuration yo use in PJSIP, if you do "rtp set debug on", the media is traveling within, while in plain old SIP, there is a way to avoid that in most cases, where all IP's are public. So basically for big companies, PJSIP is useless.
Please correct me if I am wrong.




By: Joshua C. Colp (jcolp) 2018-05-04 08:23:16.174-0500

The module that needs to be loaded is res_pjproject.so as I mentioned in my initial response.

You've previously stated that PJSIP is not a solution for your environment, I know of no work that has been done to do what you want.

By: Joshua C. Colp (jcolp) 2018-05-04 08:24:59.009-0500

Closing this out since it's a loader configuration issue.

By: Etienne Allovon (etienne_pf) 2018-09-05 09:00:27.637-0500

Hi,

I came across this issue quite haphazardly and after having read the comment I just wanted to improve Joshua's answer.

Private Name you said:
{quote}
So what PJSIP module should I load even if I don't use PJSIP? To be clear, I do not use PSIP, and many others avoid it as well, for one single reason: there is no known way to avoid proxying the media, and that us a killer for scalability. Whatever configuration yo use in PJSIP, if you do "rtp set debug on", the media is traveling within, while in plain old SIP, there is a way to avoid that in most cases, where all IP's are public. So basically for big companies, PJSIP is useless.
Please correct me if I am wrong.
{quote}

If I understand well you're speaking of the {{directmedia}} and {{directrtpsetup}} options for {{chan_sip}}.
Though I am not aware of a {{directrtpsetup}} equivalent in {{pjsip}}, {{pjsip}} does come with the {{direct_media}} option (with several {{direct_media_*}} suboptions).

Hope this help !

Regards,