I am having a problem using a
voip.ms IAX connection. Outbound calls work fine. Inbound calls generate the following error message with the default Askozia configuration (this is with the latest version of Askozia, earlier versions had the same problem too):
asterisk[1360]: NOTICE[1403]: chan_iax2.c:10399 in socket_process: Host 64.120.22.242 failed to authenticate as voipms
I have traced the problem to the text within the square brackets of iax.conf:
; voipms - incoming
[subaccount_username]
type=user
auth=plaintext
...
By default Askozia places the IAX username of the account in the square brackets. This works fine for another provider of mine (and with CallWithUs when they offered IAX) but it seems like voip.ms only accepts "[voipms]" which I found in their configuration samples. When I changed the above from the automatically filled in IAX username to "voipms" incoming calls then worked as expected.
I don't know much about the nuts and bolts of Asterisk but since other providers work I'm thinking this is a voip.ms bug. I thought I would ask the experts just to make sure before I file a report with them.