Problems with registering iaxy


#1

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@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
voipCLI>
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


#2

Hello,

I have noticed a few differences between yours and my working configuration… so here is mine:

iaxy.conf

;
; IAXY Provisioning description
;
dhcp
ip: 192.168.20.19
netmask: 255.255.255.0
gateway: 192.168.20.1
codec: ulaw
;codec: adpcm
server: 192.168.20.3
;altserver: 192.168.0.2
user: <extension#>
pass:
register

iaxy.conf configuration

[<extension#>]
username=<extension#>
type=friend
secret=
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=4569
notransfer=yes
mailbox=<extension#>@device
host=dynamic
disallow=all
context=from-internal
callerid=device <<extension#>>
allow=ulaw

Good luck