[Home]

Summary:ASTERISK-17471: "(null)" is printed when there is no peer adress in iax2 show peers
Reporter:Johann Steinwendtner (steinwej)Labels:
Date Opened:2011-02-24 10:21:58.000-0600Date Closed:2011-07-26 14:07:38
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:1.8.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I've noticed on my asterisk test system running with version 1.8.2.4
that when I issue an 'iax2 show peers' command I 'll get like this:

voip-test*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status    
aaaaaaaaaaaaaaa  192.168.2.10    (S)  255.255.255.255  4569          UNREACHABLE
aaaaaaaaaaaaaaa  172.16.200.55   (S)  255.255.255.255  4569          UNREACHABLE
sssssssssssssss  192.168.2.21    (S)  255.255.255.255  4569          UNREACHABLE
uuuuuuuuuu/uuuu  (null)          (D)  255.255.255.255  0             UNKNOWN

Please note the "(null)"  in the host column.
On asterisk 1.6 there is a "(Unspecified)" printed.
Comments:By: Kinsey Moore (kmoore) 2011-07-26 14:05:36.633-0500

This is purely a cosmetic issue related to the netsock2 refactoring that took place long ago.  Changes in CLI output are to be expected between major versions.