I am trouble finding a configuration that works for ChanIsAvail and SIP. My two providers are Voxee and Teliax.

I have these lines in a macro
exten => s,n,ChanIsAvail(SIP/teliax&SIP/voxee)
exten => s,n,Cut(CH=AVAILCHAN,-,1)
exten => s,n,NoOp(AVAILCHAN= ${CH})
; Dial the available Channel
exten => s,n,Dial(${CH}/${ARG1},60,t)

Looking at the execution, I can see what the AVAILCHAN variable returns

Executing NoOp("SIP/1001-9906", "AVAILCHAN= SIP/teliax") in new stack

However, in order to send a SIP call to Voxee, I have to use the configuration

SIP/[EMAIL PROTECTED]

and I can't see how to do that. SIP/teliax/${EXTEN} works with teliax but not voxee.

--
Chris Mason
NetConcepts
(264) 497-5670 Fax: (264) 497-8463
Int:  (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271
Cell: 264-235-5670
Yahoo IM: [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to