What is currently happening is that both extensions ring, but only the IAX2 extension can take the call. If you try and answer on the SIP extension nothing happens.
Also I can not get the SIP extension to hangup no matter what I try. It will ring continuously until someone picks up the receiver and hangs up. Even after the IAX2 call hangs up.
I tried swapping the positions of the SIP & IAX2 extensions in the Dial() command but it didn’t do anything. Neither has any combination of options.
We are using version 1.6.1 of Asterisk. I don’t like upgrading since everything is working, but if I have to in order to get this working no problem.
I went ahead and made a simple queue with static members and oddly enough the same thing happens. The local SIP client rings but can not take the call. And it rings continuously until the receiver is reset.
{queue.conf}
[sampleq]
strategy=ringall
timeout = 60
member => SIP/100
member => IAX2/remote.host/101
I figured out my problem and the queue does in fact work.
The original IAX2 extension I was designating was in fact another macro that rings all the extensions at our remote location which of course has an Answer() statement.
I plugged in actual direct extensions and all is good.