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
Sangoma is not part of the codec IANA name, just part of the interface name (description). Try it like this: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,PCMA"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA"/> Don't have mod_g729 or mod_com_g729 loaded at the same time. -Steve On 2 December 2010 12:55, Javier Gallart <jgallartm@gmail.com> wrote:
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
_______________________________________________ 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
Javier, as Sangoma is working quite closely with FreeSWITCH devs (some Sangoma people are actually on this ML), I am pretty sure you can ask Sangoma support to help you out. 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/12/2010 à 13:55, Javier Gallart a écrit :
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
_______________________________________________ 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
participants (3)
-
David Ponzone
-
Javier Gallart
-
Steven Ayre