Hello
we got a Sangoma D100 transcoding card, and we like to get it working with our freeswitch. Freeswitch and the Sangoma card are running on the same server. The module is properly loaded:
2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1102 Reading sangoma codec configuration
2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1126 Found Sangoma RTP IP x.x.x.x
2010-12-02 07:46:33.393953 [NOTICE] mod_sangoma_codec.c:1193 Detected 1 and activated 1 Sangoma codec vocallo modules
2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1207 Loading codecs, register='all', noregister=''
2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec PCMU
...
2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec PCMA
...
2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec G729
...
2010-12-02 07:46:33.402964 [CONSOLE] switch_loadable_module.c:946 Successfully Loaded [mod_sangoma_codec]
2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec PCMU 0 Sangoma PCMU 8000hz 10ms 64000bps
...
2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec PCMA 8 Sangoma PCMA 8000hz 20ms 64000bps
...
2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 Sangoma G729 8000hz 40ms 8000bps
...
2010-12-02 07:46:33.403967 [NOTICE] switch_loadable_module.c:274 Adding API Function 'sangoma_codec'
The codecs look also good:
freeswitch@internal> show codecs
codec,Sangoma G723,mod_sangoma_codec
codec,Sangoma G729,mod_sangoma_codec
codec,Sangoma GSM,mod_sangoma_codec
codec,Sangoma PCMA,mod_sangoma_codec
codec,Sangoma PCMU,mod_sangoma_codec
What we don't know is how to actually use the card. We have forced a call with g729 in the A-leg and g711 in the b-leg but freeswitch doesn't know how to bridge them. I've tried unsuccessfully this config in the vars.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,Sangoma PCMU,Sangoma PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma PCMU,Sangoma PCMA"/>
Does anybody has any experience usgin this card?
Thanks
Javier