View previous topic :: View next topic |
Author |
Message |
oza.4h07 at gmail.com Guest
|
Posted: Tue Aug 12, 2014 11:39 am Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy |
|
|
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
|
Posted: Tue Aug 12, 2014 11:49 am Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy |
|
|
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
|
Posted: Tue Aug 12, 2014 2:58 pm Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy |
|
|
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.
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
|
Posted: Tue Aug 12, 2014 8:59 pm Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy |
|
|
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
|
Posted: Wed Aug 13, 2014 12:01 pm Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy |
|
|
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
|
Posted: Wed Aug 13, 2014 12:06 pm Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy |
|
|
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 |
|
|
|