Hi, I Move G729 freeswitch codec discussion on the dev-list
On Wed, Aug 4, 2010 at 4:08 PM, Douglas Hubler <[email protected]> wrote: On Wed, Aug 4, 2010 at 6:12 AM, Mircea Carasel <[email protected]> wrote: > I am working on http://backlog.ezuce.com:8080/browse/UC-339 and I would like > no find out if G729 codec is installed on the sistem or not > > I searched Google and read the HowlerHowlets document attached at the issue > to find a generic way to verify if G729 codec is installed on the system. > This codec can be installed from many sources, so we cannot base our > judgement on HowlerHowlets installation procedure only > > Reading about freeswitch (http://wiki.freeswitch.org/wiki/Codecs) I found > that there is a configuration file where this codec has to be put: > > The vars.xml file contains the the following right near the top of the file > (line 59 and 60): > > <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,PCMA,PCMU,GSM"/> > <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G722, PCMA,PCMU,GSM"/> we're not using howler, the company went bankrupt instead we're using the G729 from FreeSWITCH Here's the document Arman put together http://wiki.sipfoundry.org/display/xecsuser/G729+License I think first indication G729 is available, for example the existence of G729 installer command Question: if you make a local file test, does that mean you cannot deploy config server and voicemail on different box? Do we need to delegate this to sipxsupervisor? The freeswitch service can be installed on a secondary host, while sipXconfig is installed always on primary host. IMO, In order for sipXconfig to be aware if the G729 codec is installed or not, we need to find a way to query that secondary host where freeswitch is installed I see four possible approaches for this: 1. Provide an XML-RPC client API in sipXconfig capable to query the freeswitch installation host (there should be an XML-RPC server API to provide that info) 2. Provide a REST service on freeswitch host that verifies if G729 codec is installed 3. create a .sh script on sipXconfig host (primary) that would be capable to return if G729 is installed 4. delegate this job to supervisor. Since the supervisor controls all services, probably it is able to inform sipXconfig about that codec Any idea/thought is welcomed Regards, Mircea _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
