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 :-)
Hold it: how do I specify the channel? Ah, no, I see what you're
doing. I wanted to actually dial the channel number.
I came up with this:
; dial a long-distance call; allow the user to select a Zap channel
manually
exten => _88XX1NXXNXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _88XX1NXXNXXXXXX,2,Dial(Zap/${EXTEN:3:2}-1/${EXTEN:4},30,o)
exten => _88XX1NXXNXXXXXX,3,Hangup
But I'll add the noops.
Course I have to fix the dialplan in my Poly600, too.
Cheers,
-- jra
--
Jay R. Ashworth Baylink [EMAIL PROTECTED]
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Josef Stalin)
_______________________________________________
-- 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