Pjsip modules not shown in MenuSelect


At this point, I cannot see the pjsip modules as shown in Step 8. The ldconfig command seems to output the right information.

myusername@astk-01:/usr/src/pjproject-trunk$ ldconfig -p | grep pj
        libpjsua2.so.2 (libc6,x86-64) => /usr/lib/libpjsua2.so.2
        libpjsua2.so (libc6,x86-64) => /usr/lib/libpjsua2.so
        libpjsua.so.2 (libc6,x86-64) => /usr/lib/libpjsua.so.2
        libpjsua.so (libc6,x86-64) => /usr/lib/libpjsua.so
        libpjsip.so.2 (libc6,x86-64) => /usr/lib/libpjsip.so.2
        libpjsip.so (libc6,x86-64) => /usr/lib/libpjsip.so
        libpjsip-ua.so.2 (libc6,x86-64) => /usr/lib/libpjsip-ua.so.2
        libpjsip-ua.so (libc6,x86-64) => /usr/lib/libpjsip-ua.so
        libpjsip-simple.so.2 (libc6,x86-64) => /usr/lib/libpjsip-simple.so.2
        libpjsip-simple.so (libc6,x86-64) => /usr/lib/libpjsip-simple.so
        libpjnath.so.2 (libc6,x86-64) => /usr/lib/libpjnath.so.2
        libpjnath.so (libc6,x86-64) => /usr/lib/libpjnath.so
        libpjmedia.so.2 (libc6,x86-64) => /usr/lib/libpjmedia.so.2
        libpjmedia.so (libc6,x86-64) => /usr/lib/libpjmedia.so
        libpjmedia-videodev.so.2 (libc6,x86-64) => /usr/lib/libpjmedia-videodev.so.2
        libpjmedia-videodev.so (libc6,x86-64) => /usr/lib/libpjmedia-videodev.so
        libpjmedia-codec.so.2 (libc6,x86-64) => /usr/lib/libpjmedia-codec.so.2
        libpjmedia-codec.so (libc6,x86-64) => /usr/lib/libpjmedia-codec.so
        libpjmedia-audiodev.so.2 (libc6,x86-64) => /usr/lib/libpjmedia-audiodev.so.2
        libpjmedia-audiodev.so (libc6,x86-64) => /usr/lib/libpjmedia-audiodev.so
        libpjlib-util.so.2 (libc6,x86-64) => /usr/lib/libpjlib-util.so.2
        libpjlib-util.so (libc6,x86-64) => /usr/lib/libpjlib-util.so
        libpj.so.2 (libc6,x86-64) => /usr/lib/libpj.so.2
        libpj.so (libc6,x86-64) => /usr/lib/libpj.so

I haven’t actually tried to go any further, but I assume Asterisk won’t work properly (as stated in the wiki). What should I do? I have followed the tutorial thus far:

Installing Asterisk From Source

  1.                                         What to Download? [x]
  2.                                         Untarring the Source [x]
  3.                                         Building and Installing DAHDI [x]  
  4.                                         Building and Installing LibPRI (not needed)
  5.                                         Building and Installing pjproject [x]
  6.                                         Checking Asterisk Requirements [x]
  7.                                         Using Menuselect to Select Asterisk Options
  8.                                         Building and Installing Asterisk
  9.                                         Installing Sample Files
  10.                                         Installing Initialization Scripts

What version of Asterisk are you installing, and do you have pkg-config installed? Without it PJSIP will not be detected by the build process.

I installed it somewhere down the line. I’m going to start over from the beginning and see if it works this time.

Version 11.

Asterisk 11 does not have PJSIP support, which is why you don’t see them. You will need to use Asterisk 13 to have PJSIP.


That would do it. I wonder why by default they reference 11. I definitely overlooked something that mentioned that. My bad.

I don’t understand what you mean by reference. On the page you’ve provided there’s a green block which states that it is not needed for 11.

That’s what I overlooked. It’s in green so definitely didn’t catch my eye.