[asterisk-users] Peer status unreachable/problem in IAX packets

Adil Zaaraoui adilzeaaraoui at yahoo.fr
Sat Jun 19 18:12:31 CDT 2010


Dear Asterisker,

I am using java-asterisk-IAX, java based application, that implemented the IAX2 protocol.
I am registred with this applet to my asterisk; when i try to show iax2 peers in my asterisk, i get my status UNREACHABLE.

I have no firewall in my network; i tried qualify=3000 and still getting the same problem. I tried using zoiper and it works.

Here is the output of iax2 debugger:

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: POKE   
   Timestamp: 00008ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: POKE   
   Timestamp: 00008ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: ACK    
   Timestamp: 00008ms  SCall: 00000  DCall: 04243 [192.168.1.8:2345]
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL  
   Timestamp: 00000ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: PONG   
   Timestamp: 00008ms  SCall: 00000  DCall: 04243 [192.168.1.8:2345]
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL  
   Timestamp: 00000ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK    
   Timestamp: 00008ms  SCall: 00000  DCall: 04243 [192.168.1.8:2345]
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL  
   Timestamp: 00000ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: PONG   
   Timestamp: 00008ms  SCall: 00000  DCall: 04243 [192.168.1.8:2345]
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL  
   Timestamp: 00000ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 001 Type: IAX     Subclass: ACK    
   Timestamp: 00000ms  SCall: 00000  DCall: 04243 [192.168.1.8:2345]
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL  
   Timestamp: 00000ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]

I tried an other time to print the output, i get as before, my asterisk sends twice the request (poke):
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
POKE   
   Timestamp: 00008ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
POKE   
   Timestamp: 00008ms  SCall: 04243  DCall: 00000 [192.168.1.8:2345]

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 ?
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

Thanks for your help


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100619/bfd27c9f/attachment.htm 


More information about the asterisk-users mailing list