Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 12 on Debian Wheezy


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oza.4h07 at gmail.com
Guest





PostPosted: Tue Aug 12, 2014 11:39 am    Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy Reply with quote

Hello,

A couple of questions in relation with Asterisk 12 on Debian Wheezy.

1. Can paquet libpjproject-dev (from wheezy-backport) be installed as
the sole binary to add PJSIP stack to Asterisk 12 (compiled from
source) ?

2. When compiling PJPROJECT from source (see
https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject?src=search)),
where should PJSIP .so files be located in an appropriately managed
Wheezy system ?
In other words should I get the line bellow or something else ?
libpjsua.so (libc6) => /usr/lib/libpjsua.so

Regards

--
_____________________________________________________________________
-- 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
Back to top
asterisk_list at earth...
Guest





PostPosted: Tue Aug 12, 2014 11:49 am    Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy Reply with quote

On Tuesday 12 Aug 2014, Olivier wrote:
Quote:
Hello,

A couple of questions in relation with Asterisk 12 on Debian Wheezy.

1. Can paquet libpjproject-dev (from wheezy-backport) be installed as
the sole binary to add PJSIP stack to Asterisk 12 (compiled from
source) ?

2. When compiling PJPROJECT from source (see
https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjprojec
t?src=search)), where should PJSIP .so files be located in an appropriately
managed Wheezy system ?
In other words should I get the line bellow or something else ?
libpjsua.so (libc6) => /usr/lib/libpjsua.so

Asterisk as downloaded builds from Source into /usr aot /usr/local. This is
only ever a problem if you try to mix built-from-Source Asterisk with
prepackaged Asterisk. Stick to one method or the other, and you will have
nothing to worry about.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- 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
Back to top
paul.belanger at polyb...
Guest





PostPosted: Tue Aug 12, 2014 2:58 pm    Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy Reply with quote

On Tue, Aug 12, 2014 at 12:38 PM, Olivier <oza.4h07@gmail.com> wrote:
Quote:
Hello,

A couple of questions in relation with Asterisk 12 on Debian Wheezy.

1. Can paquet libpjproject-dev (from wheezy-backport) be installed as
the sole binary to add PJSIP stack to Asterisk 12 (compiled from
source) ?

Yes, you should be able too.

Quote:
2. When compiling PJPROJECT from source (see
https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject?src=search)),
where should PJSIP .so files be located in an appropriately managed
Wheezy system ?
In other words should I get the line bellow or something else ?
libpjsua.so (libc6) => /usr/lib/libpjsua.so

You will likely need to pass the pjproject directory to configure.

--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

--
_____________________________________________________________________
-- 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
Back to top
oza.4h07 at gmail.com
Guest





PostPosted: Tue Aug 12, 2014 8:59 pm    Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy Reply with quote

Le 12 août 2014 18:49, "A J Stiles" <asterisk_list@earthshod.co.uk (asterisk_list@earthshod.co.uk)> a écrit :
Quote:

On Tuesday 12 Aug 2014, Olivier wrote:
Quote:
Hello,

A couple of questions in relation with Asterisk 12 on Debian Wheezy.

1. Can paquet libpjproject-dev (from wheezy-backport) be installed as
the sole binary to add PJSIP stack to Asterisk 12 (compiled from
source) ?

2. When compiling PJPROJECT from source (see
https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjprojec
t?src=search)), where should PJSIP .so files be located in an appropriately
managed Wheezy system  ?
In other words should I get the line bellow or something else ?
    libpjsua.so (libc6) => /usr/lib/libpjsua.so

Asterisk as downloaded builds from Source into /usr aot /usr/local.
Please, apologize if my question seems naive but:
what does "builds from Source into /usr" exactly imply in this context ?
That --prefix=/usr is default value of Asterisk ./configure script and that .so would be compiled into lib/asterisk/modules sub-directory of /usr ?



Quote:
 This is
only ever a problem if you try to mix built-from-Source Asterisk with
prepackaged Asterisk.  Stick to one method or the other, and you will have
nothing to worry about.

--
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- 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
Back to top
oza.4h07 at gmail.com
Guest





PostPosted: Wed Aug 13, 2014 12:01 pm    Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy Reply with quote

After installing various packages, here is what I did:

TDIR=/usr/src
cd $TDIR
PJOPTIONS="--prefix=/usr --enable-shared --disable-sound
--disable-resample --disable-video --disable-opencore-amr"
git clone https://github.com/asterisk/pjproject pjproject
cd pjproject/
./configure ${PJOPTIONS}
make dep
make
make install
ldconfig
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.4.0.tar.gz
tar zxf asterisk-12.4.0.tar.gz
cd asterisk-12.4.0
./configure | grep -i PJPROJECT
....
checking for PJPROJECT... no

A shot with make menuselect shows PJSIP is not available for Asterisk.

How can I help Asterisk's configure script to find PJPROJECT files
(such as /usr/lib/libpjmedia.so) ?

--
_____________________________________________________________________
-- 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
Back to top
mjordan at digium.com
Guest





PostPosted: Wed Aug 13, 2014 12:06 pm    Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy Reply with quote

On Wed, Aug 13, 2014 at 12:01 PM, Olivier <oza.4h07@gmail.com> wrote:
Quote:
After installing various packages, here is what I did:

TDIR=/usr/src
cd $TDIR
PJOPTIONS="--prefix=/usr --enable-shared --disable-sound
--disable-resample --disable-video --disable-opencore-amr"
git clone https://github.com/asterisk/pjproject pjproject
cd pjproject/
./configure ${PJOPTIONS}
make dep
make
make install
ldconfig
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.4.0.tar.gz
tar zxf asterisk-12.4.0.tar.gz
cd asterisk-12.4.0
./configure | grep -i PJPROJECT
....
checking for PJPROJECT... no

A shot with make menuselect shows PJSIP is not available for Asterisk.

How can I help Asterisk's configure script to find PJPROJECT files
(such as /usr/lib/libpjmedia.so) ?


Does pkg-config find libpjproject?

$ pkg-config --list-all | grep libpjproject

Asterisk's configure script uses pkg-config - so if that can't find
it, Asterisk can't find it.

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services