Summary: | ASTERISK-18237: chan_h323 fails to determine IP/resolve host if host parameter is IP | ||
Reporter: | singler (singler) | Labels: | |
Date Opened: | 2011-08-07 19:50:40 | Date Closed: | 2011-09-22 04:18:40 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_h323 |
Versions: | SVN 1.8.5.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Debian Squeeze | Attachments: | ( 0) full ( 1) h323.conf |
Description: | Using fresh asterisk install with default config files except h323.conf, which will be attached. If IP address is used in chan_h323 host parameter of peer configuration, module tries to resolve IP address to IP address and fails. From the log: [Aug 8 03:43:23] DEBUG[1688] netsock2.c: Splitting '192.168.1.67' into... [Aug 8 03:43:23] DEBUG[1688] netsock2.c: ...host '192.168.1.67' and port ''. [Aug 8 03:43:23] DEBUG[1688] netsock2.c: Splitting '192.168.1.67' into... [Aug 8 03:43:23] DEBUG[1688] netsock2.c: ...host '192.168.1.67' and port ''. [Aug 8 03:43:23] ERROR[1688] netsock2.c: getaddrinfo("192.168.1.67", "(null)", ...): ai_family not supported [Aug 8 03:43:23] WARNING[1688] acl.c: Unable to lookup '192.168.1.67' [Aug 8 03:43:23] ERROR[1688] chan_h323.c: Could not determine IP for 192.168.1.67 | ||
Comments: | By: singler (singler) 2011-08-07 19:52:45.563-0500 Attaching h323.conf and asterisk log By: Gregory Hinton Nietsky (irroot) 2011-09-22 03:32:28.954-0500 related to ASTERISK-17278 ASTERISK-17500 ill commit a fix and close. |