Solved

Asterisk: IAX2 Help

Posted on 2007-11-16
6
277 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
So you think no one can listen in on your VOIP conversations, eh? Well... if you haven't setup Secure Real Time Transport (SRTP), your voice communications can be hacked into by just about anyone! First, let's talk about the intended audience for…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now