[Freeswitch-users] Codec transcoding PCMA to PMCU

Michael Jerris mike at jerris.com
Tue Jan 3 19:43:30 MSK 2017


your original diagram said you have inherit_codec=true.  You’r description says you want to change the codec not inherit it so you’d need to remove that setting.  Setting that is overriding your absolute_codec_string

> On Jan 2, 2017, at 5:06 AM, devang nathwani <devang.nathwani31589 at gmail.com> wrote:
> 
> 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 <mailto: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 <mailto: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.
> 
> 
> <Adiptel-fs-codec-issue.png>
> 
> 
> What am i missing here?
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Brian West
> brian at freeswitch.org <mailto:brian at freeswitch.org>
> 
> Twitter: @FreeSWITCH , @briankwest
> http://www.freeswitchbook.com <http://www.freeswitchbook.com/> (50% Discount using code FreeSwitch50)
> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/> (50% Discount using code FreeSwitch50)
> https://www.gofundme.com/freeswitch_ubuntu <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 <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170103/b628e27a/attachment-0001.html 


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