Just like the topic says, we can't listen in on calls. I've spent the past 6h troubleshooting this and I still can't figure it out.
Using Asterisk: 1.4.39.1 with Vicidial: 2.6b0.5
Here's what I have so far:
iax2 show peers
ASTblind (Unspecified) (D) 255.255.255.255 0 UNKNOWN
ASTloop (Unspecified) (D) 255.255.255.255 0 UNKNOWN
iax2 show registry
127.0.0.1:41569 N ASTblind <Unregistered> 60 Request Sent
127.0.0.1:40569 N ASTloop <Unregistered> 60 Request Sent
ip_relay is running properly:
ps auxww | grep "ip_relay"
root 29407 0.0 0.0 1684 592 pts/3 S 08:13 0:00 ip_relay 40569 127.0.0.1 4569 9999999
root 29408 0.0 0.0 1684 584 pts/3 S 08:13 0:00 ip_relay 41569 127.0.0.1 4569 9999999
netstat -tunle | grep "569"
tcp 0 0 0.0.0.0:40569 0.0.0.0:* LISTEN 0 345978
tcp 0 0 0.0.0.0:41569 0.0.0.0:* LISTEN 0 345979
udp 0 0 0.0.0.0:4569 0.0.0.0:* 0 349225
udp 0 0 0.0.0.0:41569 0.0.0.0:* 0 345980
udp 0 0 0.0.0.0:40569 0.0.0.0:* 0 345981
telnet localhost 40569
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
There is no firewall blocking the way.
doing an IAX2 debug in Asterisk CLI I see the following:
[Oct 2 14:16:16] Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
[Oct 2 14:16:16] Timestamp: 00019ms SCall: 00367 DCall: 00000 [127.0.0.1:41569]
[Oct 2 14:16:16] USERNAME : ASTblind
[Oct 2 14:16:16] REFRESH : 60
[Oct 2 14:16:16]
[Oct 2 14:16:16] Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
[Oct 2 14:16:16] Timestamp: 00019ms SCall: 03920 DCall: 00000 [127.0.0.1:40569]
[Oct 2 14:16:16] USERNAME : ASTloop
[Oct 2 14:16:16] REFRESH : 60
[Oct 2 14:16:16]
[Oct 2 14:16:16] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
[Oct 2 14:16:16] Timestamp: 00019ms SCall: 00367 DCall: 00000 [12.34.56.78:46387]
[Oct 2 14:16:16] USERNAME : ASTblind
[Oct 2 14:16:16] REFRESH : 60
[Oct 2 14:16:16] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
[Oct 2 14:16:16]
[Oct 2 14:16:16] Timestamp: 00019ms SCall: 03920 DCall: 00000 [12.34.56.78:43891]
[Oct 2 14:16:16] USERNAME : ASTloop
[Oct 2 14:16:16] REFRESH : 60
That's it, it never goes beyond the REGEQ phase. What I see is that it Transmits the REGREQ to 127.0.0.1 and Asterisk sees that it received a REGREQ from the public IP of the box. Nothing after that at all. I have authdebug enabled in iax.conf and there are no more details either.
Any clues ?
Thank you!