OpenWrt Forum Archive

Topic: IAX2: No channel type registered for

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

-I installed whitherussian RC4, micro, and asterisk-1.0.7-4 on WRT54G V2.2, no problems
-SIP clients are registered ok,

at load the IAX shows:

[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
  == Manager registered action IAXpeers
  == Parsing '/etc/asterisk/iax.conf': Found
  == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
  == Using TOS bits 16
  == IAX Ready and Listening on 0.0.0.0 port 4569
  == Loaded firmware 'iaxy.bin'
  == Parsing '/etc/asterisk/iaxprov.conf': Found
    -- Loaded provisioning template 'default'

but when making a call using the channel shows:

    -- Executing Dial("SIP/2401-f938", ""IAX2/sitio1/2301"") in new stack
Jan  1 01:49:37 WARNING[1084]: channel.c:1901 ast_request: No channel type registered for '"IAX2'
Jan  1 01:49:37 NOTICE[1084]: app_dial.c:746 dial_exec: Unable to create channel of type '"IAX2'
  == Everyone is busy/congested at this time
--------------o---------------
My iax.conf

[sitio1]
username=sitio4-in
type=peer
secret=clavesitio4
host=10.196.8.150
disallow=all
allow=gsm

[sitio1-in]
type=user
secret=clavesitio1
context=from-internal
disallow=all
allow=gsm
--------------o---------------

My sip.conf

[2401]
type=friend
context=home
host=dynamic
username=2401
secret=2401
canreinvite=no
callerid=device <2401>
disallow=all
allow=ulaw
--------------o---------------

my extensions.conf

[home]
exten => _2301,1,Dial("IAX2/sitio1/2301")

--------------o---------------
my modules.conf

[modules]
autoload=yes
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
noload => pbx_dundi.so
noload => app_intercom.so
; load => chan_modem.so
noload => res_musiconhold.so
noload => chan_modem.so
noload => cdr_pgsql.so
noload => cdr_mysql.so
noload => chan_alsa.so                                         
;noload => chan_oss.so
[global]
; chan_modem.so=yes

what is happening?. Thanks.

The discussion might have continued from here.