<!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.1522" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear All</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>The setup is 
te110p with an 8 channels PRI to make and receive all calls.<BR>SIP phones 
throughout the company.<BR>TDM400p with 4 FXS modules to send/receive faxes and 
make credit card<BR>transactions.<BR><BR>I have an analogue phone on the tdm400p 
for testing.<BR>I can receive calls to the exten. There is a dialing 
tone.<BR>However, when I try to make a call I get a busy signal.<BR>Asterisk 
stated busy then hungup zap/32-1</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" 
size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>why wont 
asterisk supply a resource from the te110p pri card for use by the tdm400p FXS 
(fxo signalling)?</DIV>
<DIV><BR>configs below:<BR><BR><BR>[root@asterisk etc]# more zaptel.conf<BR># 
Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit<BR># Zaptel 
Configuration File<BR>#<BR># This file is parsed by the Zaptel Configurator, 
ztcfg<BR>#<BR><BR># It must be in the module loading order<BR><BR><BR># Span 1: 
WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" HDB3/CCS RED<BR>span = 
1,0,0,ccs,hdb3,crc4<BR># termtype: te<BR>bchan=1-8<BR>dchan=16<BR><BR># Span 2: 
WCTDM/0 "Wildcard TDM400P REV H Board 
1"<BR>fxoks=32<BR>fxoks=33<BR>fxoks=34<BR>fxoks=35<BR><BR># Global 
data<BR><BR>loadzone&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
uk<BR>defaultzone&nbsp;&nbsp;&nbsp;&nbsp; = uk<BR><BR><BR><BR>[root@asterisk 
asterisk]# more 
zapata.conf<BR>[trunkgroups]<BR><BR>[channels]<BR><BR>language=en<BR>internationalprefix 
= 00<BR>nationalprefix = 
0<BR>context=from-pstn<BR>switchtype=euroisdn<BR>pridialplan=local<BR>priindication=outofband<BR>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>group=1<BR>callgroup=0<BR>pickupgroup=0<BR>immediate=no<BR>echotraining=yes<BR>echocancel=yes<BR>echocancelwhenbridged=no<BR>facilityenable=yes<BR>musiconhold=default<BR>overlapdial=yes<BR>immediate=no<BR>txgain=0.0<BR>rxgain=0.0<BR>signalling 
= pri_cpe<BR>channel =&gt; 
1-8<BR><BR>faxdetect=both<BR>;faxdetect=incoming<BR>;faxdetect=outgoing<BR>;faxdetect=no<BR><BR>signalling 

