<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD></HEAD><BODY>
<DIV id=idOWAReplyText11563 dir=ltr>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV></DIV>
<DIV dir=ltr>
<DIV><FONT face=Verdana color=#000000 size=2>Hi everyone!</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Here is my configuration and messages taken from
Asterisk startup. The E1 PRI trunk is connected to our national telecom company
here in Croatia. When I call from outside over this trunk to my company I get
'error in connection' respnse. In the same moment I can't see anything in
Asterisk, nothing that will tell me that the call reached Asterisk. I think
there is a problem with PRI synchronization or PRI to zap
communication.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>The card I am using is TE410P, the first port is
the one that I use.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>/etc/zaptel.conf</FONT></DIV>
<DIV><FONT face=Verdana size=2>-----------------</FONT></DIV>
<DIV><FONT face=Verdana size=2># port 1: trunk to telecom</FONT></DIV>
<DIV><FONT face=Verdana
size=2>span=1,0,0,ccs,hdb3<BR>bchan=1-15,17-31<BR>dchan=16</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>After loading module ztcfg shows:</FONT></DIV>
<DIV><FONT face=Verdana size=2>----------------------------------</FONT></DIV>
<DIV><FONT face=Verdana size=2>[root@ceres asterisk]# /sbin/ztcfg
-v</FONT></DIV>
<DIV><FONT face=Verdana size=2>Zaptel
Configuration<BR>======================</FONT></DIV>
<DIV><FONT face=Verdana size=2>SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet
(DSX-1)</FONT></DIV>
<DIV><FONT face=Verdana size=2>31 channels configured.<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>/etc/asterisk/zapata.conf</FONT></DIV>
<DIV><FONT face=Verdana size=2>------------------------</FONT></DIV>
<DIV><FONT face=Verdana size=2>; trunk:<BR>switchtype = euroisdn<BR>signalling =
pri_cpe<BR>group = 2<BR>context = default<BR>channel =>
1-15,17-31</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>extensions.conf</FONT></DIV>
<DIV><FONT face=Verdana size=2>---------------</FONT></DIV>
<DIV><FONT face=Verdana size=2>I have demo context section included in default
context where incoming calls from PRI trunk are terminated. (When I dial from
SIP phone terminated in same default context I get the response., so I think
there is no problem with context)</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>During Asterisk startup I get this output
regarding Zap channel</FONT></DIV>
<DIV><FONT face=Verdana
size=2>---------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000000 size=2> [chan_zap.so] => (Zapata
Telephony w/PRI)<BR> == Parsing '/etc/asterisk/zapata.conf': Found<BR>Jan
31 17:04:41 WARNING[1074441696]: chan_zap.c:7552 setup_zap: Ignoring
rxwink<BR> -- Registered channel 1, PRI Signalling
signalling<BR> -- Registered channel 2, PRI Signalling
signalling<BR> -- Registered channel 3, PRI Signalling
signalling<BR> -- Registered channel 4, PRI Signalling
signalling<BR> -- Registered channel 5, PRI Signalling
signalling<BR> -- Registered channel 6, PRI Signalling
signalling<BR> -- Registered channel 7, PRI Signalling
signalling<BR> -- Registered channel 8, PRI Signalling
signalling<BR> -- Registered channel 9, PRI Signalling
signalling<BR> -- Registered channel 10, PRI Signalling
signalling<BR> -- Registered channel 11, PRI Signalling
signalling<BR> -- Registered channel 12, PRI Signalling
signalling<BR> -- Registered channel 13, PRI Signalling
signalling<BR> -- Registered channel 14, PRI Signalling
signalling<BR> -- Registered channel 15, PRI Signalling
signalling<BR> -- Registered channel 17, PRI Signalling
signalling<BR> -- Registered channel 18, PRI Signalling
signalling<BR> -- Registered channel 19, PRI Signalling
signalling<BR> -- Registered channel 20, PRI Signalling
signalling<BR> -- Registered channel 21, PRI Signalling
signalling<BR> -- Registered channel 22, PRI Signalling
signalling<BR> -- Registered channel 23, PRI Signalling
signalling<BR> -- Registered channel 24, PRI Signalling
signalling<BR> -- Registered channel 25, PRI Signalling
signalling<BR> -- Registered channel 26, PRI Signalling
signalling<BR> -- Registered channel 27, PRI Signalling
signalling<BR> -- Registered channel 28, PRI Signalling
signalling<BR> -- Registered channel 29, PRI Signalling
signalling<BR> -- Registered channel 30, PRI Signalling
signalling<BR> -- Registered channel 31, PRI Signalling
signalling<BR> == Starting D-Channel on span 1<BR> == Registered
channel type 'Zap' (Zapata Telephony Driver w/PRI)<BR> == Registered
channel type 'Tor' (Zapata Telephony Driver w/PRI)<BR> == Registered
application 'CallingPres'<BR> == Manager registered action
ZapTransfer<BR> == Manager registered action ZapHangup<BR> ==
Manager registered action ZapDialOffhook</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>If I turn on pri debugging in Asterisk CLI (pri
intense debug span 1) I get this every second:</FONT></DIV>
<DIV><FONT face=Verdana
size=2>--------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Verdana size=2>> [00 01 7f ]<BR>> Unnumbered
frame:<BR>> SAPI: 00 C/R: 0 EA: 0<BR>> TEI:
000 EA: 1<BR>> M3:
3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode
extended) ]<BR>> 0 bytes of data<BR>Sending Set Asynchronous Balanced Mode
Extended</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>The other direction, if I try to call out from
internal SIP phone:</FONT></DIV>
<DIV><FONT face=Verdana
size=2>------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Verdana size=2> -- Executing
Dial("SIP/7001-da6d", "Zap/g1/098227655") in new stack<BR>Jan 31 17:36:20
NOTICE[1256866752]: app_dial.c:527 dial_exec: <STRONG>Unable to create channel
of type 'Zap'</STRONG><BR> == Everyone is busy at this time</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>an anyone help, please!</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Tomica Crnek</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV></DIV></BODY></HTML>