[Asterisk-Users] Problems with registering iaxy
Tim Panton
tim at mexuar.com
Sun Apr 9 02:39:50 MST 2006
On 9 Apr 2006, at 06:04, Bartosz Wegrzyn - asterisk wrote:
> Anyone knows hot to fix that?
>
> Thanks
>
>> I used to have my iaxy registered to my old version of asterisk.
>> I switched to 1.2 ver and now registration fails.
>>
>> my config for iax.conf for that client looks like this:
>>
>> [user]
>> username=user
>> type=friend
>> context=sip
>> auth=plaintext
>> secret=password
>> host=dynamic
>> disallow=all
>> allow=ulaw
>> trunk=no
>>
>> I provisioned my iax with this config:
>> [root at voip iaxyprov]# cat iaxy
>> ;
>> ; IAXY Provisioning description
>> ;
>> ;dhcp
>> ip: 192.168.1.249
>> netmask: 255.255.255.0
>> gateway: 192.168.1.251
>> codec: ulaw
>> ;codec: adpcm
>> server: 192.168.1.251
>> ;altserver: 192.168.0.2
>> user: user
>> pass: password
>>
>>
>> When I do iax2 debug
>>
>> I see this:
>>
>> IAX2 Debugging Enabled
>> Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX
>> Subclass:
>> REGREQ
>> Timestamp: 00002ms SCall: 12640 DCall: 00000
>> [192.168.1.249:4569]
>> USERNAME : user
>> REFRESH : 60
>> DEVICE TYPE : iaxy2
>> SERVICE IDENT : 0003640005a8
>> PROVISIONG VER : 3503263220
>> voip*CLI>
>> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX
>> Subclass:
>> REGAUTH
>> Timestamp: 00012ms SCall: 00011 DCall: 12640
>> [192.168.1.249:4569]
>> AUTHMETHODS : 1
>> USERNAME : user
>> voip*CLI>
>> Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX
>> Subclass:
>> INVAL
>> Timestamp: 00000ms SCall: 12640 DCall: 00011
>> [192.168.1.249:4569]
>> Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX
>> Subclass:
>> REGREQ
>> Timestamp: 00002ms SCall: 08797 DCall: 00000
>> [192.168.1.249:4569]
>> USERNAME : user
>> REFRESH : 60
>> DEVICE TYPE : iaxy2
>> SERVICE IDENT : 0003640005a8
>> PROVISIONG VER : 3503263220
>>
>>
>> Any ideas what is wrong?
>> Does new asterisk differs in the iax2 registration?
>>
>> Thanks
>>
>> Bart
I don't have an IAXy, so I can't be sure, but it looks like your's is
rejecting asterisk's REGAUTH
message.
The REGAUTH has
AUTHMETHODS : 1
USERNAME : user
So I'm guessing that it doesn't like the AUTHMETHOD - plaintext.
try setting it to MD5 in iax.conf, it is good policy anyhow not to
send plaintext passwords.
Tim Panton
tim at mexuar.com
More information about the asterisk-users
mailing list