[Freeswitch-users] Codec transcoding PCMA to PMCU

devang nathwani devang.nathwani31589 at gmail.com
Mon Jan 2 13:06:44 MSK 2017


Hello,

This is our 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 8:51 PM, Brian West <brian at freeswitch.org> wrote:

> We would need the full dialplan that you're executing to accomplish this.
>
> On Tue, Dec 27, 2016 at 5:27 AM, 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
> https://www.gofundme.com/freeswitch_ubuntu
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *Skype:*briankwest
>
> _________________________________________________________________________
> 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/20170102/7fe809e0/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/20170102/7fe809e0/attachment-0001.png 


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