[Freeswitch-users] Sangoma Transcoding Card Implementation

Gopalakrishnan N gopalakrishnan.an at gmail.com
Mon Mar 31 18:57:48 MSD 2014


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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at freeswitch.org
>>> > http://www.freeswitchsolutions.com
>>> >
>>> > 
>>> > 
>>> >
>>> > Official FreeSWITCH Sites
>>> > http://www.freeswitch.org
>>> > http://wiki.freeswitch.org
>>> > http://www.cluecon.com
>>> >
>>> > FreeSWITCH-users mailing list
>>> > FreeSWITCH-users at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140331/76bbaad9/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list