[asterisk-users] Chan Local, Originate and slin
Dmitriy Serov
serov.d.p at gmail.com
Wed Nov 22 07:42:46 CST 2017
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 at 8000)->(slin at 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171122/3c39bc45/attachment.html>
More information about the asterisk-users
mailing list