fxo_ks<BR>echocancel=yes<BR>pulsedial=yes<BR>channel=32-35<BR><BR><BR><BR>[root@asterisk 
asterisk]# more 
extensions.conf<BR>[general]<BR>static=yes<BR>writeprotect=yes<BR>;<BR>[globals]<BR>OUTBOUND 
= Zap/g1<BR>FAX1 = Zap/32<BR>FAX2 = Zap/33<BR>STREAMLINE1 = 
Zap/34<BR>STREAMLINE2 = Zap/35<BR>CUSTSERVE1 = SIP/401 ;Teresa<BR>CUSTSERVE2 = 
SIP/402 ; Louise<BR>;CUSTSERVE3 = SIP/404 ; Helen<BR>QUAD1 = SIP/451 ; 
Matt<BR>QUAD2 = SIP/452 ; Johan<BR>CUSTSERVE = 
CUSTSERVE1&amp;CUSTSERVE1<BR>;<BR>FSEXT1 = SIP/400 ; Angela<BR>;FSEXT2 = SIP/403 
; Nigel<BR>FSEXT3 = SIP/410 ; Matt<BR>;<BR>;ELLIS = SIP/411<BR>;QUEENS = 
SIP/412<BR>;FSSHOPS = ELLIS&amp;QUEENS<BR>;<BR>QUAD = 
SIP/450<BR>;<BR>LONDONSOLE1 = SIP/421 ; Zoe<BR>;LONDONSOLE2 = SIP/422 ; 
Laura<BR>;LONDONSOLE = LONDONSOLE1&amp;LONDONSOLE2<BR>;<BR>;PRESS1 = SIP/431 ; 
Lucy<BR>;PRESS2 = SIP/432 ; Gemma<BR>;PRESSOFFICE = 
PRESS1&amp;PRESS2<BR>;<BR>[macro-oneline]<BR>exten =&gt; 
s,1,Dial(${ARG1},20,t)<BR>exten =&gt; s,2,Voicemail(u${MACRO_EXTEN})<BR>exten 
=&gt; s,3,Hangup<BR>exten =&gt; s,102,Voicemail(b${MACRO_EXTEN})<BR>exten =&gt; 
s,103,Hangup<BR>;<BR>[macro-oneline1]<BR>exten =&gt; 
s,1,Dial(${ARG1},20,t)<BR>exten =&gt; s,2,Voicemail(u${ARG2})<BR>exten =&gt; 
s,3,Hangup<BR>exten =&gt; s,102,Voicemail(b${ARG2})<BR>exten =&gt; 
s,103,Hangup<BR>;<BR>[macro-fax]<BR>exten =&gt; s,1,Dial(${ARG1},20,t)<BR>exten 
=&gt; s,3,Hangup<BR>;<BR>[default]<BR>;setupdial out<BR>include =&gt; 
from-pstn<BR>;<BR>;test dialplan<BR>exten =&gt; 
_9xxx,1,SayDigits(${EXTEN:1})<BR>;<BR>;setup the phone extensions<BR>exten =&gt; 
400,1,Macro(oneline,${FSEXT1})<BR>exten =&gt; 
401,1,Macro(oneline,${CUSTSERVE1})<BR>exten =&gt; 
402,1,Macro(oneline,${CUSTSERVE2})<BR>exten =&gt; 
410,1,Macro(oneline,${FSEXT3})<BR>exten =&gt; 
421,1,Macro(oneline,${LONDONSOLE1})<BR>exten =&gt; 
450,1,Macro(oneline,${QUAD})<BR>exten =&gt; 
451,1,Macro(oneline,${QUAD1})<BR>exten =&gt; 
452,1,Macro(oneline,${QUAD2})<BR>;<BR>exten =&gt; 
1000,1,Macro(oneline,${CUSTSERVE})<BR>;exten =&gt; 
2000,1,Macro(oneline,${FSSHOPS})<BR>;exten =&gt; 
3000,1,Macro(oneline,${PRESSOFFICE})<BR>;<BR>;record new voice files<BR>Exten 
=&gt; 501,1,Wait(2)<BR>Exten =&gt; 
501,n,Record(/tmp/asterisk-recording:gsm)<BR>Exten =&gt; 501,n,Wait(2)<BR>Exten 
=&gt; 501,n,Playback(/tmp/asterisk-recording)<BR>Exten =&gt; 
501,n,wait(2)<BR>Exten =&gt; 501,n,Hangup<BR>;<BR>;goto 
voicemail<BR>exten=&gt;*98,1,VoiceMailMain(</FONT><A 
href="mailto:${CALLERIDNUM}@${CONTEXT"><FONT face="Times New Roman" 
size=3>${CALLERIDNUM}@${CONTEXT</FONT></A><FONT face="Times New Roman" 
size=3>})<BR>;<BR>[dialphone]<BR>exten =&gt; 
888890,1,Macro(fax,${FAX1})<BR>;<BR>[from-pstn]<BR>;this is linked to 
zapata.conf and defines where the ddi points<BR>exten =&gt; 
888800,1,Dial(SIP/401&amp;SIP/402,15)<BR>exten =&gt; 
888800,2,Voicemail(1000)<BR>;<BR>exten =&gt; 
769611,1,Macro(oneline1,${FSEXT1})<BR>exten =&gt; 
769615,1,Macro(oneline1,${LONDONSOLE1})<BR>;exten =&gt; 
769616,1,Macro(oneline1,${LONDONSOLE2})<BR>exten =&gt; 
769636,1,Macro(oneline1,${FSEXT1},${401})<BR>;exten =&gt; 
769637,1,Macro(oneline1,${NIGEL})<BR>;<BR>exten =&gt; 
_9.,1,Set(CALLERID(number)=888800)<BR>exten =&gt; 
_9.,2,Dial(${OUTBOUND}/${EXTEN:1})<BR>exten =&gt; _9.,3,Congestion()<BR>exten 
=&gt; _9.,102,Congestion()<BR>;<BR>exten =&gt; 
999,1,Dial,(${OUTBOUND}/999)<BR>exten =&gt; 
9999,1,Dial,(${OUTBOUND}/999)<BR>;<BR>exten =&gt; 
888890,1,Dial(Zap/32,15)</FONT><BR></DIV></FONT></BODY></HTML>