I’m setting up a new Asterisk 11 (11.1.2) box but am having no luck getting an older 1.4 box to register to it via IAX.
11.1.2 box logs:
ERROR[2611] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address x.x.x.x in the calltokenoptional list or setting user xxxxx requirecalltoken=no
I’ve seen the various posts on how to fix this and have followed the advice. Namely, I added custom config to the IAX Settings which caused these lines to be added to iax_general_additional.conf:
calltokenoptional=0.0.0.0/0.0.0.0
maxcallnumbers=16382
I’ve also tried adding this to the trunk definition:
requirecalltoken=no
but the problem persists! I’ve reloaded and restarted asterisk after making the changes.
What am I missing?
Trunk definition (asterisk 11 side):
[xxxx]
disallow=all
host=dynamic
type=friend
qualify=yes
trunk=yes
context=from-internal
allow=g729
username=xxxx
secret=xxxxxxxxxxxxxxxx
dtmfmode=auto
requirecalltoken=no
iax_general_additional.conf (as generated by freepbx):
mailboxdetail=yes
tos=ef
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g729
calltokenoptional=0.0.0.0/0.0.0.0
maxcallnumbers=16382
codecpriority=host
delayreject=yes
jitterbuffer=yes
maxjitterinterps=10
resyncthreshold=1000
maxjitterbuffer=200
forcejitterbuffer=no
minregexpire=60
maxregexpire=3600