[asterisk-bugs] [JIRA] (ASTERISK-14595) snmp SubAgent does not return channel count for SIP tech

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue May 23 12:10:58 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-14595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright closed ASTERISK-14595.
----------------------------------

    Resolution: Cannot Reproduce

There is no longer any code in {{agent.c}} that resembles the problematic check that you pointed out. If you are able to reproduce this in Asterisk 13 or newer, please feel free to reopen.

> snmp SubAgent does not return channel count for SIP tech
> --------------------------------------------------------
>
>                 Key: ASTERISK-14595
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-14595
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Resources/res_snmp
>            Reporter: Grigoriy Puzankin
>            Severity: Minor
>
> When requesting list of channel types and their info ASTERISK-MIB::astChanTypeChannels.x entry returns 0 for SIP channels. However it works for other channel types.
> ****** ADDITIONAL INFORMATION ******
> There's a line of code where the comparison is done.
> res/snmp/agent.c:572: if (chan->tech == tech)
> If I add "->type" for each of "tech" then snmp SubAgent returns count for SIP channels. I don't know if this could be a solution, may be the problem is in SIP module.



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



More information about the asterisk-bugs mailing list