Hello,
I recently extended our Asterisk setup to use IAX2 soft phones. The one that we are using is idefisk. After initial configuration, I have managed to make it work in one direction. I can call any extension from idefisk. However, when someone calls the extension assigned to my idefisk, the person is immediately routed to voicemail. When I observe Asterisk messages, I see the following error:
Jul 18 18:20:53 WARNING[17724]: channel.c:2538 ast_request: No channel type registered for ’ IAX2’
Jul 18 18:20:53 NOTICE[17724]: app_dial.c:1040 dial_exec_full: Unable to create channel of type ’ IAX2’ (cause 66 - Channel not implemented)
Obviously, I need to add more configuration settings to make this work. However, I am not sure where I must add these settings.
Here are my current settings (for extension 281). I would appreciate if if someone can point me in the right direction.
Thank you in advance for your help.
Pradeep
********** iax.conf *********
[281]
type=friend
username=281
secret=mysecret
context=fromiaxtrusted
host=dynamic
callerid=Pradeep
auth=md5
********* extensions.conf ******
[fromciscophone]
ignorepat => 9
exten => *86,1,Answer()
exten => *86,2,Wait(.5)
exten => *86,3,VoiceMailMain()
exten => 281, 1, Macro(stdexten, IAX2/${EXTEN}) ; Pradeep
exten => _1XX,1,Macro(stdexten,SIP/${EXTEN})
[default]
include => internalextensions
[internalextensions]
exten => 101,1,Macro(stdexten,SIP/101)
exten => 102,1,Macro(stdexten,SIP/102)
blah
exten => 281,1,Macro(stdexten,IAX2/191) ; Pradeep