My asterisk box was working great for some time but recently I made a big upgrade to the configuration files and rewrote most of them especially the dial plan.
I’ve now run into a new problem, I can make and receive calls with SIP just fine, and I can receive calls to IAX from SIP, but an outbound IAX call immediately gives off the “invalid extension” error message (Based on the reply from Zoiper). I have checked everything over a hundred times for hours and can’t figure this one out and it worked perfectly beforehand.
I should also mention for clarification that I’m using a phone to call out via sip or iax to another phone via sip or iax.
Heres my IAX config file with private info blotted out
[general]
; Binding
;bindport=4569
;bindaddr=0.0.0.0
; Security
delayreject=yes
requirecalltoken=no
; Features
srvlookup=yes
; System
language=en
; Calling Support
;bandwidth=high
disallow=all
allow=ulaw
allow=alaw
allow=gsm
; Jitter Buffer
jitterbuffer=no
forcejitterbuffer=no
; IAX2
encryption=yes
autokill=yes
; Realtime Cache
;rtcachefriends=yes
;rtsavesysname=yes
;rtupdate=yes
;rtautoclear=yes
;rtignoreregexpire=no
;Preset Options
[base](!)
type=friend
host=dynamic
context=anon-example
nat=yes
[example](!,base)
context=example
[example-user1](example)
secret=example-password
And here is some interesting code its spitting out on iax2 reload in the cli, its being authenticated just fine but that notice message wasnt there before the upgrade, now I cant get rid of it.
example> iax2 reload
== Parsing '/etc/asterisk/iax.conf': Found
-- Seeding 'example-user1' at ###.###.###.###:33345 for 60
NOTICE[19612]: iax2-provision.c:558 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
-- Registered IAX2 'example-user1' (AUTHENTICATED) at ###.###.###.###:61000
No configuration files were removed, only 1 was added in which was logger.conf
Any help is appreciated