[asterisk-bugs] [JIRA] (ASTERISK-26638) cli channel originate Local always create channel with slin 8khz format

Vitaly K (JIRA) noreply at issues.asterisk.org
Sat Dec 3 21:47:10 CST 2016


Vitaly K created ASTERISK-26638:
-----------------------------------

             Summary: cli channel originate Local always create channel  with slin 8khz format
                 Key: ASTERISK-26638
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26638
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_clioriginate
    Affects Versions: 14.2.0, 13.4.0
         Environment: any
            Reporter: Vitaly K


For example you want to create outgoing channel and play some file for tests

You run something like 
asterisk>  channel originate Local/s at contextA application Playback file_wav16 

and you listen poor voice quality with compare of incoming call to context which do Playback( file_wav16)

core show channel report what outgoing SIP channel created in contextA  have native format slin16 and have no recode, but not optimized Local channels report something like:
side 1
  NativeFormats: (slin)
    WriteFormat: slin16
     ReadFormat: slin
 WriteTranscode: Yes (slin at 16000)->(slin at 8000)

and for side 2
  NativeFormats: (slin)
    WriteFormat: slin16
     ReadFormat: slin16
 WriteTranscode: Yes (slin at 16000)->(slin at 8000)
  ReadTranscode: Yes (slin at 8000)->(slin at 16000)

also resampling looks very bad and generates a large distortion for powerful signals 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list