On Thursday 24 July 2008 10:30:26 Jay R. Ashworth wrote:
> On Thu, Jul 24, 2008 at 09:39:42AM -0400, Doug Lytle wrote:
> > Jay R. Ashworth wrote:
> > > So I have these 4 new PRIs turning up tomorrow. Anyone have any
> > > suggestions on some dialplan that I could use to allow me to manually
> > > dial calls out over each channel for testing?
> >
> > I use:
> >
> > exten => _71NXXNXXXXXX,1,Read(ZAPLINE|conf-getchannel)
> > exten => _71NXXNXXXXXX,n,Set(CALLERID(number)=734XXXXXXX)
> > exten => _71NXXNXXXXXX,n,Dial(ZAP/${ZAPLINE}/${EXTEN:1})
> > exten => _71NXXNXXXXXX,n,NoOP(${DIALSTATUS})
> > exten => _71NXXNXXXXXX,n,NoOP(Hangup Cause: ${HANGUPCAUSE})
> > exten => _71NXXNXXXXXX,n,Hangup()
>
> Nice. I assume the Noop's capture the text in the log, then? (See?
> Told you I was fresh caught :-)
NoOp doesn't capture anything, unless you have Verbose logging turned on and
the verbose level is high enough (3 or higher). If you want direct logging,
use the Log() application in 1.6.
--
Tilghman
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users