Hi Folks,

I've Asterisk Bristuffed up and running behind an Auerswald Commander Basic ISDN PBX on the internal ISDN Bus (BRI/PTMP). The HFC Card works marvelleous for outgoing calls (as the parallely installed avm fritzcard with chan_capi does), but when I'm trying to call in, I get a short ring signal and then the connection is terminated. This does not happen with chan_capi and the avm card though. I've configured the extension "500" on the internal bus under which the card should be available.

I couldn't figure out what causes the trouble tough. Thanks for your help!

yours,
Alexander

The relevant section from the "bri debug span 1" on the asterisk console is the followin:

########################################################################
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
> Protocol Discriminator: Q.931 (8)  len=8
> Call Ref: len= 1 (reference 197/0xC5) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
    -- Hungup 'Zap/1-1'
Jul 11 22:50:05 WARNING[13679]: chan_zap.c:7504 zt_pri_error: PRI: !! Got reject for frame 29, but we have nothing -- resetting!
#########################################################################

Here's my configuration and the full trace of the bri activity.

;ZAPHFC Konfiguration
switchtype = euroisdn
;signalling = bri_net_ptmp ;this is for a peer to multipeer network
signalling = bri_cpe_ptmp
pridialplan=local
prilocaldialplan=local
;pritrustusercid = yes
overlapdial=yes
language=de
immediate=no
group = 1
context=gtiin
;echocancel=yes
channel => 1-2

;extension.conf configuration
[gtiin]
exten => 500,1,SetCallerId(${CALLERIDNUM})
exten => 500,2,SetCIDName(${CALLERIDNAME})
exten => 500,3,Dial(IAX2/alex&SIP/alex,60,r)
exten => 500,4,Hangup

[gtiout]
;section for outgoing calls via prefix "0"
exten => _0.,1,SetCallerID(${CALLERIDNUM})
exten => _0.,2,Dial(ZAP/g1/${EXTEN},60,Ttr)
exten => _0.,3,Hangup


Asterisk 1.0.7-BRIstuffed-0.2.0-RC8g, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <[EMAIL PROTECTED]>
=========================================================================
Connected to Asterisk 1.0.7-BRIstuffed-0.2.0-RC8g currently running on 75 (pid =
 7032)
Verbosity is at least 35
75*CLI> bri debug span 1
Enabled debugging on span 1
< Protocol Discriminator: Q.931 (8)  len=39
< Call Ref: len= 1 (reference 69/0x45) (Originator)
< Message type: SETUP (5)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ 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: A-Law (35)
< [18 01 89]
< Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
<                        ChanSel: B1 channel
                         ]
< [6c 0f 21 80 30 30 34 33 32 32 34 33 33 35 33 31 36]
< Calling Number (len=17) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) < Presentation: Presentation permitted, user number not screened (0) '0043xxxxxx' ]
< [70 04 81 35 30 30]
< Called Number (len= 6) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '500' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Making new call for cr 69
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
> Protocol Discriminator: Q.931 (8)  len=11
> Call Ref: len= 1 (reference 197/0xC5) (Terminator)
> Message type: SETUP ACKNOWLEDGE (13)
> [18 01 89]
> Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
>                        ChanSel: B1 channel
                         ]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
    -- Executing SetCallerID("Zap/1-1", "0043xxxxx") in new stack
    -- Executing SetCIDName("Zap/1-1", "0043xxxxxx") in new stack
    -- Executing Dial("Zap/1-1", "IAX2/alex&SIP/alex|60|r") in new stack
    -- Called alex
Jul 11 22:49:55 NOTICE[13679]: app_dial.c:759 dial_exec: Unable to create channel of type 'SIP' -- Accepting voice call from '0043xxxxxxx' to '500' on channel 0/1, span 1
> Protocol Discriminator: Q.931 (8)  len=7
> Call Ref: len= 1 (reference 197/0xC5) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 01 89]
> Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
>                        ChanSel: B1 channel
                         ]
> Protocol Discriminator: Q.931 (8)  len=8
> Call Ref: len= 1 (reference 197/0xC5) (Terminator)
> Message type: ALERTING (1)
> [1e 02 81 88]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
    -- Call accepted by xxxxxxxxxxxx (format alaw)
    -- Format for call is alaw
    -- IAX2/alex/4 is ringing
< Protocol Discriminator: Q.931 (8)  len=8
< Call Ref: len= 1 (reference 69/0x45) (Originator)
< Message type: RELEASE (77)
< [08 02 81 e2]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) < Ext: 1 Cause: Wrong message (98), class = Protocol Error (6) ]
-- Processing IE 8 (cs0, Cause)
    -- Channel 0/1, span 1 got hangup
    -- Hungup 'IAX2/alex/4'
  == Spawn extension (gtiin, 500, 3) exited non-zero on 'Zap/1-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
> Protocol Discriminator: Q.931 (8)  len=8
> Call Ref: len= 1 (reference 197/0xC5) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
    -- Hungup 'Zap/1-1'
Jul 11 22:50:05 WARNING[13679]: chan_zap.c:7504 zt_pri_error: PRI: !! Got reject for frame 29, but we have nothing -- resetting!

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to