Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Steve Edwards
On Wed, 22 Nov 2017, Kseniya Blashchuk wrote: Hmm thanks, I guess I should try the latest version just to check. Unfortunately Ubuntu asterisk is not so frequently updated, just backports on security updates Lubuntu 17.10 installed Asterisk 13.17.2. -- Thanks in advance,

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Kseniya Blashchuk
Hmm thanks, I guess I should try the latest version just to check. Unfortunately Ubuntu asterisk is not so frequently updated, just backports on security updates On Wed, Nov 22, 2017, 10:29 PM Richard Mudgett wrote: > On Wed, Nov 22, 2017 at 12:38 PM, Kseniya Blashchuk

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Richard Mudgett
On Wed, Nov 22, 2017 at 12:38 PM, Kseniya Blashchuk wrote: > Again - when Originate is run from dialplan, i get: > > NativeFormats: (slin192) > WriteFormat: slin > ReadFormat: slin192 > WriteTranscode: Yes (slin@8000)->(slin@192000) > ReadTranscode: No > > When

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Kseniya Blashchuk
Again - when Originate is run from dialplan, i get: NativeFormats: (slin192) WriteFormat: slin ReadFormat: slin192 WriteTranscode: Yes (slin@8000)->(slin@192000) ReadTranscode: No When it's made with a call file (no matter how a call file is created), I see NativeFormats: (slin)

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Kseniya Blashchuk
This thread is not the point how to create call files and not about manager commands. I am asking why naive codec is different for channel Local with cmd Originate when comparing to the same action in a call file. Call files work for me in this way. If it doesn't work for you, maybe you have a

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Steve Edwards
On Wed, 22 Nov 2017, Dmitriy Serov wrote:  same => n,System(printf "Action: Originate\nActionID: 1\nChannel: Local/${number}@mycontext\nApplication: Confbridge\nData: ${confnum}\n" > /var/spool/asterisk/outgoing/${number}-${confnum}) I get: Unknown keyword 'Action' at line 1 of

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Kseniya Blashchuk
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

Re: [asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread Dmitriy Serov
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

[asterisk-users] Chan Local, Originate and slin

2017-11-22 Thread 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: