-
Notifications
You must be signed in to change notification settings - Fork 56
IAX2 registration refused w/Asterisk 13 #49
Comments
Thanks for the issue! I'll try to repro the next time I have cycles for it. |
I also wanted to add something else that might be helpful. Back when I first experienced the "registration refused" error, I searched around and found issue #36, the lack of CallToken support. You fixed this by modifying the dial() function, and that apparently worked when you tested it. But for me, WarVOX is failing in register(), before it even connects to the IAX2 server to dial anything. So maybe the most recent Asterisk version changed the protocol more, and there's a different way to do the initial registration? |
Running into the same issue. What this ever resolved ? |
Ok, figured it out... it should be type=friend and not type=user.
|
This project is no longer maintained, feel free to fork it though! |
I've recently been trying to get WarVOX (built from source a month ago) working with Asterisk (the latest version 13). Asterisk calling worked from the CLI, so I decided to make an IAX2 account for WarVOX so I could use it:
However, when I tried to wardial, Asterisk complained that the client didn't support call tokens. I tried adding "requirecalltoken=no" under the user, but Asterisk still gave the same error. Finally, I resolved it by adding "calltokenoptional=0.0.0.0/0.0.0.0" to the global IAX2 configuration.
After that, Asterisk no longer gave any errors, but WarVOX still failed to complete the call. By enabling IAX2 debugging, I was able to see what was going on:
WarVOX requests a registration, Asterisk gives it a challenge, WarVOX responds, and Asterisk rejects the registration. The MD5 sent is the hash of the password appended to the challenge, which I believe is correct. Since WarVOX appears to be doing IAX2 properly, it's quite possible that there's an issue on Asterisk's end, not WarVOX's. But I'm still reporting the issue here in case it is something with WarVOX.
The text was updated successfully, but these errors were encountered: