<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt">Dear Asterisker,<br><br>I am using java-asterisk-IAX, java based application, that implemented the IAX2 protocol.<br>I am registred with this applet to my asterisk; when i try to show iax2 peers in my asterisk, i get my status UNREACHABLE.<br><br>I have no firewall in my network; i tried qualify=3000 and still getting the same problem. I tried using zoiper and it works.<br><br>Here is the output of iax2 debugger:<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE <br> Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br>Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE <br> Timestamp: 00008ms SCall: 04243 DCall: 00000
[192.168.1.8:2345]<br>Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK <br> Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345]<br>Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL <br> Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br>Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG <br> Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345]<br>Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL <br> Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK <br>
Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345]<br>Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL <br> Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: PONG <br> Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345]<br>Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL <br> Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br>Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 001 Type: IAX Subclass: ACK <br> Timestamp: 00000ms SCall: 00000 DCall: 04243 [192.168.1.8:2345]<br>Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type:
IAX Subclass: INVAL <br> Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br><br>I tried an other time to print the output, i get as before, my asterisk sends twice the request (poke):<br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
POKE <br>
Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br>
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
POKE <br>
Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345]<br><br>It seems like asterisk does not receive the Acknowledgement in time for the first poke and resend an other poke. shall i tell asterisk to wait a period of time ?<br>if yes, how to tell asterisk to wait a period of time before resending an other request? or shall i increase the UDP session timeout? by default in my router it is set to 300<br><br>Thanks for your help<br><br><br><br></div><br>
</body></html>