Jonas Kellens
2016-Aug-17 19:40 UTC
[asterisk-users] pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
On 16-08-16 17:45, George Joseph wrote:> > > On Tue, Aug 16, 2016 at 3:21 AM, Jonas Kellens > <jonas.kellens at telenet.be <mailto:jonas.kellens at telenet.be>> wrote: > > On 16-08-16 04:38, George Joseph wrote: >> >> >> On Mon, Aug 15, 2016 at 1:24 PM, Jonas Kellens >> <jonas.kellens at telenet.be <mailto:jonas.kellens at telenet.be>> wrote: >> >> Hello >> >> using pjproject 2.5.5 >> using asterisk-certified-13.8-cert1 >> >> >> IIRC there were API changes in pjproject 2.5 that aren't >> accounted for in asterisk 13.8. Try pjproject 2.4.5 first and >> let's see if that works >> >> >> Compiled pjproject 2.5.5 with : >> ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr >> --libdir=/usr/lib64 --enable-shared --disable-video >> --disable-sound --disable-opencore-amr >> >> Compiled Asterisk 13 with >> ./configure --libdir=/usr/lib64 >> >> All pjproject modules are selectable in menuselect, so here >> no problem. >> >> Modules are present in /usr/lib64/asterisk/module (see below). >> >> But when I start asterisk, I get a lot of errors concerning >> res_pjsip (see below) on the asterisk CLI. >> >> Anyone have some input on this ? >> >> >> Thanks. >> >> Kind regards. >> >> >> >> >> >> -- >> George Joseph >> Digium, Inc. | Software Developer >> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US >> Check us out at: www.digium.com <http://www.digium.com/> & >> www.asterisk.org <http://www.asterisk.org/> > > > Hello > > how can I disable all modules related to pjsip in modules.conf ?? > > I have now : > > [modules] > autoload=yes > preload => res_config_mysql.so > noload => pbx_gtkconsole.so > noload => res_pjsip.so > noload => res_pjsip_pubsub.so > noload => res_pjsip_session.so > noload => chan_pjsip.so > noload => res_pjsip_exten_state.so > noload => res_pjsip_log_forwarder.so > load => res_musiconhold.so > noload => chan_alsa.so > noload => chan_oss.so > noload => chan_console.so > > > This does not make the CLI erros go away. I still have the idea > that pjsip is loaded. > > > > I'm not sure what your objective is. If you want to completely > disable pjsip, run ./configure --without-pjproject.When I compile "--without-pjproject" I loose all webrtc functionality. I get errors about the lack of "ice-frag and ice-pwd in the SDP-body". So I guess I DO need pjproject. But I do not want to use pjsip (I prefer sip). Do you have any other input or idea ? Kind regards. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160817/b155a4f0/attachment.html>
Jonathan H
2016-Aug-17 21:17 UTC
[asterisk-users] pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
On 17 August 2016 at 20:40, Jonas Kellens <jonas.kellens at telenet.be> wrote:> When I compile "--without-pjproject" I loose all webrtc functionality. I get errors about the lack of "ice-frag and ice-pwd in the SDP-body". > So I guess I DO need pjproject. But I do not want to use pjsip (I prefer sip). > Do you have any other input or idea ?Yes. I've never had a problem compiling or installing Asterisk; I simply download the latest version, follow the instructions, and 10 minutes later I'm compiled and up and running. No messing about with weird seperate downloads of unsupported versions of pjsip - I just use the bundled pjsip install and off I go. But from your posts, it seems you want to do modern web stuff like WebRTC and so on, on old version of centos, old versions of asterisk, old version of the SIP channel driver. What particular reason is there to even bother with the certified version - the instructions say the regular most recent LTS download should be first choice. And why do you prefer SIP? pjsip was introduced in Asterisk 12 nearly 3 years ago, and SIP is pretty much deprecated now. As a newbie, I looked at SIP and it all seemed a bit bonkers - "type=friend, insecure=very" - what's THAT all about?! In pjsip, I just setup a pjsip_wizard and template my endpoints in pjsip.conf, and I'm done in a few lines. https://github.com/lardconcepts/asterisk-digitalocean-voipfone-config/blob/master/Asterisk-13-on-Ubuntu.md This is me, creating a brand new Asterisk install on a low end $5 VPS which handles more concurrent calls than I need it to (at least 20 so far!); https://www.youtube.com/watch?v=h12NkJQwpYo (I just found out that the Youtube annotations don't work on mobile, so watch on desktop for it to make sense!). I'm probably the newbiest of noobs here, but just using the latest current stable version of everything available and following the install page on the Asterisk Wiki I can fire up a VPS and be receiving calls in 20 minutes, from scratch. And I'm genuinely interested in why people struggle on for days with old versions of things. I'm not asking all this to create argument, but I am genuinely interested. Perhaps I am missing a major point here?
George Joseph
2016-Aug-17 21:24 UTC
[asterisk-users] pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
On Wed, Aug 17, 2016 at 1:40 PM, Jonas Kellens <jonas.kellens at telenet.be> wrote:> On 16-08-16 17:45, George Joseph wrote: > > > > On Tue, Aug 16, 2016 at 3:21 AM, Jonas Kellens <jonas.kellens at telenet.be> > wrote: > >> On 16-08-16 04:38, George Joseph wrote: >> >> >> >> On Mon, Aug 15, 2016 at 1:24 PM, Jonas Kellens <jonas.kellens at telenet.be> >> wrote: >> >>> Hello >>> >>> using pjproject 2.5.5 >>> using asterisk-certified-13.8-cert1 >>> >> >> IIRC there were API changes in pjproject 2.5 that aren't accounted for in >> asterisk 13.8. Try pjproject 2.4.5 first and let's see if that works >> >> >>> >>> Compiled pjproject 2.5.5 with : >>> ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr >>> --libdir=/usr/lib64 --enable-shared --disable-video --disable-sound >>> --disable-opencore-amr >>> >>> Compiled Asterisk 13 with >>> ./configure --libdir=/usr/lib64 >>> >>> All pjproject modules are selectable in menuselect, so here no problem. >>> >>> Modules are present in /usr/lib64/asterisk/module (see below). >>> >>> But when I start asterisk, I get a lot of errors concerning res_pjsip >>> (see below) on the asterisk CLI. >>> >>> Anyone have some input on this ? >>> >>> >>> Thanks. >>> >>> Kind regards. >>> >>> >>> >> >> >> -- >> George Joseph >> Digium, Inc. | Software Developer >> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US >> Check us out at: www.digium.com & www.asterisk.org >> >> >> >> Hello >> >> how can I disable all modules related to pjsip in modules.conf ?? >> >> I have now : >> >> [modules] >> autoload=yes >> preload => res_config_mysql.so >> noload => pbx_gtkconsole.so >> noload => res_pjsip.so >> noload => res_pjsip_pubsub.so >> noload => res_pjsip_session.so >> noload => chan_pjsip.so >> noload => res_pjsip_exten_state.so >> noload => res_pjsip_log_forwarder.so >> load => res_musiconhold.so >> noload => chan_alsa.so >> noload => chan_oss.so >> noload => chan_console.so >> >> >> This does not make the CLI erros go away. I still have the idea that >> pjsip is loaded. >> >> > > I'm not sure what your objective is. If you want to completely disable > pjsip, run ./configure --without-pjproject. > > > When I compile "--without-pjproject" I loose all webrtc functionality. I > get errors about the lack of "ice-frag and ice-pwd in the SDP-body". > > So I guess I DO need pjproject. But I do not want to use pjsip (I prefer > sip). > > Do you have any other input or idea ? >Ok, I get it now. Use pjproject-2.4.5 and in menuselect, disable all the res_pjsip modules.> > > Kind regards. > > J. > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- George Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160817/bd45f9a8/attachment.html>
Jonas Kellens
2016-Aug-18 08:46 UTC
[asterisk-users] pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
On 17-08-16 23:17, Jonathan H wrote:> On 17 August 2016 at 20:40, Jonas Kellens <jonas.kellens at telenet.be> wrote: > >> When I compile "--without-pjproject" I loose all webrtc functionality. I get errors about the lack of "ice-frag and ice-pwd in the SDP-body". >> So I guess I DO need pjproject. But I do not want to use pjsip (I prefer sip). >> Do you have any other input or idea ? > Yes. > > I've never had a problem compiling or installing Asterisk; I simply > download the latest version, follow the instructions, and 10 minutes > later I'm compiled and up and running. > No messing about with weird seperate downloads of unsupported versions > of pjsip - I just use the bundled pjsip install and off I go. > > But from your posts, it seems you want to do modern web stuff like > WebRTC and so on, on old version of centos, old versions of asterisk, > old version of the SIP channel driver. > > What particular reason is there to even bother with the certified > version - the instructions say the regular most recent LTS download > should be first choice. > > And why do you prefer SIP? pjsip was introduced in Asterisk 12 nearly > 3 years ago, and SIP is pretty much deprecated now. > > As a newbie, I looked at SIP and it all seemed a bit bonkers - > "type=friend, insecure=very" - what's THAT all about?! > > In pjsip, I just setup a pjsip_wizard and template my endpoints in > pjsip.conf, and I'm done in a few lines. > https://github.com/lardconcepts/asterisk-digitalocean-voipfone-config/blob/master/Asterisk-13-on-Ubuntu.md > > This is me, creating a brand new Asterisk install on a low end $5 VPS > which handles more concurrent calls than I need it to (at least 20 so > far!); > https://www.youtube.com/watch?v=h12NkJQwpYo (I just found out that the > Youtube annotations don't work on mobile, so watch on desktop for it > to make sense!). > > I'm probably the newbiest of noobs here, but just using the latest > current stable version of everything available and following the > install page on the Asterisk Wiki I can fire up a VPS and be receiving > calls in 20 minutes, from scratch. And I'm genuinely interested in why > people struggle on for days with old versions of things. I'm not > asking all this to create argument, but I am genuinely interested. > Perhaps I am missing a major point here?Because in some environments stability is far more important than 'latest' and 'newest'. Kind regards. J.
Jonas Kellens
2016-Aug-18 09:04 UTC
[asterisk-users] pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
On 17-08-16 23:24, George Joseph wrote:> > > On Wed, Aug 17, 2016 at 1:40 PM, Jonas Kellens > <jonas.kellens at telenet.be <mailto:jonas.kellens at telenet.be>> wrote: > > On 16-08-16 17:45, George Joseph wrote: >> >> >> On Tue, Aug 16, 2016 at 3:21 AM, Jonas Kellens >> <jonas.kellens at telenet.be <mailto:jonas.kellens at telenet.be>> wrote: >> >> On 16-08-16 04:38, George Joseph wrote: >>> >>> >>> On Mon, Aug 15, 2016 at 1:24 PM, Jonas Kellens >>> <jonas.kellens at telenet.be <mailto:jonas.kellens at telenet.be>> >>> wrote: >>> >>> Hello >>> >>> using pjproject 2.5.5 >>> using asterisk-certified-13.8-cert1 >>> >>> >>> IIRC there were API changes in pjproject 2.5 that aren't >>> accounted for in asterisk 13.8. Try pjproject 2.4.5 first >>> and let's see if that works >>> >>> >>> Compiled pjproject 2.5.5 with : >>> ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" >>> --prefix=/usr --libdir=/usr/lib64 --enable-shared >>> --disable-video --disable-sound --disable-opencore-amr >>> >>> Compiled Asterisk 13 with >>> ./configure --libdir=/usr/lib64 >>> >>> All pjproject modules are selectable in menuselect, so >>> here no problem. >>> >>> Modules are present in /usr/lib64/asterisk/module (see >>> below). >>> >>> But when I start asterisk, I get a lot of errors >>> concerning res_pjsip (see below) on the asterisk CLI. >>> >>> Anyone have some input on this ? >>> >>> >>> Thanks. >>> >>> Kind regards. >>> >>> >>> >>> >>> >>> -- >>> George Joseph >>> Digium, Inc. | Software Developer >>> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US >>> Check us out at: www.digium.com <http://www.digium.com/> & >>> www.asterisk.org <http://www.asterisk.org/> >> >> >> Hello >> >> how can I disable all modules related to pjsip in modules.conf ?? >> >> I have now : >> >> [modules] >> autoload=yes >> preload => res_config_mysql.so >> noload => pbx_gtkconsole.so >> noload => res_pjsip.so >> noload => res_pjsip_pubsub.so >> noload => res_pjsip_session.so >> noload => chan_pjsip.so >> noload => res_pjsip_exten_state.so >> noload => res_pjsip_log_forwarder.so >> load => res_musiconhold.so >> noload => chan_alsa.so >> noload => chan_oss.so >> noload => chan_console.so >> >> >> This does not make the CLI erros go away. I still have the >> idea that pjsip is loaded. >> >> >> >> I'm not sure what your objective is. If you want to completely >> disable pjsip, run ./configure --without-pjproject. > > When I compile "--without-pjproject" I loose all webrtc > functionality. I get errors about the lack of "ice-frag and > ice-pwd in the SDP-body". > > So I guess I DO need pjproject. But I do not want to use pjsip (I > prefer sip). > > Do you have any other input or idea ? > > > Ok, I get it now. Use pjproject-2.4.5 and in menuselect, disable all > the res_pjsip modules.I can confirm that compiling pjproject 2.4.5 (but ALSO pjproject 2.5.5) with asterisk-certified-13.8-cert1 AND "disable all the res_pjsip modules" works fine for me. Kind regards J. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160818/91778d91/attachment.html>