Asterisk 13 IAX And MoH Realtime

Home » Asterisk Users » Asterisk 13 IAX And MoH Realtime
Asterisk Users No Comments

Asterisk 13.9.1 seems to be ignoring my realtime IAX
configuration. I have carried this configuration over from version 1.8
and it worked until 13.7 at least. The config mapping is done:

pbxoficina*CLI> core show config mappings Config Engine: mysql
===> ps_contacts (db=general, table=ps_contacts)
===> ps_endpoint_id_ips (db=general, table=ps_endpoint_id_ips)
===> ps_domain_aliases (db=general, table=ps_domain_aliases)
===> ps_aors (db=general, table=ps_aors)
===> ps_auths (db=general, table=ps_auths)
===> ps_endpoints (db=general, table=ps_endpoints)
===> musiconhold (db=general, table=musiconhold)
===> queues (db=general, table=queues)
===> iaxpeers (db=general, table=iaxfriends)
===> iaxusers (db=general, table=iaxfriends)
===> voicemail (db=general, table=voicemail)
===> chan_dahdi.conf (db=general, table=ast_config)
===> extensions.conf (db=general, table=ast_config)

Except for IAX and MoH everything else is working. I can get my dialplan from realtime static, pjsip is loading all endpoints, auths and aors, etc. I do not get any errors while loading Asterisk and even unloading and reloading the module does not indicate any problem:

pbxoficina*CLI> module unload chan_iax2.so Unloaded chan_iax2.so
Unloading chan_iax2.so
== Unregistered custom function IAXPEER
== Unregistered custom function IAXVAR
== Manager unregistered action IAXpeers
== Manager unregistered action IAXpeerlist
== Manager unregistered action IAXnetstats
== Manager unregistered action IAXregistry
== Unregistered application ‘IAX2Provision’
== Unregistered channel type ‘IAX2’
pbxoficina*CLI> module load chan_iax2.so Loaded chan_iax2.so
== Parsing ‘/etc/asterisk/iax.conf’: Found
== Parsing ‘/etc/asterisk/users.conf’: Found
== Binding IAX2 to default address 0.0.0.0:4569
== Registered application ‘IAX2Provision’
== Registered custom function ‘IAXPEER’
== Registered custom function ‘IAXVAR’
== Manager registered action IAXpeers
== Manager registered action IAXpeerlist
== Manager registered action IAXnetstats
== Manager registered action IAXregistry
== Registered channel type ‘IAX2’ (Inter Asterisk eXchange Driver
(Ver 2))
== 10 helper threads started
== IAX Ready and Listening
== Parsing ‘/etc/asterisk/iaxprov.conf’: Found
— Loaded provisioning template ‘default’
Loaded chan_iax2.so => (Inter Asterisk eXchange (Ver 2))

MoH has the same problem, I cannot see any of the classes I set up from the database, only what is in the text file. I remember IAX
working in Asterisk 13.7.2 but MoH has been broken since 13 came out.