[asterisk-bugs] [JIRA] (ASTERISK-26822) pjsip/cli_commands: pjsip show channelstats shows wrong codec

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Feb 27 10:47:10 CST 2017


Kevin Harwell created ASTERISK-26822:
----------------------------------------

             Summary: pjsip/cli_commands: pjsip show channelstats shows wrong codec
                 Key: ASTERISK-26822
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26822
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 14.3.0, 13.14.0
            Reporter: Kevin Harwell


No matter what codec is used on a channel, _pjsip show channelstats_ always shows "ulaw" as the codec. For instance if the endpoint is configured and negotiates opus the following is the output after running the command:
{noformat}
162-00000000       00:00:06 ulaw      292       0    0   0.000    292       0    0   0.001   0.000
{noformat}

After looking in /channels/pjsip/cli_commands it appears the payload number is hard coded to "0".



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



More information about the asterisk-bugs mailing list