<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1255">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff size=2>On a very quick
glance.</FONT></SPAN></DIV>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff size=2>Euro ISDN uses
A-law voice coding NOT u-Law. </FONT></SPAN></DIV>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff size=2>Make sure the
card is configured in zapata.conf with </FONT></SPAN><SPAN
class=039044919-07032004><FONT color=#0000ff
size=2>switchtype =</FONT></SPAN><SPAN class=039044919-07032004><FONT
color=#0000ff size=2> euroisdn:</FONT></SPAN></DIV>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff size=2>
<DIV><FONT face=Arial size=2>Alfred R. Nurnberger</FONT></DIV>
<DIV>
<HR>
</DIV>
<DIV><FONT face=Arial size=2><FONT size=2><B>F L O S Y S</B></FONT><BR><FONT
size=1>Making Communications Flow</FONT></FONT></DIV>
<DIV><FONT face=Arial size=1>US Tel: +1 (503) 972-9300<BR>UK
Tel: +44 (118) 321-6304 <BR>DE Tel: +49 (911)
3083-9316<BR>Fax: +1 (503)
972-9309<BR>US Toll Free: 1-877-4FLOSYS</FONT><FONT size=2><BR><A
href="http://www.flosys.com">http://www.flosys.com</A></FONT></FONT></SPAN></DIV></DIV>
<DIV><SPAN class=039044919-07032004><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
asterisk-dev-admin@lists.digium.com
[mailto:asterisk-dev-admin@lists.digium.com]<B>On Behalf Of </B>Shaul
Grinberg<BR><B>Sent:</B> Sunday, March 07, 2004 12:39 AM<BR><B>To:</B>
asterisk-dev@lists.digium.com<BR><B>Subject:</B> [Asterisk-Dev] Incompatible
destination - message<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=3> Hello,<BR> <BR>We
have a Digium E100P card.<BR> We work with a digital PBX, PRI-30
(EuroISDN).<BR> In the zaptel.conf file there is
defined:<BR> span=1,1,0,ccs,hdb3,crc4<BR> bchan=1-15<BR> dchan=16<BR> bchan=17-31<BR> <BR>The
card functions as the Network, and the PBX as CPE.<BR> PRI calls in the
direction PBX->card arrive ok.<BR> We have a problem when placing a call
from the card to the PBX:<BR> we immediately get RELEASE COMPLETE with
Cause 'Incompatible<BR> destination',<BR> followed by
Hangup.<BR> <BR>We use the libpri functions - similarly to Asterisk - like
this:<BR> pri_table = pri_new(dfd, PRI_NETWORK,
PRI_SWITCH_EUROISDN_E1);<BR> q931_call *call =
pri_new_call(pri_table);<BR> pri_call(pri_table, call,
PRI_TRANS_CAP_SPEECH,<BR>
30, // the
channel<BR>
0, // we are the
Network<BR>
1, // non
ISDN<BR> "9220374",
PRI_NIP_NATIONAL, "company
name",<BR>
PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN,<BR>
"210", // the number to
call<BR>
PRI_PRIVATE, //
dialplan<BR>
PRI_LAYER_1_ULAW);<BR> <BR>Here is what the q931_dump prints:<BR> >
Protocol Discriminator: Q.931 (8) len=45<BR> > Call Ref: len= 2
(reference 2/0x2) (Originator)<BR> > Message type: SETUP
(5)<BR> > Bearer Capability (len= 3) [Ext: 1 Q.931 Std: 0 Info
transfer<BR> capability: Speech
(0)<BR> >
Ext: 1 Trans mode/rate: 64kbps,<BR> circuit-mode
(16)<BR> >
Ext: 1 User information layer 1: u-Law<BR> (34)<BR> > Channel
ID (len= 5) [Ext: 1 IntID: Implicit, PRI Spare: 0,<BR> Preferred
Dchan:
0<BR> >
ChanSel:
Reserved<BR> >
Ext: 1 Coding: 0 Number Specified Channel<BR> Type:
3<BR> >
Ext: 1 Channel: 30 ]<BR> > Display (len=10) [ 1company name
]<BR> > Calling Number (len=11) [Ext: 0 TON: Unknown Number type
(0) NPI:<BR> National Standard Numbering Plan
(8)<BR> >
Presentation: Presentation permitted, user<BR> number passed network
screening '9220374' ]<BR> > Called Number (len= 6) [Ext: 1 TON:
Sunscriber Number (4) NPI:<BR> Private Numbering Plan (9) '210'
]<BR> > Sending Complete (len= 0)<BR> - - - - - - - - - -
-<BR> < Protocol Discriminator: Q.931 (8) len=9<BR> < Call Ref:
len= 2 (reference 32770/0x8002) (Terminator)<BR> < Message type: RELEASE
COMPLETE (90)<BR> < Cause (len= 2) [Ext: 1 Coding: CCITT (ITU)
Standard (0) 0: 0<BR> Location: User
(0)<BR> <
Ext: 1 Cause: Incompatible destination (88), class<BR> = Invalid
message (5)<BR> <BR> <BR> What can be the cause for this
?</FONT><BR></FONT></DIV></BODY></HTML>