IAX Trunking Stopped Working


I administer a group of Asterisk servers running a mix of 10.3, 10.4, and (mostly 10.4). One of those servers is a call concentrator/relay for E911 service. All of the other servers make an IAX connection to the relay server, which then hands off to a SIP trunk to my E911 provider. It all worked as recently as 2 weeks ago, but I discovered that sometime between then and now it stopped working without any explanation. Last modified time on the config files is over 2 months ago. The setup is as follows: On the call relay (IAX "receiver")…

Asterisk Users 3.3 years ago 2 Answers

IAX Trunk issue.


I'm testing a few IAX trunk scenarios in a controlled lab. From server2 extension 5000 (Server IP Address I dial 6001 which goes across the IAX trunk to server 1 (IP address Instead of ringing the 6001 phone, it plays tt-weasels (the s extension). When I dial 6099 it also plays tt-weasels as it's supposed to, but it's not the tt-weasels under its extension. It also dials the s extension. I only placed the s extension in the dial plan to verify that the traffic was going across the IAX trunk and hitting the correct context. Any help…

Asterisk Users 3.3 years ago 1 Answer

IAX ATA can't register


I have an ATCOM ATA that is trying to connect to an asterisk server using IAX. The ATA and Asterisk are on the same subnet, not firewall/nat etc. Below is a a log excerpt, showing the REGREQ received, and then Asterisk goes on to send lots of REGAUTH...and this continues for a while, but the ATA is never registered (iax2 show peers shows not registered). Any help would be appreciated. It sure LOOKS like a lot of TX for very few RX frames...so my first guess was network related but I'm not making any progress with that theory Thanks

Asterisk Users 3.4 years ago 0 Answers

Remote crash vulnerability in IAX2 channel driver.


Asterisk Project Security Advisory - AST-2012-007 Product Asterisk
Summary Remote crash vulnerability in IAX2 channel driver.
Nature of Advisory Remote crash
Susceptibility Established calls
Severity Moderate
Exploits Known No
Reported On March 21, 2012
Reported By mgrobecker
Posted On May 29, 2012
Last Updated On May 29, 2012
Advisory Contact Richard Mudgett < rmudgett AT digium DOT com >
CVE Name CVE-2012-2947 Description A remotely exploitable crash vulnerability exists in the
IAX2 channel driver if an established call is placed on
hold without a suggested music class.…

Asterisk Users 3.4 years ago 0 Answers

IAX2 passing back and forth variables


Hi all, I have two asterisk servers A and B. And I would like from A, dial to B passing some IAX variables. Then B handles the calls, setup some other variables that become available
to A which can continue. So far, I have used IAXVAR function. It works when sending call from A to B But variables setup on B are not available on A. Any idea how I can do it ? Here are my dialplans. +++++++++++ SERVER A +++++++++++ [contextA] exten => s,1,Set(IAXVAR(TESTVAR1)=abcd) exten => s,n,Dial(IAX2/serverb/s,30,g) exten => s,n,Noop( The out variable is : ${IAXVAR(TESTVAR2)} )…

Asterisk Users 3.4 years ago 4 Answers

CallerId back to incoming


I'm currently doing some testing with Asterisk ( on RHEL6
using realtime for sippeers, sipusers and musiconhold I have Avaya definity < -> PRI E1 < -> Asterisk 1 < -> IAX2 < -> Asterisk
2 I have peers (sip) snom 821s on both Asterisk 1 and 2 all calls working
between all systems. CallerID from Asterisk to Avaya is working correctly. The problem is a caller from Avaya to Asterisk displays correctly the
CID of the Asterisk Extension to the calling party on the Avaya but only
if the peer is on Asterisk…

Asterisk Users 3.5 years ago 0 Answers

Looking for IAX trunk/DID to replace Junction Networks


I received an email today from Junction Networks that they are
substantially increasing their monthly fee to the point that I'd be
cheaper getting a line from my local phone company. I'm now looking
for a replacement US carrier that supports IAX2. I'm a home user and only need a single DID - preferably a local number
and only use a couple of hundred minutes of calls a month. All I need
is reasonably priced inbound and outbound IAX2 trunking, preferably
with the ability to set my CID. If anyone has a low cost…

Asterisk Users 3.5 years ago 4 Answers

Unable to create channel of type 'IAX2' (cause 20 - Unknown)


I have two asterisk servers connected via iax.
home_server < => IAX2 < => clinic_server I'm just testing, calling from "home_server" via "clinic_server" but I'm getting an error message:
Call gets through to "clinic_server" but will not call back. Dial("IAX2/home_server-957", "IAX2/home_server/218,30,rw") in new stack
[Apr 14 16:59:45] WARNING[27870]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)

Asterisk Users 3.5 years ago 9 Answers

"Unexpected command after page received..."


I'm setting up res_fax to use with an iax provider. I'm calling over
PSTN to the provider. When I stand at our fax machine (Brother), I can
see the call come in, and it appears to set up correctly. What is odd,
however, is that asterisk drops off while the fax machine is still
sending. I've lowered the baud rate to 9600, it's a single page fax.
After less than 10 seconds asterisk stops receiving the fax, but the
machine continues sending for another 20 seconds or so. ReceiveFAX("IAX2/FaxIAX-4579",
"/var/spool/asterisk/fax/20120317_1820.tif,df") in new stack

Asterisk Users 3.6 years ago 1 Answer

better timing source for an asterisk gateway


Hi, I have to make an asterisk gateway in front of several other asterisk.
This gateway will essentialy be used for outbound call.
This gateway will be connected to other asterisk by IAX trunk, outbound
call will use SIP trunk (voip provider or patton isdn).
I have a TE220BF available than i can use for dahdi timing source. Is a
good idea, or this will give me zero benefit for timerfd timing source
(will host this gateway on debian squeeze or centos 6.2) ? Thanks.

Asterisk Users 3.7 years ago 1 Answer