[asterisk-users] IAX2 register refuse but Dial cmd works!
Ma Zhiyong
mazhiyong at sohu.com
Wed Sep 20 05:19:34 MST 2006
Hi, I just set two asterisk connect with iax2 trunk.
B server
[user1]
type=user
trunk=yes
context=from-trunk
username=user1
auth=plaintext
secret=passwd
notransfer=yes
A server
register => user1:passwd at x.x.x.x
I notice on A's CLI, it shows "Registration of 'user1' rejected: 'Registration Refused' from: 'x.x.x.x'". I also use "iax2 show registry" it say "Unregistered".
But when I use dial cmd: Dial(iax2/user1:passwd at B/${exten},30,), I can call the extension normally.
What's wrong? Why can't I register to B server?
More information about the asterisk-users
mailing list