[asterisk-users] tdm400p fxs module busy

Matt Scott matt at mgsnet.co.uk
Thu Jul 26 05:13:12 CDT 2007


Dear All

The setup is te110p with an 8 channels PRI to make and receive all calls.
SIP phones throughout the company.
TDM400p with 4 FXS modules to send/receive faxes and make credit card
transactions.

I have an analogue phone on the tdm400p for testing.
I can receive calls to the exten. There is a dialing tone.
However, when I try to make a call I get a busy signal.
Asterisk stated busy then hungup zap/32-1

why wont asterisk supply a resource from the te110p pri card for use by the tdm400p FXS (fxo signalling)?

configs below:


[root at asterisk etc]# more zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" HDB3/CCS RED
span = 1,0,0,ccs,hdb3,crc4
# termtype: te
bchan=1-8
dchan=16

# Span 2: WCTDM/0 "Wildcard TDM400P REV H Board 1"
fxoks=32
fxoks=33
fxoks=34
fxoks=35

# Global data

loadzone        = uk
defaultzone     = uk



[root at asterisk asterisk]# more zapata.conf
[trunkgroups]

[channels]

language=en
internationalprefix = 00
nationalprefix = 0
context=from-pstn
switchtype=euroisdn
pridialplan=local
priindication=outofband
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
group=1
callgroup=0
pickupgroup=0
immediate=no
echotraining=yes
echocancel=yes
echocancelwhenbridged=no
facilityenable=yes
musiconhold=default
overlapdial=yes
immediate=no
txgain=0.0
rxgain=0.0
signalling = pri_cpe
channel => 1-8

faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

signalling = fxo_ks
echocancel=yes
pulsedial=yes
channel=32-35



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


More information about the asterisk-users mailing list