How to configure remote IAX extensions:


#1

I’m not able to make a connection with a IAX remote extension.

A friend of mine uses softphone DIAX v0.9.15, from site laser.com/dante/

His phone is configured as follows:
Config -> Registration:
Alias 1 Asterisk (the name of my Asterisk server)
Server: 84.195.229.117 (or use: henkoegema.ftpaccess.cc)
Username: test
Pasword: test
Password: test
Context:
Register: is ticked

My Asterisk configs are:
iax.conf

[test]
type=friend
username=test
secret=test
auth=md5
host=dynamic
context=default
mailbox=1214
callerid=“Test” <1214>

extensions.conf

[default}

exten=>1214,1,Dial(IAX2/test,20,tT)
exten=>1214,2,VoiceMail(u1214@default)
exten=>1214,3,Hangup()
exten=>1214,102,VoiceMail(b1214@default)
exten=>1214,103,Hangup()

If I try to call 1214 , I get error:
Executing Dial(“SIP/1200-9b15”, “IAX2/test|20|tT”) in new stack
April 1 18:53:40 NOTICE[9020]: app_dial.c:1011 dial_exec_full: Unable to create channel of type ‘IAX2’ (cause 3 - No route to destination)

In miy router:
Name: IAX
Protocol:UDP 4569/4569
LAN Server: 192.168.123.xxx (mijn Asterisk server)

How can I see if a remote extension is really registered in my Asterisk server?
I can’t reach the extension, and the etensions can’t reach me.

When I call 1214, I get voicemail: The person at extension 1214 is on the phone…

Something is wrong in my confiiguration. (since there is no route to the destination)
But what ?

De username: test en password:test are available for testing with an IAX sofphone, call tel. nr 1206 (my internal DIAX softphone)

Gr.
Henk


#2

login to asterisk and do ‘asterisk -r’. then type ‘iax2 show registry’ to see if the extension is registered or not.