I am investigating an issue with IAX2 extensions in Asterisk 1.8.x. My application connects to Asterisk via AMI and attempts to run an Originate command between an extension (such as SIP/5555 or IAX2/8888) and an application (in my case it is AgentLogin). This works correctly for SIP extensions, in all Asterisk versions. With IAX2 extensions, this worked correctly in Asterisk 1.6.2.20, but started failing sometimes in Asterisk 1.8.7, and now happens every time in Asterisk 1.8.8.1. I found out that any application (not just AgentLogin) will trigger the issue. Instead of successfully ringing the IAX2 extension, as expected, the Originate attempt just sits there. The IAX2 extension does not receive any ringing indication. I can reproduce the issue by running the following command from the Asterisk console:

originate IAX2/1099 application playback demo-congrats

This is supposed to ring the extension, and upon picking up, should play the audio file. Instead, the IAX2 extension sits idle. Also, the Asterisk console becomes unresponsive. If I try to execute any other command (such as "iax2 show threads", or even "help"), I get a prompt back but no command output. Then, after some time (the ring timeout, maybe), I get the output of all commands I issued during the hang.

When my application connects to AMI and runs the Originate command, it 
eventually gets a Hangup event, as if the extension never picked up the 
ringing. But actually the ringing never made it to the IAX2 extension.

We have noticed that the IAX2 extension itself can place calls to a SIP extension normally during the Originate hang, but it cannot receive a call from another SIP extension (Busy Here). When not attempting the Originate call, the IAX2 extension appears to behave normally.

This has been triggered in three machines to date: a big server with some 40 
IAX2 extensions, and two test machines (one physical and one virtual machine).

Before I get into a bug hunt, I would like to know: Is this a known issue? Are 
there any pointers on where to look first, or what to look for, based on my 
symptoms?

Testing with Asterisk 1.8.8.1 x86_64 and Zoiper as an IAX2 client.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to