[asterisk-users] Help with IAX

Malcom Kemp mkemp at tecinfo.net
Wed May 30 08:35:34 MST 2007


I am attempting to use an IAX2 channel between two Asterisk systems.
This would seem to be a normal thing to do.  I actually want to trunk
traffic between the two that are in remote locations.  However, I have
started with what I think is a simple configuration, which should allow
for one way calling.  Attached are the pertinent parts of my
configuration files.  I am attempting to place a call on 192.168.253.21
to extension 105.  It seems to be routing to the IAX channel, but the
channel is being rejected by the .20 box.

 
Any help would be appreciated.

 
 
 
 
extensions.conf from 192.168.253.21:

 
;

; Create an extension, 205, for trunk

;

exten => 205,1,Dial(IAX2/tecinfo:secret at 192.168.253.20/205 at iax-trunk)

 
iax.conf from 192.168.253.21:

 
[iax-trunk]

type=peer

username=tecinfo

secret=secret

host=192.168.253.20

 
------------------------------------------------------------------------
---------------------------------------

 
extensions.conf from 192.168.253.20:

 
[iax-trunk]

exten => _205,1,Macro(voicemail,${E205})

iax.conf from 192.168.253.20:

 
 
[iax-trunk]

type=user

context=iax-trunk

username=tecinfo

secret=secret

host=192.168.253.21

 
------------------------------------------------------------------------
---------------------------------------------

 
Log from 192.168.253.21:

*CLI> [May 30 09:59:01] WARNING[27827]: chan_iax2.c:6959 socket_process:
Call rejected by 192.168.253.20: No authority found

 
Log from 192.168.253.20

*CLI> [May 30 09:59:01] NOTICE[5839]: chan_iax2.c:6754 socket_process:
Rejected connect attempt from 192.168.253.21, who was trying to reach
'205 at iax-trunk'



+++++++++++++
This e-mail was checked by the TecInfo Content Scanning Service for potentially harmful content, such as viruses or Spam For more information, call 800.863.5415 or visit www.tecinfo.net
+++++++++++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/b84afdbb/attachment-0001.htm


More information about the asterisk-users mailing list