VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
manoj at vianet.com.np Guest
|
Posted: Tue Jun 10, 2008 1:13 am Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Greetings.
I'm new to the asterisk & voip world and I'm currently trying out trixbox
2.6.0.7 on a p4 1.8 GHz box. I've downloaded and used the open source g729
codec from site http://asterisk.hosting.lv/ and is working fine. question
here is that this codec sends out a packet every 20ms. Though the speech
quality is very good, I also like to try out 30ms sampling size to bring
down the overhead payload and reduce bandwidth usage. I've searched for it
for a couple days with no indication of how to do it. is it possible to
change it. do i have to compile my own codec module.. or some patch to
asterisk code?? Please suggest.
Thanks a lot.
Manoj
-- |
|
Back to top |
|
|
andres at telesip.net Guest
|
Posted: Tue Jun 10, 2008 10:31 am Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Manoj_Rajkarnikar wrote:
Quote: | Greetings.
I'm new to the asterisk & voip world and I'm currently trying out trixbox
2.6.0.7 on a p4 1.8 GHz box. I've downloaded and used the open source g729
codec from site http://asterisk.hosting.lv/ and is working fine. question
here is that this codec sends out a packet every 20ms. Though the speech
quality is very good, I also like to try out 30ms sampling size to bring
down the overhead payload and reduce bandwidth usage. I've searched for it
for a couple days with no indication of how to do it. is it possible to
change it. do i have to compile my own codec module.. or some patch to
| you need to use the following parameter in your sip definitions (not
sure if Trixbox will take it though)
disallow=all
allow=g729:30 ;30 is the frame size in ms
Andres
http://www.neuroredes.com
Quote: | asterisk code?? Please suggest.
Thanks a lot.
Manoj
|
|
|
Back to top |
|
|
eric at fnords.org Guest
|
Posted: Tue Jun 10, 2008 11:19 am Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
The G729 codec is neither open source, nor is it free, and the
license/patent does not make an exception for "educational use".
The Intel LIBRARIES are free for educational/personal use, but the
license for that software says that you still need a license from the
G729 patent holder before use.
I don't understand why people won't pay $10/channel for a fully
licensed, legal, and Asterisk supported G729 codec.
Manoj_Rajkarnikar wrote:
Quote: | Greetings.
I'm new to the asterisk & voip world and I'm currently trying out trixbox
2.6.0.7 on a p4 1.8 GHz box. I've downloaded and used the open source g729
codec from site http://asterisk.hosting.lv/ and is working fine. question
here is that this codec sends out a packet every 20ms. Though the speech
quality is very good, I also like to try out 30ms sampling size to bring
down the overhead payload and reduce bandwidth usage. I've searched for it
for a couple days with no indication of how to do it. is it possible to
change it. do i have to compile my own codec module.. or some patch to
asterisk code?? Please suggest.
Thanks a lot.
Manoj
|
--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide. |
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Tue Jun 10, 2008 1:13 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Probably for the same reason that every popular piece of software can
be found on torrents with serials and cracks, as well as hundreds if
not thousands of sites that just offer serials or cracks to make
"demo" software fully functional.
I am not saying I agree with it but it is extremely common.
Personally I would love to see Speex as an industry standard.
Thanks,
Steve Totaro
On Tue, Jun 10, 2008 at 12:19 PM, Eric ManxPower Wieling
<eric at fnords.org> wrote:
Quote: | The G729 codec is neither open source, nor is it free, and the
license/patent does not make an exception for "educational use".
The Intel LIBRARIES are free for educational/personal use, but the
license for that software says that you still need a license from the
G729 patent holder before use.
I don't understand why people won't pay $10/channel for a fully
licensed, legal, and Asterisk supported G729 codec.
Manoj_Rajkarnikar wrote:
Quote: | Greetings.
I'm new to the asterisk & voip world and I'm currently trying out trixbox
2.6.0.7 on a p4 1.8 GHz box. I've downloaded and used the open source g729
codec from site http://asterisk.hosting.lv/ and is working fine. question
here is that this codec sends out a packet every 20ms. Though the speech
quality is very good, I also like to try out 30ms sampling size to bring
down the overhead payload and reduce bandwidth usage. I've searched for it
for a couple days with no indication of how to do it. is it possible to
change it. do i have to compile my own codec module.. or some patch to
asterisk code?? Please suggest.
Thanks a lot.
Manoj
|
--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
bruce.mcalister at blu... Guest
|
Posted: Tue Jun 10, 2008 2:10 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Eric "ManxPower" Wieling wrote:
Quote: |
I don't understand why people won't pay $10/channel for a fully
licensed, legal, and Asterisk supported G729 codec.
|
I wish I could use $10/channel G729 codec from Digium, however, I've
been trying to get that codec working on Solaris since v32 of that
codec. The codec fails to load no matter what I do, and troubleshooting
information from Digium (and the lists) is severly lacking. I do
understand that it is unsupported, however, I wonder if the people who
build the codec have successfully loaded the module within asterisk on
Solaris themselves. If I can get this working we would be buying the
digium codes without any questions at all.
Just my 0.02c |
|
Back to top |
|
|
gordon+asterisk at dro... Guest
|
Posted: Tue Jun 10, 2008 2:32 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
On Tue, 10 Jun 2008, Bruce McAlister wrote:
Quote: | Eric "ManxPower" Wieling wrote:
Quote: |
I don't understand why people won't pay $10/channel for a fully
licensed, legal, and Asterisk supported G729 codec.
|
I wish I could use $10/channel G729 codec from Digium, however, I've
been trying to get that codec working on Solaris since v32 of that
codec. The codec fails to load no matter what I do, and troubleshooting
information from Digium (and the lists) is severly lacking. I do
understand that it is unsupported, however, I wonder if the people who
build the codec have successfully loaded the module within asterisk on
Solaris themselves. If I can get this working we would be buying the
digium codes without any questions at all.
|
And of-course some countries don't honour software patents anyway. This
may or may not be right in various peoples eyes, but that's the way it is.
It's also nice to have a try before you buy too.
And there might just be a case where you can't connect an asterisk box to
the public Internet to register the licenses (I had that with HPEC some
time back)
Nothing to stop people wanting to clear their conscious by using the
"free" one and paying for Digium licenses of-course, even if they're not
actually used..
Euro cents going by the email address
Gordon |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Tue Jun 10, 2008 3:22 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
On Tue, Jun 10, 2008 at 08:32:15PM +0100, Gordon Henderson wrote:
Quote: | On Tue, 10 Jun 2008, Bruce McAlister wrote:
Quote: | Eric "ManxPower" Wieling wrote:
Quote: |
I don't understand why people won't pay $10/channel for a fully
licensed, legal, and Asterisk supported G729 codec.
|
I wish I could use $10/channel G729 codec from Digium, however, I've
been trying to get that codec working on Solaris since v32 of that
codec. The codec fails to load no matter what I do, and troubleshooting
information from Digium (and the lists) is severly lacking. I do
understand that it is unsupported, however, I wonder if the people who
build the codec have successfully loaded the module within asterisk on
Solaris themselves. If I can get this working we would be buying the
digium codes without any questions at all.
|
And of-course some countries don't honour software patents anyway. This
may or may not be right in various peoples eyes, but that's the way it is.
|
Most of those countries still honour copyrights. Specifically the
copyrights to Intel's IPP code that is used in this codec.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
jsmith at digium.com Guest
|
Posted: Tue Jun 10, 2008 3:59 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
On Tue, 2008-06-10 at 20:10 +0100, Bruce McAlister wrote:
Quote: | I wish I could use $10/channel G729 codec from Digium, however, I've
been trying to get that codec working on Solaris since v32 of that
codec. The codec fails to load no matter what I do, and troubleshooting
information from Digium (and the lists) is severly lacking.
|
I see that Jason Parker from Digium answered your question in both July
and August of last year. The issue (at least from what I read in the
archives) seems to point to math libraries not being found in the proper
location. Maybe there are some Solaris folks lurking on the list that
can shed some light -- I'm pretty worthless when it comes to Solaris.
Are you still trying on OpenSolaris, and is there anything different
about the way it handles dynamic linking?
Quote: | I do understand that it is unsupported, however, I wonder if the people who
build the codec have successfully loaded the module within asterisk on
Solaris themselves.
|
Absolutely! No only have we successfully loaded the module within
Asterisk, we've made calls through the system using the g.729 codec to
make sure it's actually working.
--
Jared Smith
Training Manager
Digium, Inc. |
|
Back to top |
|
|
bruce.mcalister at blu... Guest
|
Posted: Tue Jun 10, 2008 5:05 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Jared Smith wrote:
Quote: |
I see that Jason Parker from Digium answered your question in both July
and August of last year. The issue (at least from what I read in the
archives) seems to point to math libraries not being found in the proper
location. Maybe there are some Solaris folks lurking on the list that
can shed some light -- I'm pretty worthless when it comes to Solaris.
Are you still trying on OpenSolaris, and is there anything different
about the way it handles dynamic linking?
|
Yes, Jason answered the question saying that the codec was unsupported
and the other suggestion that was given was that it could possibly be
that the license was in the wrong directory.
This is the first time that I've heard of the math library not being in
the correct location? Do you have a reference as to what Jason mentioned
about the math library?
When I first posed the question on the lists and a question via the
digium channels I mentioned that I was using Solaris 10 Update 3. Which
is what I was told the codec was built on. I've not tried it on
OpenSolaris at all. The company I work for will only use the standard
Solaris distribution, and not OpenSolaris in production.
--
+-------------------------------------------------------+
| Bruce McAlister Blueface Ltd |
| <bruce.mcalister at blueface.ie> http://www.blueface.ie |
+-------------------------------------------------------+ |
|
Back to top |
|
|
bruce.mcalister at blu... Guest
|
Posted: Tue Jun 10, 2008 5:28 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Jared Smith wrote:
Quote: | The issue (at least from what I read in the
archives) seems to point to math libraries not being found in the proper
location. Maybe there are some Solaris folks lurking on the list that
can shed some light -- I'm pretty worthless when it comes to Solaris.
Are you still trying on OpenSolaris, and is there anything different
about the way it handles dynamic linking?
|
I forgot to mention, in my previous email, that the math libraries on
our boxes reside in the /lib directory, which is where the Solaris
installer installs them by default.
Looking at my last attempt to try and get this going (which,
co-incidently, is the same system that Jason helped me with) I checked
to see if the codec has any unresolved libraries:
ldd ./codec_g729a.so
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
The math libraries appear to be found OK on the box. The license is
located in :
/var/lib/asterisk/licenses
The license file is in the directory:
-rw-r--r-- 1 root root 308 Aug 27 2007 G729-39F0ABB3.lic
However, every time I try to load the codec, I get the following in the
asterisk console:
codec_g726.so => (ITU G.726-32kbps G726 Transcoder)
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:403 load_module: G.729
transcoding module version 32, Copyright (C) 1999-2007 Digium, Inc.
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:407 load_module: This
module is supplied under a commercial license granted by Digium, Inc.
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:408 load_module: Please see
the full license text supplied by the accompanying
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:409 load_module: "register"
utility, or ask for a copy from Digium.
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:410 load_module: This
product includes software developed by the OpenSSL Project
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:411 load_module: for use in
the OpenSSL Toolkit. (http://www.openssl.org/)
[Jun 10 23:16:40] NOTICE[2673]: codec_g729.c:412 load_module: Copyright
(C) 1998-2006 The OpenSSL Project
[Jun 10 23:16:40] WARNING[2673]: codec_g729.c:420 load_module: Failed to
initialize G.729 copy protection!
codec_g729a.so => (Annex A/B (floating point) G.729 Codec (optimized for
i386))
In this case I am using asterisk v1.4.13, however, I have tried this
with asterisk versions:
1.2.17 - 29
1.4.13 - 18
The codec versions I have tried are the i386 32-bit below:
unsupported v32
unsupported v33
unsupported trunk v33
I cannot seem to locate version 34 for Solaris on the download site
which is apparently the latest version which I have not tried as of yet.
When I built asterisk I changed the directory locations to install
everything in /opt/asterisk as apposed to spread over multiple
directories. This would be the ideal case for us. However, when trying
to get it to work as expected, I built asterisk using the default
install directories to rule out any weirdness I may have caused by
modifying the make file to install to a single top level directory.
I've also asked the guys at SolarisVoIP some time ago to see if they had
got G729 going, and as far as I am aware, they have not been able to get
the codec working either on their Solaris systems. There are multiple
posts on that mailing list where people mention large scale rollouts on
Solaris being held back because they are unable to get the G729 codec
operational under Solaris.
I am not alone
Any suggestions tips/tricks that you may be able to shed on this issue
would be *greatly* appreciated.
Thanks
Bruce |
|
Back to top |
|
|
andres at telesip.net Guest
|
Posted: Tue Jun 10, 2008 6:42 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Quote: | [Jun 10 23:16:40] WARNING[2673]: codec_g729.c:420 load_module: Failed to
initialize G.729 copy protection!
| Even though unrelated to Solaris, I have seen this exact same error on
Linux when the License is invalid/outdated. In our specific case we had
a very old box with a 2004 license. We upgraded everything to 1.4.20
including the G729 binary. When starting asterisk with the old license
it spit out the above error. Deleting the old license and running the
latest register utility fixed the issue.
Quote: | codec_g729a.so => (Annex A/B (floating point) G.729 Codec (optimized for
i386))
| This line would seem to indicate the binary loads fine. I would
concentrate on the License aspect. Delete the license from the
directory and see if you get the same 'copy protection error'. If not
it means the License location was correct but the file has a problem.
Andres
http://www.neuroredes.com |
|
Back to top |
|
|
bruce.mcalister at blu... Guest
|
Posted: Wed Jun 11, 2008 6:34 am Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Andres wrote:
Quote: |
Quote: | codec_g729a.so => (Annex A/B (floating point) G.729 Codec (optimized
for i386))
| This line would seem to indicate the binary loads fine. I would
concentrate on the License aspect. Delete the license from the
directory and see if you get the same 'copy protection error'. If not
it means the License location was correct but the file has a problem.
|
Thanks for the tip the Andres. I will build asterisk 1.4.20 and try it
with the v33 codec over the next couple days.
I thought that if the codec loaded properly you would be able to issue
"show g729" from the asterisk CLI. However that command fails as it
appears that the module is not loaded and exported its functions. Am I
wrong in that assumption? |
|
Back to top |
|
|
andres at telesip.net Guest
|
Posted: Wed Jun 11, 2008 9:56 am Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
Quote: |
Thanks for the tip the Andres. I will build asterisk 1.4.20 and try it
with the v33 codec over the next couple days.
I thought that if the codec loaded properly you would be able to issue
"show g729" from the asterisk CLI. However that command fails as it
appears that the module is not loaded and exported its functions. Am I
wrong in that assumption?
| What I do know from observation is that if the binary is not good, you
will get an obvious error saying that the binary is not compatible or
asterisk will even crash at the start. If the binary is good but no
license is found, the CLI will show as if the binary is loaded but 'show
g729' command does not work. If the binary is good and the license is
bad, you will get the exact output that you sent. My guess is the
'registration' utility is not working right for you. Probably the code
that generates the Host-ID. Do you have more that one Ethernet
interface on that box?
Andres
http://www.neuroredes.com
|
|
Back to top |
|
|
jsmith at digium.com Guest
|
Posted: Wed Jun 11, 2008 12:58 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
On Wed, 2008-06-11 at 09:56 -0500, Andres wrote:
Quote: | What I do know from observation is that if the binary is not good, you
will get an obvious error saying that the binary is not compatible or
asterisk will even crash at the start. If the binary is good but no
license is found, the CLI will show as if the binary is loaded but 'show
g729' command does not work. If the binary is good and the license is
bad, you will get the exact output that you sent.
|
Yes, that's my understanding as well, having talked to the engineer who
actually compiles the g729 codec for Solaris.
--
Jared Smith
Training Manager
Digium, Inc. |
|
Back to top |
|
|
manoj at vianet.com.np Guest
|
Posted: Wed Jun 11, 2008 11:50 pm Post subject: [asterisk-users] g729 open source codec and sample size |
|
|
On Tue, 10 Jun 2008, Steve Totaro wrote:
Quote: | Probably for the same reason that every popular piece of software can
be found on torrents with serials and cracks, as well as hundreds if
not thousands of sites that just offer serials or cracks to make
"demo" software fully functional.
|
Totally agreed with it. But we are in the planning phase and are testing
it. Eventually we would be getting ourselves requred license for the
codec when we are ready for production use.
Quote: |
I am not saying I agree with it but it is extremely common.
Personally I would love to see Speex as an industry standard.
|
Would love to use it as primary codec but not much of the ATAs and IP
Phones available here support it.
Quote: |
Thanks,
Steve Totaro
On Tue, Jun 10, 2008 at 12:19 PM, Eric ManxPower Wieling
<eric at fnords.org> wrote:
Quote: | The G729 codec is neither open source, nor is it free, and the
license/patent does not make an exception for "educational use".
The Intel LIBRARIES are free for educational/personal use, but the
license for that software says that you still need a license from the
G729 patent holder before use.
I don't understand why people won't pay $10/channel for a fully
licensed, legal, and Asterisk supported G729 codec.
Manoj_Rajkarnikar wrote:
Quote: | Greetings.
I'm new to the asterisk & voip world and I'm currently trying out trixbox
2.6.0.7 on a p4 1.8 GHz box. I've downloaded and used the open source g729
codec from site http://asterisk.hosting.lv/ and is working fine. question
here is that this codec sends out a packet every 20ms. Though the speech
quality is very good, I also like to try out 30ms sampling size to bring
down the overhead payload and reduce bandwidth usage. I've searched for it
for a couple days with no indication of how to do it. is it possible to
change it. do i have to compile my own codec module.. or some patch to
asterisk code?? Please suggest.
Thanks a lot.
Manoj
|
--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
-- |
|
Back to top |
|
|
|
|
|
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
|