[Asterisk-Dev] Incompatible destination - message

Shaul Grinberg shaul at libercell.com
Sun Mar 7 01:39:15 MST 2004


   Hello,
 
 We have a Digium E100P card.
 We work with a digital PBX, PRI-30 (EuroISDN).
 In the zaptel.conf file there is defined:
 span=1,1,0,ccs,hdb3,crc4
 bchan=1-15
 dchan=16
 bchan=17-31
 
 The card functions as the Network, and the PBX as CPE.
 PRI calls in the direction PBX->card arrive ok.
 We have a problem when placing a call from the card to the PBX:
 we immediately get RELEASE COMPLETE with Cause 'Incompatible
 destination',
 followed by Hangup.
 
 We use the libpri functions - similarly to Asterisk - like this:
 pri_table = pri_new(dfd, PRI_NETWORK, PRI_SWITCH_EUROISDN_E1);
 q931_call *call = pri_new_call(pri_table);
  pri_call(pri_table, call, PRI_TRANS_CAP_SPEECH,
           30,     // the channel
           0,      // we are the Network
           1,      // non ISDN
           "9220374", PRI_NIP_NATIONAL, "company name",
           PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN,
           "210",  // the number to call
           PRI_PRIVATE,  // dialplan
           PRI_LAYER_1_ULAW);
 
 Here is what the q931_dump prints:
 > Protocol Discriminator: Q.931 (8) len=45
 > Call Ref: len= 2 (reference 2/0x2) (Originator)
 > Message type: SETUP (5)
 > Bearer Capability (len= 3) [Ext: 1  Q.931 Std: 0 Info transfer
 capability: Speech (0)
 >                             Ext: 1  Trans mode/rate: 64kbps,
 circuit-mode (16)
 >                             Ext: 1  User information layer 1: u-Law
 (34)
 > Channel ID (len= 5) [Ext: 1  IntID: Implicit, PRI Spare: 0,
 Preferred Dchan: 0
 >                       ChanSel: Reserved
 >                      Ext: 1  Coding: 0  Number Specified  Channel
 Type: 3
 >                      Ext: 1  Channel: 30 ]
 > Display (len=10) [ 1company name ]
 > Calling Number (len=11) [Ext: 0  TON: Unknown Number type (0)  NPI:
 National Standard Numbering Plan (8)
 >                          Presentation: Presentation permitted, user
 number passed network screening '9220374' ]
 > Called Number (len= 6) [Ext: 1  TON: Sunscriber Number (4)  NPI:
 Private Numbering Plan (9) '210' ]
 > Sending Complete (len= 0)
   - - - - - - - - - - -
 < Protocol Discriminator: Q.931 (8) len=9
 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator)
 < Message type: RELEASE COMPLETE (90)
 < Cause (len= 2) [Ext: 1  Coding: CCITT (ITU) Standard (0) 0: 0
 Location: User (0)
 <                 Ext: 1  Cause: Incompatible destination (88), class
 = Invalid message (5)
 
 
   What can be the cause for this ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20040307/01450058/attachment.htm


More information about the asterisk-dev mailing list