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@192.168.253.20/205@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@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
Can you send IAX.conf of both the systems Regards, Sanjay Rajdev ----- Original Message ----- From: "Malcom Kemp" <mkemp@tecinfo.net> To: asterisk-users@lists.digium.com Sent: Wednesday, 30 May, 2007 9:05:34 PM (GMT+0530) Asia/Calcutta Subject: [asterisk-users] Help with IAX _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
The IAX.CONF are both the sample configs, with the addition of the two pieces that I added and posted in the email. But here they are -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Sanjay Rajdev Sent: Wednesday, May 30, 2007 10:57 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Help with IAX Can you send IAX.conf of both the systems Regards, Sanjay Rajdev ----- Original Message ----- From: "Malcom Kemp" <mkemp@tecinfo.net> To: asterisk-users@lists.digium.com Sent: Wednesday, 30 May, 2007 9:05:34 PM (GMT+0530) Asia/Calcutta Subject: [asterisk-users] Help with IAX _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users +++++++++++++ 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 -------------- A non-text attachment was scrubbed... Name: 192.168.253.21.iax.conf Type: application/octet-stream Size: 775 bytes Desc: 192.168.253.21.iax.conf Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/9d1341ac/192.168.253.21.iax.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: 192.168.253.20.iax.conf Type: application/octet-stream Size: 846 bytes Desc: 192.168.253.20.iax.conf Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/9d1341ac/192.168.253.20.iax.obj
In both iax.conf files change [iax-trunk] to [tecinfo] the [name] in iax.conf is what is looked for when a connection is established and you're telling it to connect with tecinfo on the usernameline HTH Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 285-7200 david@safedatausa.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/0f34fd85/attachment.htm
I have made some changed to your config: extensions.conf from 192.168.253.21: ; ; Create an extension, 205, for trunk ; exten => 205,1,Dial(IAX2/ <mailto:IAX2/192.168.253.20/205@iax-trunk> tecinfo1/205) iax.conf from 192.168.253.21: [tecinfo1] type=peer username=tecinfo2 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: [tecinfo2] type=user context=iax-trunk username=tecinfo secret=secret host=192.168.253.21 Try this and respond with error messages (if any) from both systems Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 285-7200 david@safedatausa.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/7129d43d/attachment.htm