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 assume I'd have to make a separate group for each channel in the /etc/asterisk/zapata.conf? Or could I just specify the channel number directly in the dialplan and make 24 trunkgroups there with a dialpattern for each one? (I know enough to be dangerous, but not quite enough to implement without a little help. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com 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)
On Thu, Jul 24, 2008 at 09:23:44AM -0400, 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 assume I'd have to make a separate group for each channel in the > /etc/asterisk/zapata.conf? Or could I just specify the channel number > directly in the dialplan and make 24 trunkgroups there with a > dialpattern for each one? (I know enough to be dangerous, but not > quite enough to implement without a little help. :-)What's wrong with plain old Zap/NN ? [test] exten => _6XXX.,1,Dial(Zap/{EXTEN:1:3}/${EXTEN:4}) Now call 6<chan_num><number-to-dial> in context test. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
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() Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."