Solved

Asterisk: IAX2 Help

Posted on 2007-11-16
6
281 Views
Last Modified: 2013-11-12
I have installed firefly to work with the IAX protocol. I am able to call all my sip phones soft and hard from the IAX phone but no sip phone can call the IAX phone. here is my iax.conf file snipet below


[90]
type = friend
context = default
username = 90
regextn = 90
secret=test
callerid = "Kevin" <Ext90>
host = dynamic
mailbox = 90@default
0
Comment
Question by:jonnydollar
  • 4
  • 2
6 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 20303753
From the asterisk command line can you type "iax2 show peers" while the iax software client is working.
0
 
LVL 36

Expert Comment

by:grblades
ID: 20303757
Sorry I meant while the software client is running but not in a call.
0
 

Author Comment

by:jonnydollar
ID: 20304156
here is my result


asterisk1*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status    
90/90            192.168.1.4     (D)  255.255.255.255  4569          Unmonitored
1 iax2 peers [0 online, 0 offline, 1 unmonitored]
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 36

Expert Comment

by:grblades
ID: 20304164
The client is oviously registered ok. What output is displayed in asterisk when you try and dial the extension?
0
 

Author Comment

by:jonnydollar
ID: 20304197
ok i found out what it was

1. i had a macro to create extensions from 70 - 79 via the code below. so i changed the iax.conf to a free 70 number which is now 75. and adjusted the code below to the last line and it worked.

Does that make sense or do you advise a better method?

;;;;;;;;;;;;;;OFFICE EXTENSION;;;;;;;;;;;;;;;;;;;;;;;;;;;;
EXTEN => _7x,1,Macro(normal|${EXTEN}|Sip/${EXTEN})
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

EXTEN => _7x,1,Macro(normal|${EXTEN}|Sip/${EXTEN})&IAX2/${EXTEN};
0
 
LVL 36

Accepted Solution

by:
grblades earned 500 total points
ID: 20304224
That will work fine.
It will try to dial via IAX for all 70-79 extensions but it wont cause any problems if some of them dont exist.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question