Re: [asterisk-users] asterisk 11 and no RTP

2012-12-23 Thread Tzafrir Cohen
On Thu, Dec 20, 2012 at 05:21:24PM -0500, Jerry Geis wrote:
   Error loading module 'res_rtp_asterisk.so': /usr/lib64/libavformat.so.52: 
  undefined symbol: av_tree_node_size
 This is the error I get when trying to start Asterisk 11 on centos 5.
 
 Asterisk 11 works fine on my centos 6 box - I also verified that on centos 6
 I do not have the above mentioend file.

libav is from ffmpeg (nowadays there's even a fork of ffmpeg called libav).

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- 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


Re: [asterisk-users] asterisk 11 and no RTP

2012-12-21 Thread Jerry Geis

On 12/20/2012 05:21 PM, Jerry Geis wrote:
  Error loading module 'res_rtp_asterisk.so': 
/usr/lib64/libavformat.so.52: undefined symbol: av_tree_node_size

This is the error I get when trying to start Asterisk 11 on centos 5.

Asterisk 11 works fine on my centos 6 box - I also verified that on 
centos 6

I do not have the above mentioend file.

ls /usr/lib64/libav*
libavahi-client.so.3  libavahi-common.so.3  
libavahi-core.so.6libavahi-glib.so.1
libavahi-ui.so.0  libavc1394.so.0
libavahi-client.so.3.2.5  libavahi-common.so.3.5.1  
libavahi-core.so.6.0.1libavahi-glib.so.1.0.1
libavahi-ui.so.0.1.1  libavc1394.so.0.3.0


Is there another library it can use instead of libavformat? 
something I have installed on Centos 6

and not on centos 5?

Thanks

Jerry

apparently long time back there was a ffmpeg from VLC on this machine.
include files were still around etc...
trying to clean it up and try again.

Thanks

jerry


--
_
-- 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


[asterisk-users] asterisk 11 and no RTP

2012-12-20 Thread Jerry Geis

I have a CentOS 6.3 machine I installed Asterisk 11, worked fine...

I then tried to install on Cents 5.8, seemed to go fine... Then when I 
placed a call I got this:

ast_rtp_instance_new: No RTP engine was found. Do you have one loaded?

Did a search and found issues with ARM and this problem but did not help 
me, not using gtalk

or anything. Just call between two polycom phones on local network.

Tried looking at the config.log for rtp anything and it looks ok.

Anyone know what might be the issue?

Thanks,

Jerry

--
_
-- 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


Re: [asterisk-users] asterisk 11 and no RTP

2012-12-20 Thread Jonathan Rose
Jerry Geis wrote:
 I have a CentOS 6.3 machine I installed Asterisk 11, worked fine...
 
 I then tried to install on Cents 5.8, seemed to go fine... Then when
 I
 placed a call I got this:
 ast_rtp_instance_new: No RTP engine was found. Do you have one
 loaded?
 
 Did a search and found issues with ARM and this problem but did not
 help
 me, not using gtalk
 or anything. Just call between two polycom phones on local network.
 
 Tried looking at the config.log for rtp anything and it looks ok.
 
 Anyone know what might be the issue?
 
 Thanks,
 
 Jerry

Start by making sure the rtp engine module was compiled and added to
your modules directory. If you are using default directories, you can
do this with the following:

$ ls /usr/lib/asterisk/modules -l | grep res_rtp_

For me this shows two engine resources which register, those being:

-rwxr-xr-x 1 root root  990101 2012-12-19 15:25 res_rtp_asterisk.so
-rwxr-xr-x 1 root root  207519 2012-12-19 15:25 res_rtp_multicast.so

If those aren't present, and especially if res_rtp_asterisk isn't
present, you'll likely need use make menuselect to make sure they
are enabled. If they aren't fixing this could be pretty trivial. If
they are, make sure you aren't getting a build error when compiling.

If they are present (and I'm kinda guessing they are), check Asterisk's
log messages for problems with registering the RTP engines.
Specifically you are looking for log messages from rtp_engine.c which
have a form similar to:

RTP Engine 'name of engine' failed sanity check so it was not registered.

Alternatively the register rtp engine function can fail if the engine is
already in the list, but that seems unlikely. If that IS the case, you'll
have an error more similar to:

An RTP engine with the name 'name of engine' has already been registered.

I imagine you'll much more likely see the first one though.

I don't think we've put much effort into supporting Asterisk on ARM
platforms, so I don't really know much about the specifics on why this
would be failing. Hopefully the above helps though.

--
_
-- 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


Re: [asterisk-users] asterisk 11 and no RTP

2012-12-20 Thread Jerry Geis

  Error loading module 'res_rtp_asterisk.so': /usr/lib64/libavformat.so.52: 
undefined symbol: av_tree_node_size

This is the error I get when trying to start Asterisk 11 on centos 5.

Asterisk 11 works fine on my centos 6 box - I also verified that on centos 6
I do not have the above mentioend file.

ls /usr/lib64/libav*
libavahi-client.so.3  libavahi-common.so.3  
libavahi-core.so.6libavahi-glib.so.1
libavahi-ui.so.0  libavc1394.so.0
libavahi-client.so.3.2.5  libavahi-common.so.3.5.1  
libavahi-core.so.6.0.1libavahi-glib.so.1.0.1
libavahi-ui.so.0.1.1  libavc1394.so.0.3.0


Is there another library it can use instead of libavformat? something 
I have installed on Centos 6

and not on centos 5?

Thanks

Jerry

--
_
-- 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


Re: [asterisk-users] asterisk 11 and no RTP

2012-12-20 Thread Jonathan Rose
Jerry Geis wrote:

Error loading module 'res_rtp_asterisk.so':
/usr/lib64/libavformat.so.52: undefined symbol:
av_tree_node_size
 This is the error I get when trying to start Asterisk 11 on centos 5.
 
 Asterisk 11 works fine on my centos 6 box - I also verified that on
 centos 6
 I do not have the above mentioend file.
 
 ls /usr/lib64/libav*
 libavahi-client.so.3  libavahi-common.so.3
 libavahi-core.so.6libavahi-glib.so.1
 libavahi-ui.so.0  libavc1394.so.0
 libavahi-client.so.3.2.5  libavahi-common.so.3.5.1
 libavahi-core.so.6.0.1libavahi-glib.so.1.0.1
 libavahi-ui.so.0.1.1  libavc1394.so.0.3.0
 
 Is there another library it can use instead of libavformat?
 something
 I have installed on Centos 6
 and not on centos 5?

I'm not aware of what alternatives if any are available and for which
versions of CentOS they would be available for... this sort of thing
isn't really something I have a great deal of expertise with. If I
had to guess, the problem is that libavahi and libavformat is probably
a dependency of pjproject/pjnath which is employed by res_rtp_asterisk
Asterisk 11, though I'm not certain about that.  You might be able to
use the old res_rtp_asterisk by grabbing it from Asterisk 10's source
and making whatever tweaks are needed... but I wouldn't recommend it.

Is there some reason you can't get the required libraries for CentOS5?
Without knowing what the differences are between libs you have on the
CentOS5 and CentOS6 machines... I really don't have a lot to go on.

--
Jonathan R. Rose
Digium, Inc. | Software Engineer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct +1 256 428 6139 

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