Summary: | ASTERISK-09653: Peer status is alway unknown | ||
Reporter: | Ronaldo Z. Afonso (rafonso) | Labels: | |
Date Opened: | 2007-06-11 19:35:47 | Date Closed: | 2007-06-15 11:52:38 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I've configured two asterisk peers (both with dynamic IP addresses) as a trunk. The following is the trunk section in my iax.conf file: [ata] type=friend username=sp secret=spata auth=plaintext host=ata.no-ip.org context=incoming peercontext=incoming qualify=yes trunk=yes As I'm using dynamic IP address I had to set the file: /etc/asterisk/dnsmgr.conf as: [general] enable=yes refreshinterval=3 After a reboot I CAN make calls using the trunk, but issuing "iax2 show peers" in the CLI the following is shown: darkstar*CLI> iax2 show peers Name/Username Host Mask Port Status ronaldo (Unspecified) (D) 255.255.255.255 0 UNKNOWN sp/ata 201.26.67.102 (S) 255.255.255.255 4569 (T) UNKNOWN 2 iax2 peers [0 online, 2 offline, 0 unmonitored] Allthough I CAN make calls, the Status is UNKNOWN and asterisk shows 2 iax2 peers as "OFFLINE". ****** ADDITIONAL INFORMATION ****** The process of looking up the peers is working OK because if some of the peers change its IP address the other peer will get the change via "DNS". I could see it using "tcpdump". At each 30 seconds a lookup is performed. If I manually issue a "iax2 reload", asterisk starts sending POKE and the peer starts being "qualified" again. | ||
Comments: | By: Joshua C. Colp (jcolp) 2007-06-15 11:52:38 This has already been fixed in 1.4 as of revision 68370. |