Asterisk information page

I like it. I note it is correctly diagnosing the number of trunks, but it showing 3 phones, and I have two (IAXy to the house cordless, and a SNOM 300). I used to use a softphone as extension 201, the house is 200, and the snom is 202. Is it possible there is a range check that is wrong there? (e.g. assuming 201 must also be there?)

it takes all ‘sip show peers’ and ‘iax show peers’, it ignores any that don’t show IP addresses. It then takes all ones that match a trunk and count them as trunks and the rest are counted as phones. If you have an IP address showing, which could be related to a device setting, it is going to assume it is online.

does that account for what you are seeing? If not - paste the sip show peers and iax2 show peers output here.

I’m not sure. I have 4 trunks, and that is being correctly reported. But, there are actually 5 entries for trunks in ‘sip show peers’, since the input and output for my DID are separate entries. I wonder if one of those is being counted as a phone? Here is output:

sphinx*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
voipstreet/dswartz-463176 5060 OK (31 ms)
VOIPO_in/508481xxxx 5060 OK (59 ms)
VOIPO/508481xxxx 5060 OK (59 ms)
vitel-outbound/danswartz 5060 OK (65 ms)
callcentric/1777293xxxx 5060 OK (29 ms)
202/202 D 2051 OK (44 ms)

sphinx*CLI> iax2 show peers
Name/Username Host Mask Port Status
200 (D) 4569 OK (1 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]


probably - I’d post a bug (assign it to gregmac) indicating that the trunk count does not seem correct, since trunks are only named based on the first trunk even though they create two entries and both could be peers (vs. user) depending on a config…

ticket created.