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

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Jul 5 14:39:28 MST 2005


On Saturday 02 July 2005 13:18, Tzafrir Cohen wrote:
> 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} ?

It shouldn't.  What funny results is Cut giving you?

-- 
Tilghman



More information about the asterisk-dev mailing list