<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear ,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My box has <A
href="mailto:Asterisk@home">Asterisk@home</A> 2.5 and Digium TDM04B (4 FXO), I
need to create an outbound routing like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>TDM04B</FONT></DIV>
<DIV><FONT face=Arial size=2>Channel 1 => using PSTN line
1 NXXXXXX</FONT></DIV>
<DIV><FONT face=Arial size=2>Channel 2 => using PSTN line
2 NXXNXXXXXX</FONT></DIV>
<DIV><FONT face=Arial size=2>Channel 3 => using PSTN line
3 NXXXXXX</FONT></DIV>
<DIV><FONT face=Arial size=2>Channel 4 => using PSTN line
4 1NXXXXXX</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now when I make a call the system is taking the
first line available.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for your help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>zapata.conf</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>**************************************</FONT></DIV>
<DIV><FONT face=Arial size=2>;<BR>; Zapata telephony interface<BR>;<BR>;
Configuration file</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[trunkgroups]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[channels]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>language=en<BR>context=from-pstn<BR>signalling=fxs_ks<BR>rxwink=300 ;
Atlas seems to use long (250ms) winks<BR>;<BR>; Whether or not to do distinctive
ring detection on FXO
lines<BR>;<BR>;usedistinctiveringdetection=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>usecallerid=yes<BR>hidecallerid=no<BR>callwaiting=yes<BR>usecallingpres=yes<BR>callwaitingcallerid=yes<BR>threewaycalling=yes<BR>transfer=yes<BR>cancallforward=yes<BR>callreturn=yes<BR>echocancel=yes<BR>echocancelwhenbridged=no<BR>echotraining=800<BR>rxgain=0.0<BR>txgain=0.0<BR>;group=0<BR>group=1<BR>callgroup=1<BR>pickupgroup=1<BR>immediate=no<BR>channel
=> 1<BR>channel => 2<BR>channel => 3<BR>channel => 4</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>;faxdetect=both<BR>faxdetect=incoming<BR>;faxdetect=outgoing<BR>;faxdetect=no</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>;Include genzaptelconf configs<BR>#include
zapata-auto.conf</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>;Include AMP configs<BR>#include
zapata_additional.conf</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV>****************************************</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>zaptel.conf</DIV>
<DIV> </DIV>
<DIV># Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
<BR>fxsks=1<BR>fxsks=2<BR>fxsks=3<BR>fxsks=4</DIV>
<DIV> </DIV>
<DIV># Span 2: ZTDUMMY/1 "ZTDUMMY/1 1" </DIV>
<DIV> </DIV>
<DIV># Global data</DIV>
<DIV> </DIV>
<DIV>loadzone = us<BR>defaultzone =
us<BR>***********************************************</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BODY></HTML>