<HTML>
<HEAD>
<TITLE>Re: [asterisk-users] Asterisk and Siemens Legacy PBX</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi<BR>
<BR>
Small progress, though combining the suggest below, enabling overlapdial and a few other things I have got the following :<BR>
<BR>
When you hit 9 on the simenes, you hear a dial tone. As soon as you hit another number to start dialling it complains with some generic error on the siemens handset. What I see from asterisk at the same time....<BR>
<BR>
-- Starting simple switch on 'Zap/62-1'<BR>
-- Accepting overlap call from '697000' to '<unspecified>' on channel 0/31, span 2<BR>
-- Hungup 'Zap/62-1'<BR>
<BR>
corp-phones-1*CLI> pri show span 2<BR>
Primary D-channel: 47<BR>
Status: Provisioned, Up, Active<BR>
Switchtype: EuroISDN<BR>
Type: Network<BR>
Window Length: 0/7<BR>
Sentrej: 0<BR>
SolicitFbit: 0<BR>
Retrans: 0<BR>
Busy: 0<BR>
Overlap Dial: -1<BR>
T200 Timer: 1000<BR>
T203 Timer: 10000<BR>
T305 Timer: 30000<BR>
T308 Timer: 4000<BR>
T313 Timer: 4000<BR>
N200 Counter: 3<BR>
<BR>
And the debug from the pri span 2....<BR>
<BR>
< Protocol Discriminator: Q.931 (8) len=29<BR>
< Call Ref: len= 2 (reference 1/0x1) (Originator)<BR>
< Message type: SETUP (5)<BR>
< [04 03 80 90 a3] <BR>
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)<BR>
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)<BR>
< Ext: 1 User information layer 1: A-Law (35)<BR>
< [18 03 a1 83 9f] <BR>
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred Dchan: 0<BR>
< ChanSel: Reserved<BR>
< Ext: 1 Coding: 0 Number Specified Channel Type: 3<BR>
< Ext: 1 Channel: 31 ]<BR>
< [6c 08 01 80 36 39 37 30 30 30]<BR>
< Calling Number (len=10) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<BR>
< Presentation: Presentation permitted, user number not screened (0) '697000' ]<BR>
< [7d 02 91 81]LI> <BR>
< IE: High-layer Compatibility (len = 4)<BR>
-- Making new call for cr 1<BR>
-- Processing Q.931 Call Setup<BR>
-- Processing IE 4 (cs0, Bearer Capability)<BR>
-- Processing IE 24 (cs0, Channel Identification)<BR>
-- Processing IE 108 (cs0, Calling Party Number)<BR>
-- Processing IE 125 (cs0, High-layer Compatibility)<BR>
> Protocol Discriminator: Q.931 (8) len=14<BR>
> Call Ref: len= 2 (reference 1/0x1) (Terminator)<BR>
> Message type: SETUP ACKNOWLEDGE (13)<BR>
> [18 03 a9 83 9f] <BR>
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0<BR>
> ChanSel: Reserved<BR>
> Ext: 1 Coding: 0 Number Specified Channel Type: 3<BR>
> Ext: 1 Channel: 31 ]<BR>
> [1e 02 81 82]LI> <BR>
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)<BR>
> Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]<BR>
-- Starting simple switch on 'Zap/62-1'<BR>
-- Accepting overlap call from '697000' to '<unspecified>' on channel 0/31, span 2<BR>
< Protocol Discriminator: Q.931 (8) len=9<BR>
< Call Ref: len= 2 (reference 1/0x1) (Originator)<BR>
< Message type: INFORMATION (123)<BR>
< [70 02 81 39]LI> <BR>
< Called Number (len= 4) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '9' ]<BR>
-- Processing IE 112 (cs0, Called Party Number)<BR>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Overlap Receiving, peerstate Overlap sending<BR>
> Protocol Discriminator: Q.931 (8) len=9<BR>
> Call Ref: len= 2 (reference 1/0x1) (Terminator)<BR>
> Message type: RELEASE COMPLETE (90)<BR>
> [08 02 81 81]LI> <BR>
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)<BR>
> Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]<BR>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null<BR>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null<BR>
-- Hungup 'Zap/62-1'<BR>
<BR>
My config is currently as follows :<BR>
<BR>
Extensions context :<BR>
<BR>
[inbound-from-siemens]<BR>
ignorepat => 9<BR>
exten => s,1,WaitExten(10)<BR>
exten => _X.,2,Dial(Zap/g1/${EXTEN})<BR>
<BR>
Zapata.conf :<BR>
<BR>
[channels]<BR>
language=en<BR>
<BR>
; Default context<BR>
context=inbound-from-pstn<BR>
switchtype=euroisdn<BR>
signalling=pri_cpe<BR>
rxwink=300<BR>
usecallerid=yes<BR>
hidecallerid=no<BR>
callwaiting=no<BR>
;restrictcid=no<BR>
usecallingpres=yes<BR>
callwaitingcallerid=yes<BR>
threewaycalling=no<BR>
transfer=no<BR>
cancallforward=no<BR>
callreturn=yes<BR>
echocancel=yes<BR>
echocancelwhenbridged=no<BR>
echotraining=yes<BR>
rxgain=0.0<BR>
txgain=0.0<BR>
callgroup=9<BR>
pickupgroup=9<BR>
immediate=no<BR>
musiconhold=default<BR>
busydetect=no<BR>
callprogress=no<BR>
<BR>
group=1<BR>
channel=>1-15,17-31<BR>
<BR>
context=inbound-from-siemens<BR>
signalling=pri_net<BR>
switchtype=euroisdn<BR>
priindication=outofband<BR>
overlapdial=yes<BR>
pridialplan=local<BR>
immediate=no<BR>
group=2<BR>
channel=>32-46,48-62<BR>
<BR>
Zaptel.conf<BR>
<BR>
loadzone=uk<BR>
defaultzone=uk<BR>
<BR>
span=1,1,0,ccs,hdb3,crc4<BR>
bchan=1-15,17-31<BR>
dchan=16<BR>
<BR>
span=2,2,0,ccs,hdb3,crc4<BR>
bchan=32-46,48-62<BR>
dchan=47<BR>
<BR>
Cheers<BR>
<BR>
James<BR>
<BR>
<BR>
On 7/8/06 11:06, "Wolfgang Zweimueller" <wzwei@kurtkrenn.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>James Arscott <james@stemnetworks.co.uk> writes:<BR>
<BR>
> My concern is still over if L2 and L3 are Œup¹ on my ISDN between the<BR>
> asterisk and siemens, I do my settings look right ? I thought my timing on<BR>
> span 2 maybe incorrect ?<BR>
<BR>
If you do a "pri show span 2" you get a short info about the state of<BR>
the span.<BR>
<BR>
Next, you can try "pri debug span 2" and watch the ISDN<BR>
conversations. This should give you the info if your link is set up<BR>
correctly.<BR>
<BR>
<BR>
cu,<BR>
Wolfgang<BR>
_______________________________________________<BR>
--Bandwidth and Colocation provided by Easynews.com --<BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>