I had a working 1.0.9 asterisk installation and tried to get a Firefly IAX phone to register, but it was failing. I upgraded to asterisk 1.2.5 and the PBX is working fine, but the IAX phone still won't connect. Below is my iax.conf and the output from setting iax2 debug while the phone tries to connect. Could somebody please give me some pointers? This doesn't seem to be a normal loging failed type scenario. Thanks. ---------------------------------- iax.conf: [general] bandwidth=low disallow=lpc10 iaxcompat=yes jitterbuffer=no tos=lowdelay [guest] type=user context=default callerid="Guest IAX User" [iaxtel] type=user context=default auth=rsa inkeys=iaxtel [iaxfwd] type=user context=default auth=rsa inkeys=freeworlddialup [hayley] type=friend secret=hayley host=dynamic context=default callerid "Hayley" <100> permit=192.168.0.0/255.255.255.0 -------------------------------------------------------- outout from iax2 debug while phone is trying to connect: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00003ms SCall: 00010 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 193147468 USERNAME : hayley Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00057ms SCall: 00010 DCall: 22458 [192.168.2.1:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00003ms SCall: 22458 DCall: 00010 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00013ms SCall: 00011 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 655928107 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00057ms SCall: 22458 DCall: 00010 [192.168.2.1:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00013ms SCall: 22458 DCall: 00011 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00010ms SCall: 00012 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 513397457 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00010ms SCall: 22458 DCall: 00012 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00011ms SCall: 00013 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 627877344 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00011ms SCall: 22458 DCall: 00013 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00010ms SCall: 00014 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 999847355 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00010ms SCall: 22458 DCall: 00014 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00011ms SCall: 00015 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 209605816 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00011ms SCall: 22458 DCall: 00015 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00014ms SCall: 00016 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 162645958 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00014ms SCall: 22458 DCall: 00016 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00014ms SCall: 00017 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 244386727 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00014ms SCall: 22458 DCall: 00017 [192.168.2.1:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] USERNAME : hayley REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00015ms SCall: 00018 DCall: 22458 [192.168.2.1:4569] AUTHMETHODS : 3 CHALLENGE : 177905319 USERNAME : hayley Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00015ms SCall: 22458 DCall: 00018 [192.168.2.1:4569]
On 10 Mar 2006, at 21:25, Michael van Rooyen wrote:> I had a working 1.0.9 asterisk installation and tried to get a > Firefly IAX phone to register, but it was failing. I upgraded to > asterisk 1.2.5 and the PBX is working fine, but the IAX phone still > won't connect. Below is my iax.conf and the output from setting > iax2 debug while the phone tries to connect. Could somebody please > give me some pointers? This doesn't seem to be a normal loging > failed type scenario. Thanks. > > [hayley] > type=friend > secret=hayley > host=dynamic > context=default > callerid "Hayley" <100> > permit=192.168.0.0/255.255.255.0 > > -------------------------------------------------------- > outout from iax2 debug while phone is trying to connect: > > Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX > Subclass: REGREQ > Timestamp: 00000ms SCall: 22458 DCall: 00000 [192.168.2.1:4569] > USERNAME : hayley > REFRESH : 1800You are only allowing Hayley to come from 192.168.0.0/255.255.255.0 but the rx packet is from 192.168.2.1 Asterisk is saying 2 != 0 Tim Panton tim@mexuar.com