mod_com_g729 - moving licences to a new server
I need to move our current pbx to a new hardware. How can I disable the g729 licences on the old server and enable them on the new one ? The current production server has an old installation of mod_com_g729: can I upgrade it to a more recent one without upgrading freeswitch ? Does mod_com_g729 upgrade need to stop running calls ? Thanks in advance Massimiliano
Hi all, I am thinking of a way of testing the quality of a voice call. Ideally i would like to create a call from FS with a loopback parameter that tells phone to answer the call automatically and loopback the RTP. This is a common functionality in most phoned (for example cisco) The sent and received packets could be compared for jitter, latency and packet loss and a result extracted. Does this already exist? I know there some specific tool that accomplish this bit they are expensive and awkward to use. Starting and retrieving the result from an api would be fantastic. On 2 Feb 2011, at 17:43, Massimiliano Ravelli <massimiliano.ravelli@gmail.com> wrote:
I need to move our current pbx to a new hardware. How can I disable the g729 licences on the old server and enable them on the new one ?
The current production server has an old installation of mod_com_g729: can I upgrade it to a more recent one without upgrading freeswitch ? Does mod_com_g729 upgrade need to stop running calls ?
Thanks in advance Massimiliano
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Marc, I would recommend you resend your message without replying to another one, so it has its own thread. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 02/02/2011 à 19:03, Marc De Corny a écrit :
Hi all, I am thinking of a way of testing the quality of a voice call.
Ideally i would like to create a call from FS with a loopback parameter that tells phone to answer the call automatically and loopback the RTP. This is a common functionality in most phoned (for example cisco) The sent and received packets could be compared for jitter, latency and packet loss and a result extracted.
Does this already exist? I know there some specific tool that accomplish this bit they are expensive and awkward to use. Starting and retrieving the result from an api would be fantastic.
On 2 Feb 2011, at 17:43, Massimiliano Ravelli <massimiliano.ravelli@gmail.com> wrote:
I need to move our current pbx to a new hardware. How can I disable the g729 licences on the old server and enable them on the new one ?
The current production server has an old installation of mod_com_g729: can I upgrade it to a more recent one without upgrading freeswitch ? Does mod_com_g729 upgrade need to stop running calls ?
Thanks in advance Massimiliano
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
My apologies, i thought i had. Let me try again Marc On 2 Feb 2011, at 18:11, David Ponzone <david.ponzone@ipeva.fr> wrote:
Marc,
I would recommend you resend your message without replying to another one, so it has its own thread.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 02/02/2011 à 19:03, Marc De Corny a écrit :
Hi all, I am thinking of a way of testing the quality of a voice call.
Ideally i would like to create a call from FS with a loopback parameter that tells phone to answer the call automatically and loopback the RTP. This is a common functionality in most phoned (for example cisco) The sent and received packets could be compared for jitter, latency and packet loss and a result extracted.
Does this already exist? I know there some specific tool that accomplish this bit they are expensive and awkward to use. Starting and retrieving the result from an api would be fantastic.
On 2 Feb 2011, at 17:43, Massimiliano Ravelli <massimiliano.ravelli@gmail.com> wrote:
I need to move our current pbx to a new hardware. How can I disable the g729 licences on the old server and enable them on the new one ?
The current production server has an old installation of mod_com_g729: can I upgrade it to a more recent one without upgrading freeswitch ? Does mod_com_g729 upgrade need to stop running calls ?
Thanks in advance Massimiliano
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Is the network card associated with the server external? If so, you can move that card and it won't be necessary to give them a call on transferring the licences over On Wed, Feb 2, 2011 at 9:43 AM, Massimiliano Ravelli <massimiliano.ravelli@gmail.com> wrote:
I need to move our current pbx to a new hardware. How can I disable the g729 licences on the old server and enable them on the new one ?
The current production server has an old installation of mod_com_g729: can I upgrade it to a more recent one without upgrading freeswitch ? Does mod_com_g729 upgrade need to stop running calls ?
Thanks in advance Massimiliano
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
curriegrad2004 , That'll only work if there are no internal cards either. Massimiliano, Licenses are linked to the server via the MAC addresses of all network cards on the server. If you can move all of those (or at least set the same MAC addresses) it'll let you use the license on the other server. Do not try using the license on the old server at the same time. If that's not possible or you'd rather have it linked to the new server try emailing consulting@freeswitch.org, they'll be able to reissue the license (but as part of the patent restrictions can only do this a limited number of times). They'll probably also see this thread. You'll want to stop the current server before installing the license on the new server I believe. mod_com_g729 can be upgraded, but not while you have G729 calls running. You'll need to do install the newer module, then do "reload mod_com_g729" at the FS cli. That'll unload the G729 codec module (which'll block until any current G729 calls end) then load the new one. Be careful on a production server - you should test doing so on a testbed first so you don't get any unexpected problems during the upgrade, otherwise your server may be offline for much longer than you'd expected. -Steve On 2 February 2011 19:12, curriegrad2004 <curriegrad2004@gmail.com> wrote:
Is the network card associated with the server external? If so, you can move that card and it won't be necessary to give them a call on transferring the licences over
On Wed, Feb 2, 2011 at 9:43 AM, Massimiliano Ravelli <massimiliano.ravelli@gmail.com> wrote:
I need to move our current pbx to a new hardware. How can I disable the g729 licences on the old server and enable them on the new one ?
The current production server has an old installation of mod_com_g729: can I upgrade it to a more recent one without upgrading freeswitch ? Does mod_com_g729 upgrade need to stop running calls ?
Thanks in advance Massimiliano
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
Licenses are linked to the server via the MAC addresses of all network cards on the server. If you can move all of those (or at least set the same MAC addresses) it'll let you use the license on the other server. Steve, R U sure about this? Does this only apply to a G729 license purchased from FS?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
That's what's been indicated by Brian in the past... though it could always be linked to other hardware details too. It's pretty secure because you can't run two servers on the same network with the same MAC at the same time, otherwise packets'll go to the wrong server. Plenty of licensing systems work this way. There's a lot of network cards that don't even let you change the MAC any more, this might be partly why. -Steve On 3 February 2011 01:19, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Steven Ayre wrote:
Licenses are linked to the server via the MAC addresses of all network cards on the server. If you can move all of those (or at least set the same MAC addresses) it'll let you use the license on the other server. Steve, R U sure about this? Does this only apply to a G729 license purchased from FS?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
That's what's been indicated by Brian in the past... though it could always be linked to other hardware details too.
I have no way to confirm this with other vendors, but it sounded like this only applies to a G729 license bought from FS. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
Yes, it is specifically their G729 license implementation. They're required by the patent holders to use some method to prevent you using the same licence on other servers. Other people will use various methods but many will probably go for the MACs. It's a pretty common method that works on any OS. It's the same one that Digium use for their G729 codec: http://downloads.digium.com/pub/telephony/codec_g729/README "It is extremely important that you backup all of the files located in the /var/lib/asterisk/licenses directory. This directory contains the Host-ID specific license files for your system. *****These license files are tied to the MAC address of all the ethernet devices installed in your system*****. Creating a backup of this directory will allow you to restore your G.729 license file in case you need to reinstall your operating system. This will help prevent the need to contact Digium to request authorization to increment your G.729 key and from needing to purchase a new G.729 key if you exceed the maximum number of G.729 key increments allowed." (That doesn't mean you can use Digium G729 licenses on FS btw - you can't). -Steve On 3 February 2011 14:06, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Steven Ayre wrote:
That's what's been indicated by Brian in the past... though it could always be linked to other hardware details too.
I have no way to confirm this with other vendors, but it sounded like this only applies to a G729 license bought from FS.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
Yes, it is specifically their G729 license implementation. So, if we bought a G729 license from FS (not from G729 directly and/or other G720 license resellers), then we can basically use the G729 license on other device provided we manage to change the MAC Address of the new device to an old one and remove the same G729 license from the old device. This is cool, especially if one wants to upgrade to a new system and/or if the old system crashes.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
It sounds like however the license uses all network cards on the machine, so while changing macs may work it will probably only work if there are the same number of network cards. ~Mitch On Thu, Feb 3, 2011 at 7:55 AM, mazilo <Nabble@slickdeals.endjunk.com>wrote:
Steven Ayre wrote:
Yes, it is specifically their G729 license implementation. So, if we bought a G729 license from FS (not from G729 directly and/or other G720 license resellers), then we can basically use the G729 license on other device provided we manage to change the MAC Address of the new device to an old one and remove the same G729 license from the old device. This is cool, especially if one wants to upgrade to a new system and/or if the old system crashes.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Oh, and it doesn't apply to Sangoma - the G729 licence is part of the hardware costs in that case. -Steve On 3 February 2011 14:06, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Steven Ayre wrote:
That's what's been indicated by Brian in the past... though it could always be linked to other hardware details too.
I have no way to confirm this with other vendors, but it sounded like this only applies to a G729 license bought from FS.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-com-g729-moving-licences-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2011/2/2 Steven Ayre <steveayre@gmail.com>
Licenses are linked to the server via the MAC addresses of all network cards on the server. If you can move all of those (or at least set the same MAC addresses) it'll let you use the license on the other server. Do not try using the license on the old server at the same time.
Thanks Steven, Unluckily the ethernet interfaces are integrated into the motherboard and even with with network cards the downtime for the swap will be unacceptable. If that's not possible or you'd rather have it linked to the new server try
emailing consulting@freeswitch.org, they'll be able to reissue the license (but as part of the patent restrictions can only do this a limited number of times). They'll probably also see this thread.
We plan to swap the production machine back in the future and we need to swap them quickly so I think we should buy some more licences. By the way: does anyone know how much is "limited number of times" ? Just curious, as our customers will need licences too and I'm wondering if we can buy licences in advance for them. You'll want to stop the current server before installing the license on the
new server I believe.
Shutting down or, at least, disconnect from the network the current server is already planned in any case. mod_com_g729 can be upgraded, but not while you have G729 calls running.
You'll need to do install the newer module, then do "reload mod_com_g729" at the FS cli. That'll unload the G729 codec module (which'll block until any current G729 calls end) then load the new one. Be careful on a production server - you should test doing so on a testbed first so you don't get any unexpected problems during the upgrade, otherwise your server may be offline for much longer than you'd expected.
Ok, thanks very much ! Regards, Massimiliano
If that's not possible or you'd rather have it linked to the new server
try emailing consulting@freeswitch.org, they'll be able to reissue the license (but as part of the patent restrictions can only do this a limited number of times). They'll probably also see this thread.
We plan to swap the production machine back in the future and we need to swap them quickly so I think we should buy some more licences.
By the way: does anyone know how much is "limited number of times" ?
Yea, sounds like more licenses would be good then. I think limited number of times probably means once, then you'll need to provide proof that the old server is no longer being used. For comparison that's the system I believe Digium use. You'd need to check the developers though. Just curious, as our customers will need licences too and I'm wondering if
we can buy licences in advance for them.
That should be possible - when you install your license for the first time it registers the details of the server you're installing on with freeswitch.org and generates the license file at that time. You should be able to buy licenses and they won't be activated until you install them on your customers' servers. On 3 February 2011 08:42, Massimiliano Ravelli < massimiliano.ravelli@gmail.com> wrote:
2011/2/2 Steven Ayre <steveayre@gmail.com>
Licenses are linked to the server via the MAC addresses of all network
cards on the server. If you can move all of those (or at least set the same MAC addresses) it'll let you use the license on the other server. Do not try using the license on the old server at the same time.
Thanks Steven, Unluckily the ethernet interfaces are integrated into the motherboard and even with with network cards the downtime for the swap will be unacceptable.
If that's not possible or you'd rather have it linked to the new server try
emailing consulting@freeswitch.org, they'll be able to reissue the license (but as part of the patent restrictions can only do this a limited number of times). They'll probably also see this thread.
We plan to swap the production machine back in the future and we need to swap them quickly so I think we should buy some more licences. By the way: does anyone know how much is "limited number of times" ? Just curious, as our customers will need licences too and I'm wondering if we can buy licences in advance for them.
You'll want to stop the current server before installing the license on the
new server I believe.
Shutting down or, at least, disconnect from the network the current server is already planned in any case.
mod_com_g729 can be upgraded, but not while you have G729 calls running.
You'll need to do install the newer module, then do "reload mod_com_g729" at the FS cli. That'll unload the G729 codec module (which'll block until any current G729 calls end) then load the new one. Be careful on a production server - you should test doing so on a testbed first so you don't get any unexpected problems during the upgrade, otherwise your server may be offline for much longer than you'd expected.
Ok, thanks very much !
Regards, Massimiliano
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2011/2/3 Steven Ayre <steveayre@gmail.com
You should be able to buy licenses and they won't be activated until you install them on your customers' servers.
Oh yes, that's true ! :-) Thanks very much indeed for help ! Massimiliano
Hello, After purchasing a few licenses and installing the latest fsg729-191-installer I'm getting the following error when trying to load the mod_com_g729:
2011-02-04 14:27:17.637046 [CRIT] switch_loadable_module.c:926 Error Loading module /opt/fs/mod/mod_com_g729.so **Trying to load an out of date module, please rebuild the module.**
Also noticed that g729 installer ran with a couple errors:
./installer: line 62: ldconfig: command not found ./installer: line 49: useradd: command not found Any help or solution is much appreciated.
-Victor
participants (8)
-
curriegrad2004
-
David Ponzone
-
Marc De Corny
-
Massimiliano Ravelli
-
mazilo
-
Mitch Capper
-
Steven Ayre
-
Victor Chukalovskiy