why Cut AVAILCHAN? [was: Re: [Asterisk-Dev] asterisk-ooh323c chan_h323.so coredump]

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 2 11:18:12 MST 2005


On Fri, Jul 01, 2005 at 02:48:53PM +0000, rchen wrote:

OT:

> exten => _9.,1,ChanIsAvail(H323/cnc|s)
> exten => _9.,2,Cut(theChannel=AVAILCHAN,,1)

Why use Cut(theChannel=AVAILCHAN,,1) (which may give funny results if
the channel is not Zap, IIRC) rather than simply use ${AVAILORIGCHAN} ?

This should at least make it a simple noop-equivalent for channels that
don't support ChanIsAvail . 

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list