Hi all,

I'm working on a setup for a small office.  I'd like to use SIP/iconnecthere
most of the time, because they're cheap.  But they only allow a single call. 
When the single iconnecthere line is in use, I'd like to use IAX2/voicepulse
instead:

exten => _1NXXNXXXXXX,1,Dial,SIP/[EMAIL PROTECTED]
exten => _1NXXNXXXXXX,2,Dial,IAX2/[EMAIL PROTECTED]/${EXTEN}

Well, it's not working because iconnecthere actually picks up the second call
and plays a message.  So nothing ever gets to line 2 above.  I got quite
excited when I saw the sip.conf option:

outgoinglimit=1

Which one might expect would prevent 2 concurrent calls on iconnect.  But that
doesn't seem to have any effect.

So I've been wondering if there is another way.  I guess I could spawn a
system command that goes and looks at the current SIP connections.  But that
seems a bit desperate, not to mention prone to race conditions.

Any ideas?

Thanks.
--
James Bowman
http://acelere.net

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to