Your kind feedback will be appreciated.From: Ahmed habiba <ahabiba@gmail.com>Subject: [Freeswitch-users] IMT Codec EnforcementDate: April 4, 2016 at 10:37:46 PM GMT+3Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>Dears,kindly I have the below scenario:[SoftPhone1]<——Channel1——>[FreeSwitch1]<——Channel2——>[FreeSwitch2]<——Chanel3——>[SoftPhone2]Channel1 codec G722Channel3 codec G722I want to enforce Channel 3 between FreeSwitch instances to be GSM, I change the Dial plane of freeSwitch1 to and the same for FS2<action application="set" data=“absolute_codec_string=GSM"/><action application="bridge" data="sofia/internal/$1@10.8.0.22"/>However when I run call from FS2 to FS1, FS1 reply with the below putting “a=rtpmap:106 opus/48000/2” as the only available codec as below, your kind help will be appreciatedrecv 1275 bytes from udp/[10.8.0.22]:5060 at 15:22:35.560845:------------------------------------------------------------------------SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP 10.8.0.29;rport=5060;branch=z9hG4bKSr1v2mgcctX5HFrom: "Extension 1000" <sip:1000@10.8.0.29>;tag=U82NjmSa9S9KgTo: <sip:1000@10.8.0.22>;tag=g0eNeprr8e4FgCall-ID: 6d5dbd7f-753d-1234-d78c-bc305bd3840cCSeq: 89562813 INVITEContact: <sip:1000@10.8.0.22:5060;transport=udp>User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bitAccept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBESupported: timer, path, replacesAllow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 261X-FS-Display-Name: 1000X-FS-Display-Number: sip:1000@10.8.0.22X-FS-Support: update_display,send_infoRemote-Party-ID: "1000" <sip:1000@10.8.0.22>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1459771930 1459771931 IN IP4 10.8.0.22s=FreeSWITCHc=IN IP4 10.8.0.22t=0 0m=audio 25836 RTP/AVP 106 101a=rtpmap:106 opus/48000/2a=fmtp:106 useinbandfec=1; minptime=20a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20Thanks,Ahmed Habiba.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org