First, I cannot set codecs with cmd Originate from dialplan (or can I?). Second - the difference in my example is only between cmd Originate from dialplan and Originate from a call file. To my mind, it shouldn't make any difference.
ср, 22 нояб. 2017 г. в 16:44, Dmitriy Serov <[email protected]>: > AMI action Originate has param "Codecs". I think it helps. > > > https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerAction_Originate > > 22.11.2017 13:24, Kseniya Blashchuk пишет: > > Hi all! > > > Asterisk 13.1.0 Ubuntu 16.04, all latest. > Can anybody explain this to me - I run Originate command from dialplan: > > same => n,Originate(Local/${number}@mycontext,app,ConfBridge,${confnum}) > > and I get crazy sound distortion in the conference, and I see that > transcoding takes place here: > > NativeFormats: (slin192) > WriteFormat: slin > ReadFormat: slin192 > WriteTranscode: Yes (slin@8000)->(slin@192000) > ReadTranscode: No > > When I do the same from a call file like: > > same => n,System(printf "Action: Originate\nActionID: 1\nChannel: > Local/${number}@mycontext\nApplication: Confbridge\nData: ${confnum}\n" > > /var/spool/asterisk/outgoing/${number}-${confnum}) > > the sound is perfect and this is what I see on the channel params: > > NativeFormats: (slin) > WriteFormat: slin > ReadFormat: slin > WriteTranscode: No > ReadTranscode: No > > Can anybody explain what is going on? > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
