[Asterisk-Users] Using ChanIsAvail and SIP

Chris Mason (Lists) lists at masonc.com
Tue May 9 04:56:19 MST 2006


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/${EXTEN}@voxee

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: netconcepts_anguilla at yahoo.com 


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




More information about the asterisk-users mailing list