[Freeswitch-users] Codec transcoding PCMA to PMCU

Lợi Đặng loi.dangthanh at gmail.com
Wed Jan 4 13:49:34 MSK 2017


hi Ketan, pls check if `inbound-proxy-media` is true in your sip profile.
if yes, set it to false.
beside, export absolute_codec_string=PCMU to calling leg.

<action application="bridge" data="{absolute_codec_string=PCMU
}sofia/gateway/Twilio/+34915300123"/>

or

<action application="export" data="absolute_codec_string=PCMU"/>

good luck.
rgds,

Loi Dang Thanh
Phone : +84. 1224.735.448
Email : loi.dangthanh at gmail.com

On Mon, Jan 2, 2017 at 5:04 PM, Ketan Kothari <kkothari157 at gmail.com> wrote:

> Hello,
>
> This is my dialplan.
>
> <section name="dialplan" description="My Dialplan">
> <context name="default">
> <extension name="22290915300123">
> <condition field="destination_number" expression="22290915300123">
> <action application="set" data="effective_destination_
> number=22290915300123"/>
> <action application="set" data="hangup_after_bridge=true"/>
> <action application="set" data="continue_on_fail=true"/>
> <action application="export" data="media_bug_answer_req=true"/>
> <action application="export" data="RECORD_STEREO=true"/>
> <action application="export" data="record_sample_rate=8000"/>
> <action application="export" data="execute_on_answer=record_session
> /home/shared/recordings/c9b95b66-efcb-45a9-89b7-b6e39f4a2c4b.wav"/>
> <action application="set" data="absolute_codec_string=PCMU"/>
> <action application="bridge" data="sofia/gateway/Twilio/+34915300123"/>
> </condition>
> </extension>
> </context>
> </section>
>
> On Tue, Dec 27, 2016 at 4:57 PM, Ketan Kothari <kkothari157 at gmail.com>
> wrote:
>
>> Hello,
>>
>> I have configured PCMA codec in my zoipper soft-phone(UAC) and tried to
>> call to 123456789 using our gateway twillo(UAS).
>> Gateway only accept PCMU codec. I have also configured absolute codec
>> =PCMU but still freeswitch sending PCMA to twillo(Provider gateway UAS). I
>> have got error Originate Failed.  Cause: SERVICE_NOT_IMPLEMENTED in
>> freeswitch.
>>
>> Once i have added PCMU codec in my zoiper(UAC) it's working.
>>
>>
>> [image: Inline image 1]
>>
>>
>> What am i missing here?
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20170104/3a042ac5/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Adiptel-fs-codec-issue.png
Type: image/png
Size: 27168 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170104/3a042ac5/attachment-0001.png 


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