[asterisk-users] Acceptance testing of a new PRI

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Jul 24 10:37:19 CDT 2008


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



More information about the asterisk-users mailing list