Sangoma Transcoding Card Implementation
I have a Sangoma Transcoding Card installed in FreeSWITCH. And my configuration is fine, and my vars.xml file I have like this, <X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/> Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error). Even though I have Sangoma Transcoding card still it shows error. Thanks.
I don't think it should say Sangoma in your codec prefs. Just G729. Guillermo On Mon, Mar 31, 2014 at 10:11 AM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Guillermo Ruiz Camauer
And have you checked that the Sangoma services are actually loaded? Guillermo On Mon, Mar 31, 2014 at 11:02 AM, Guillermo Ruiz Camauer < grcamauer@gmail.com> wrote:
I don't think it should say Sangoma in your codec prefs. Just G729.
Guillermo
On Mon, Mar 31, 2014 at 10:11 AM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Guillermo Ruiz Camauer
-- Guillermo Ruiz Camauer
This is how we have it setup: /usr/local/freeswitch/conf/vars.xml <X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/> AND /usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml <configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration"> <settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings> </configuration> On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
@Guillermo: Yes I have my sngtc_server loaded. @Deon, Let me try as per your dialplan. On Mon, Mar 31, 2014 at 7:33 PM, Deon Vermeulen <vermeulen.deon@gmail.com>wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
@Deon: nope, I tried but it didn't push through. As I said from G729 if i initiate a call it says 488 Unacceptable error.
From ulaw if i initiate the call, its going to voicemail even though the extension is available.
While going to voicemail it uses sangoma, freeswitch@internal> sangoma_codec sessions Session Codec Enc Dec Enc Tx Enc Rx Dec Tx Dec Rx Enc Lost Dec Lost Enc AvgRxMs Dec AvgRxMs 5 PCMU Yes No 149 146 0 0 129 0 80 0 4 PCMU No No 0 0 0 0 0 0 0 0 3 PCMU No No 0 0 0 0 0 0 0 0 2 PCMU No No 0 0 0 0 0 0 0 0 1 PCMU No No 0 0 0 0 0 0 0 0 0 PCMU No No 0 0 0 0 0 0 0 0 Total sessions: 6 very strange. On Mon, Mar 31, 2014 at 7:38 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
@Guillermo: Yes I have my sngtc_server loaded.
@Deon, Let me try as per your dialplan.
On Mon, Mar 31, 2014 at 7:33 PM, Deon Vermeulen <vermeulen.deon@gmail.com>wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
Hmm…. Can you confirm this: /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml <!-- Endpoints --> <!-- <load module="mod_dingaling"/> --> <!-- <load module="mod_portaudio"/> --> <!-- <load module="mod_alsa"/> --> <load module="mod_sofia"/> <load module="mod_sangoma_codec"/> <load module="mod_loopback"/> <!-- <load module="mod_woomera"/> --> <!-- <load module="mod_freetdm"/> --> <!-- <load module="mod_openzap"/> --> <!-- <load module="mod_unicall"/> --> <!-- <load module="mod_skinny"/> --> <!-- <load module="mod_khomp"/> --> <!-- <load module="mod_rtmp"/> --> <!-- Codec Interfaces --> <load module="mod_spandsp"/> <!-- <load module="mod_g723_1"/> --> <!-- <load module="mod_g729"/> --> <!-- <load module="mod_amr"/> --> <!-- <load module="mod_ilbc"/ > --> <!-- <load module="mod_speex"/> --> <!-- <load module="mod_h26x"/> --> <!-- <load module="mod_vp8"/> --> <!-- <load module="mod_b64"/> --> <!-- <load module="mod_siren"/> --> <!-- <load module="mod_isac"/> --> <!-- <load module="mod_celt"/> --> <!-- <load module="mod_opus"/> --> Although I think this is something else. Please paste call output from fs_cli to pastebin.com and share with us the link. Regards D On Mar 31, 2014, at 4:13 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
@Deon: nope, I tried but it didn't push through.
As I said from G729 if i initiate a call it says 488 Unacceptable error.
From ulaw if i initiate the call, its going to voicemail even though the extension is available.
While going to voicemail it uses sangoma, freeswitch@internal> sangoma_codec sessions Session Codec Enc Dec Enc Tx Enc Rx Dec Tx Dec Rx Enc Lost Dec Lost Enc AvgRxMs Dec AvgRxMs 5 PCMU Yes No 149 146 0 0 129 0 80 0 4 PCMU No No 0 0 0 0 0 0 0 0 3 PCMU No No 0 0 0 0 0 0 0 0 2 PCMU No No 0 0 0 0 0 0 0 0 1 PCMU No No 0 0 0 0 0 0 0 0 0 PCMU No No 0 0 0 0 0 0 0 0 Total sessions: 6
very strange.
On Mon, Mar 31, 2014 at 7:38 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote: @Guillermo: Yes I have my sngtc_server loaded.
@Deon, Let me try as per your dialplan.
On Mon, Mar 31, 2014 at 7:33 PM, Deon Vermeulen <vermeulen.deon@gmail.com> wrote: This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
My log is here - http://pastebin.freeswitch.org/22265 And my sangoma codec is loaded. As I told from ulaw if i call, its goes to voicemessage, eventhough the extension is available and it uses sangoma card. And yes my RTP Address shows as, freeswitch@internal> sangoma_codec settings RTP IP Address: 192.168.2.1 Its different segment from my inbuilt Ethernet address. Regards. On Mon, Mar 31, 2014 at 7:51 PM, Deon Vermeulen <vermeulen.deon@gmail.com>wrote:
Hmm....
Can you confirm this:
/usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
<!-- Endpoints --> <!-- <load module="mod_dingaling"/> --> <!-- <load module="mod_portaudio"/> --> <!-- <load module="mod_alsa"/> --> <load module="mod_sofia"/> <load module="mod_sangoma_codec"/> <load module="mod_loopback"/> <!-- <load module="mod_woomera"/> --> <!-- <load module="mod_freetdm"/> --> <!-- <load module="mod_openzap"/> --> <!-- <load module="mod_unicall"/> --> <!-- <load module="mod_skinny"/> --> <!-- <load module="mod_khomp"/> --> <!-- <load module="mod_rtmp"/> -->
<!-- Codec Interfaces --> <load module="mod_spandsp"/> <!-- <load module="mod_g723_1"/> --> <!-- <load module="mod_g729"/> --> <!-- <load module="mod_amr"/> --> <!-- <load module="mod_ilbc"/ > --> <!-- <load module="mod_speex"/> --> <!-- <load module="mod_h26x"/> --> <!-- <load module="mod_vp8"/> --> <!-- <load module="mod_b64"/> --> <!-- <load module="mod_siren"/> --> <!-- <load module="mod_isac"/> --> <!-- <load module="mod_celt"/> --> <!-- <load module="mod_opus"/> -->
Although I think this is something else.
Please paste call output from fs_cli to pastebin.com and share with us the link.
Regards D
On Mar 31, 2014, at 4:13 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
@Deon: nope, I tried but it didn't push through.
As I said from G729 if i initiate a call it says 488 Unacceptable error.
From ulaw if i initiate the call, its going to voicemail even though the extension is available.
While going to voicemail it uses sangoma, freeswitch@internal> sangoma_codec sessions Session Codec Enc Dec Enc Tx Enc Rx Dec Tx Dec Rx Enc Lost Dec Lost Enc AvgRxMs Dec AvgRxMs 5 PCMU Yes No 149 146 0 0 129 0 80 0 4 PCMU No No 0 0 0 0 0 0 0 0 3 PCMU No No 0 0 0 0 0 0 0 0 2 PCMU No No 0 0 0 0 0 0 0 0 1 PCMU No No 0 0 0 0 0 0 0 0 0 PCMU No No 0 0 0 0 0 0 0 0 Total sessions: 6
very strange.
On Mon, Mar 31, 2014 at 7:38 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
@Guillermo: Yes I have my sngtc_server loaded.
@Deon, Let me try as per your dialplan.
On Mon, Mar 31, 2014 at 7:33 PM, Deon Vermeulen <vermeulen.deon@gmail.com
wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
have you fixed your codec lists , as per my previous email ?? use this : <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs= G729,PCMU,PCMA,GSM,G722"/> On 1 April 2014 00:57, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
My log is here - http://pastebin.freeswitch.org/22265
And my sangoma codec is loaded. As I told from ulaw if i call, its goes to voicemessage, eventhough the extension is available and it uses sangoma card.
And yes my RTP Address shows as,
freeswitch@internal> sangoma_codec settings RTP IP Address: 192.168.2.1
Its different segment from my inbuilt Ethernet address.
Regards.
On Mon, Mar 31, 2014 at 7:51 PM, Deon Vermeulen <vermeulen.deon@gmail.com>wrote:
Hmm....
Can you confirm this:
/usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
<!-- Endpoints --> <!-- <load module="mod_dingaling"/> --> <!-- <load module="mod_portaudio"/> --> <!-- <load module="mod_alsa"/> --> <load module="mod_sofia"/> <load module="mod_sangoma_codec"/> <load module="mod_loopback"/> <!-- <load module="mod_woomera"/> --> <!-- <load module="mod_freetdm"/> --> <!-- <load module="mod_openzap"/> --> <!-- <load module="mod_unicall"/> --> <!-- <load module="mod_skinny"/> --> <!-- <load module="mod_khomp"/> --> <!-- <load module="mod_rtmp"/> -->
<!-- Codec Interfaces --> <load module="mod_spandsp"/> <!-- <load module="mod_g723_1"/> --> <!-- <load module="mod_g729"/> --> <!-- <load module="mod_amr"/> --> <!-- <load module="mod_ilbc"/ > --> <!-- <load module="mod_speex"/> --> <!-- <load module="mod_h26x"/> --> <!-- <load module="mod_vp8"/> --> <!-- <load module="mod_b64"/> --> <!-- <load module="mod_siren"/> --> <!-- <load module="mod_isac"/> --> <!-- <load module="mod_celt"/> --> <!-- <load module="mod_opus"/> -->
Although I think this is something else.
Please paste call output from fs_cli to pastebin.com and share with us the link.
Regards D
On Mar 31, 2014, at 4:13 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
@Deon: nope, I tried but it didn't push through.
As I said from G729 if i initiate a call it says 488 Unacceptable error.
From ulaw if i initiate the call, its going to voicemail even though the extension is available.
While going to voicemail it uses sangoma, freeswitch@internal> sangoma_codec sessions Session Codec Enc Dec Enc Tx Enc Rx Dec Tx Dec Rx Enc Lost Dec Lost Enc AvgRxMs Dec AvgRxMs 5 PCMU Yes No 149 146 0 0 129 0 80 0 4 PCMU No No 0 0 0 0 0 0 0 0 3 PCMU No No 0 0 0 0 0 0 0 0 2 PCMU No No 0 0 0 0 0 0 0 0 1 PCMU No No 0 0 0 0 0 0 0 0 0 PCMU No No 0 0 0 0 0 0 0 0 Total sessions: 6
very strange.
On Mon, Mar 31, 2014 at 7:38 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
@Guillermo: Yes I have my sngtc_server loaded.
@Deon, Let me try as per your dialplan.
On Mon, Mar 31, 2014 at 7:33 PM, Deon Vermeulen < vermeulen.deon@gmail.com> wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Sincerely Jay
Yes Jay, my vars.xml is like this, <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,PCMU,PCMA,GSM,G722"/> Thanks. On Tue, Apr 1, 2014 at 4:01 AM, jay binks <jaybinks@gmail.com> wrote:
have you fixed your codec lists , as per my previous email ??
use this : <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs= G729,PCMU,PCMA,GSM,G722"/>
On 1 April 2014 00:57, Gopalakrishnan N <gopalakrishnan.an@gmail.com>wrote:
My log is here - http://pastebin.freeswitch.org/22265
And my sangoma codec is loaded. As I told from ulaw if i call, its goes to voicemessage, eventhough the extension is available and it uses sangoma card.
And yes my RTP Address shows as,
freeswitch@internal> sangoma_codec settings RTP IP Address: 192.168.2.1
Its different segment from my inbuilt Ethernet address.
Regards.
On Mon, Mar 31, 2014 at 7:51 PM, Deon Vermeulen <vermeulen.deon@gmail.com
wrote:
Hmm....
Can you confirm this:
/usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
<!-- Endpoints --> <!-- <load module="mod_dingaling"/> --> <!-- <load module="mod_portaudio"/> --> <!-- <load module="mod_alsa"/> --> <load module="mod_sofia"/> <load module="mod_sangoma_codec"/> <load module="mod_loopback"/> <!-- <load module="mod_woomera"/> --> <!-- <load module="mod_freetdm"/> --> <!-- <load module="mod_openzap"/> --> <!-- <load module="mod_unicall"/> --> <!-- <load module="mod_skinny"/> --> <!-- <load module="mod_khomp"/> --> <!-- <load module="mod_rtmp"/> -->
<!-- Codec Interfaces --> <load module="mod_spandsp"/> <!-- <load module="mod_g723_1"/> --> <!-- <load module="mod_g729"/> --> <!-- <load module="mod_amr"/> --> <!-- <load module="mod_ilbc"/ > --> <!-- <load module="mod_speex"/> --> <!-- <load module="mod_h26x"/> --> <!-- <load module="mod_vp8"/> --> <!-- <load module="mod_b64"/> --> <!-- <load module="mod_siren"/> --> <!-- <load module="mod_isac"/> --> <!-- <load module="mod_celt"/> --> <!-- <load module="mod_opus"/> -->
Although I think this is something else.
Please paste call output from fs_cli to pastebin.com and share with us the link.
Regards D
On Mar 31, 2014, at 4:13 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
@Deon: nope, I tried but it didn't push through.
As I said from G729 if i initiate a call it says 488 Unacceptable error.
From ulaw if i initiate the call, its going to voicemail even though the extension is available.
While going to voicemail it uses sangoma, freeswitch@internal> sangoma_codec sessions Session Codec Enc Dec Enc Tx Enc Rx Dec Tx Dec Rx Enc Lost Dec Lost Enc AvgRxMs Dec AvgRxMs 5 PCMU Yes No 149 146 0 0 129 0 80 0 4 PCMU No No 0 0 0 0 0 0 0 0 3 PCMU No No 0 0 0 0 0 0 0 0 2 PCMU No No 0 0 0 0 0 0 0 0 1 PCMU No No 0 0 0 0 0 0 0 0 0 PCMU No No 0 0 0 0 0 0 0 0 Total sessions: 6
very strange.
On Mon, Mar 31, 2014 at 7:38 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
@Guillermo: Yes I have my sngtc_server loaded.
@Deon, Let me try as per your dialplan.
On Mon, Mar 31, 2014 at 7:33 PM, Deon Vermeulen < vermeulen.deon@gmail.com> wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N < gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Sincerely
Jay
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
Change it so its like this <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs= G729,PCMU,PCMA,GSM,G722"/> Also do you have mod_sangoma_codec loaded in freeswitch ?? also check the settings with freeswitch@default> sangoma_codec settings RTP IP Address: 192.168.148.1 On 1 April 2014 00:03, Deon Vermeulen <vermeulen.deon@gmail.com> wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Sincerely Jay
participants (4)
-
Deon Vermeulen
-
Gopalakrishnan N
-
Guillermo Ruiz Camauer
-
jay binks