Unable to register device

I changed AMPEXTENSIONS to =deviceanduser in /etc/amportal.conf so that I could associate more than 1 device (a sip device and iax softphone) with one extension and now I can’t register my softphone. If I change AMPEXTENSIONS back to =extensions then everything works fine.

This is the following configuration I have for my Idefisk softphone:

Host: domain name
User: extension #
Password: user password

When I enable IAX2 debug and try to register my phone I get the following output:

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 26298 DCall: 00000 [IPADDRESS:4569]
USERNAME : 8600
REFRESH : 300

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ
Timestamp: 00010ms SCall: 00002 DCall: 26298 [IPADDRESS:4569]
CAUSE : Registration Refused
CAUSE CODE : 29

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 26298 DCall: 00000 [IPADDRESS:4569]
USERNAME : 8600
REFRESH : 300

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 00002 DCall: 26298 [IPADDRESS:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00010ms SCall: 26298 DCall: 00002 [IPADDRESS:4569]

Any suggestions on how to fix this?

Thanks.

I don’t know what gui you are using but my guess would be to post your question on the forum for that gui.