> I would be useful if you could post your config files 
> and the pri debug as well.
>       
> check your zapata.conf or paste it here so we can take a look.
> Alyed
>
>
>
>> I have this setup:
>> (PSTN E1 PRI) -- Asterisk -- (crosscable) -- Alcatel PBX --- analog
phones
>> and a few of VoIP phones directly connected to Asterisk.
>> Calling a number (only one until now!) - an automatic responder (IVR) - 
>> from VoIP phones works, from analog phones doesn't work: 
>> NOANSWER after a few seconds. I'm using no 'r' in dial options 
>> (this caused a problem with an IVR some time ago).
>>
>> Mimmus

Here is output of 'pri debug span ...' for a failed call:
###########################################################
< Protocol Discriminator: Q.931 (8)  len=12
< Call Ref: len= 2 (reference 181/0xB5) (Terminator)
< Message type: INFORMATION (123)
< [96]sk1*CLI> 
< Locking Shift (len=01): Requested codeset 6
< [1a 04 c4 1c 00 00]
!! < Unknown IE 1562 (len = 6)
-- Processing IE 26 (cs6, Unknown Information Element)
!! Unknown IE 26 (cs6, Unknown Information Element)
< Protocol Discriminator: Q.931 (8)  len=28
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: SETUP (5)
< [04 03 90 90 a3]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: 3.1kHz audio (16)
<                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
<                              Ext: 1  User information layer 1: A-Law (35)
< [1e 02 80 83]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: User (0)
<                               Ext: 1  Progress Description: Calling
equipment is non-ISDN. (3) ]
< [6c 05 00 81 34 31 36]
< Calling Number (len= 7) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)
<                           Presentation: Presentation permitted, user
number passed network screening (1) '416' ]
< [70 05 80 30 39 38 34]
< Called Number (len= 7) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '0984' ]
-- Making new call for cr 18874
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
> Protocol Discriminator: Q.931 (8)  len=14
> Call Ref: len= 2 (reference 18874/0x49BA) (Terminator)
> Message type: SETUP ACKNOWLEDGE (13)
> [18 03 a9 83 9c]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 28 ]
> [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) ]
    -- Accepting overlap call from '416' to '0984' on channel 0/28, span 2
    -- Starting simple switch on 'Zap/59-1'
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: INFORMATION (123)
< [70 02 80 34]
< Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '4' ]
-- Processing IE 112 (cs0, Called Party Number)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: INFORMATION (123)
< [70 02 80 36]
< Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '6' ]
-- Processing IE 112 (cs0, Called Party Number)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: INFORMATION (123)
< [70 02 80 35]
< Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '5' ]
-- Processing IE 112 (cs0, Called Party Number)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: INFORMATION (123)
< [70 02 80 36]
< Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '6' ]
-- Processing IE 112 (cs0, Called Party Number)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: INFORMATION (123)
< [70 02 80 39]
< Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '9' ]
-- Processing IE 112 (cs0, Called Party Number)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18874/0x49BA) (Originator)
< Message type: INFORMATION (123)
< [70 02 80 31]
< Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '1' ]
-- Processing IE 112 (cs0, Called Party Number)
    -- Executing NoOp("Zap/59-1", "--> Thematica called from 0984899416
<--") in new stack
    -- Executing Dial("Zap/59-1", "Zap/g1/0984465691") in new stack
-- Making new call for cr 32960
    -- Requested transfer capability: 0x10 - 3K1AUDIO
> Protocol Discriminator: Q.931 (8)  len=35
> Call Ref: len= 2 (reference 192/0xC0) (Originator)
> Message type: SETUP (5)
> [04 03 90 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: 3.1kHz audio (16)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 03 a9 83 8e]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 14 ]
> [6c 05 00 81 34 31 36]
> Calling Number (len= 7) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)
>                           Presentation: Presentation permitted, user
number passed network screening (1) '416' ]
> [70 0b 80 30 39 38 34 34 36 35 36 39 31]
> Called Number (len=13) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '0984465691' ]
    -- Called g1/0984465691
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 192/0xC0) (Terminator)
< Message type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 8e]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
<                       Ext: 1  Channel: 14 ]
-- Processing IE 24 (cs0, Channel Identification)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18871/0x49B7) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
User (0)
<                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
    -- Channel 0/30, span 2 got hangup request
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect
Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 189/0xBD) (Originator)
> Message type: DISCONNECT (69)
> [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: Unknown (16), class = Normal Event (1) ]
    -- Hungup 'Zap/12-1'
  == Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on
'Zap/61-1' in macro 'dialout-trunk'
  == Spawn extension (from-alcatel, 3356943889, 1) exited non-zero on
'Zap/61-1'
    -- Executing Macro("Zap/61-1", "hangupcall") in new stack
    -- Executing ResetCDR("Zap/61-1", "w") in new stack
    -- Executing NoCDR("Zap/61-1", "") in new stack
    -- Executing Wait("Zap/61-1", "5") in new stack
  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'Zap/61-1'
in macro 'hangupcall'
  == Spawn extension (from-alcatel, h, 1) exited non-zero on 'Zap/61-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 18871/0x49B7) (Terminator)
> Message type: RELEASE (77)
> [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: Unknown (16), class = Normal Event (1) ]
    -- Hungup 'Zap/61-1'
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 18871/0x49B7) (Originator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
User (0)
<                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
< Protocol Discriminator: Q.931 (8)  len=12
< Call Ref: len= 2 (reference 189/0xBD) (Terminator)
< Message type: RELEASE (77)
< [96]
< Locking Shift (len=01): Requested codeset 6
< [1a 04 c4 08 00 00]
!! < Unknown IE 1562 (len = 6)
-- Processing IE 26 (cs6, Unknown Information Element)
!! Unknown IE 26 (cs6, Unknown Information Element)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release
Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 189/0xBD) (Originator)
> 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: Unknown (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
#######################################################################


This is zapata.conf:
#########################################################
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=it
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
overlapdial=yes

# internationalprefix=00
# nationalprefix=0
# localprefix=0984
# privateprefix=0984899
# unknownprefix=

priindication=inband
facilityenable=yes
rxgain=0.0
txgain=0.0
jitterbuffers=2
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
usecallingpres=yes
useincomingcalleridonzaptransfer=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
immediate=no
callerid=asreceived
musiconhold=native-random

; Incoming only
group=0
signalling=pri_cpe
context=from-pstn
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=both
;faxdetect=no
channel => 1-10

; Outgoing (only?)
group=1
faxdetect=no
channel => 11-15,17-21

; Not used
group=3
faxdetect=no
channel => 22-31

; To/From Alcatel
group=2
signalling=pri_net
faxdetect=no
context=from-alcatel
channel => 32-46,48-62
############################################################

Dialplan contains a simple Dial(Zap/g1/098465691) statement (for testing).

Any help will be greatly appreciated.

Mimmus

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to