[Asterisk-Users] error "WARNING[28697]: File app_dial.c, Line 304 (wait_for_answer):
Unable to forward voice"
Cristi
cvasiliu at accessnet.ro
Thu Jul 17 09:52:01 MST 2003
I am trying to put a call on a E1 ISDN :
The configuration are simple:
zapata.conf :
[channels]
context=inbound
switchtype=euroisdn
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
;echocancel=no
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
;immediate=yes
immediate=no
callerid => asreceived
amaflags => billing
usecallerid=yes
overlapdial=yes
; Span 1
group=1
context=inbound
signalling=pri_cpe
channel => 1-15
channel => 17-31
; Span 2
group=2
context=inbound
signalling=pri_cpe
channel => 32-46
channel => 48-62
; Span 3
group=3
;context=h323
context=outbound
signalling=pri_cpe
channel => 63-77
;channel => 79-93
;group=5
;context=h323
;signalling=pri_cpe
channel => 79-93
; Span 4
group=4
context=outbound
signalling=pri_cpe
channel => 94-108
channel => 110-124
extension.conf
exten => 9999,1,Wait(1)
exten => 9999,2,Answer
exten => 9999,3,Playback(beep)
exten => 9999,4,Dial(Zap/g3/0007352638)
and I get this error
You can see the output from pri debug span3:
*CLI> pri debug span 3
Enabled debugging on span 3
< Protocol Discriminator: Q.931 (8) len=41
< Call Ref: len= 2 (reference 10309/0x2845) (Originator)
< Message type: SETUP (5)
< Sending Complete (len= 4)
< Bearer Capability (len= 3) [ 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)
< 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: 13 ]
< Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0)
0: 0 Location: Public network serving the remote user (4)
< Ext: 1 Progress Description: Calling
equipment is non-ISDN. (3) ]
< Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI:
Unknown Number Plan (0)
< Presentation: Unknown (3) '0212318657' ]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '9999' ]
-- Making new call for cr 10309
-- Processing Q.931 Call Setup
-- Processing IE 33 (Sending Complete)
-- Processing IE 4 (Bearer Capability)
-- Processing IE 24 (Channel Identification)
-- Processing IE 30 (Progress Indicator)
-- Processing IE 108 (Calling Party Number)
-- Processing IE 112 (Called Party Number)
-- Accepting call from '0212318657' to '9999' on channel 13, span 3
> Protocol Discriminator: Q.931 (8) len=14
> Call Ref: len= 2 (reference 43077/0xA845) (Terminator)
> Message type: SETUP ACKNOWLEDGE (13)
> 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: 13 ]
> Progress Indicator (len= 2) [ 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 Wait("Zap/75-1", "1") in new stack
-- Executing Answer("Zap/75-1", "") in new stack
> Protocol Discriminator: Q.931 (8) len=14
> Call Ref: len= 2 (reference 43077/0xA845) (Terminator)
> Message type: CONNECT (7)
> 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: 13 ]
> Progress Indicator (len= 2) [ 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 Playback("Zap/75-1", "beep") in new stack
-- Playing 'beep'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 10309/0x2845) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
-- Executing Dial("Zap/75-1", "Zap/g3/0007894638") in new stack
Making new call for cr 32771
> Protocol Discriminator: Q.931 (8) len=45
> Call Ref: len= 2 (reference 3/0x3) (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: A-Law (35)
> 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: 1 ]
> Display (len= 1) [ 1 ]
> Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Unknown (1) '0212318657' ]
> Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '0007894638' ]
-- Called g3/0007894638
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: CALL PROCEEDING (2)
< 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: 1 ]
-- Processing IE 24 (Channel Identification)
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: DISCONNECT (69)
< Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
< Ext: 1 Cause: Invalid number format (28), class =
Normal Event (1) ]
-- Processing IE 8 (Cause)
-- Channel 1, span 3 got hangup
WARNING[28697]: File app_dial.c, Line 304 (wait_for_answer): Unable to
forward voice
== No one is available to answer at this time
> Protocol Discriminator: Q.931 (8) len=5
> Call Ref: len= 2 (reference 3/0x3) (Originator)
> Message type: RELEASE (77)
-- Hungup 'Zap/63-1'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
-- Timeout on Zap/75-1
-- Executing Hangup("Zap/75-1", "") in new stack
== Spawn extension (outbound, t, 1) exited non-zero on 'Zap/75-1'
WARNING[28697]: File cdr.c, Line 434 (ast_cdr_post): CDR on channel
'Zap/75-1' : Not in the system
> Protocol Discriminator: Q.931 (8) len=9 (mysql_log): Zonebill :'000'
> Call Ref: len= 2 (reference 43077/0xA845) (Terminator)
> Message type: DISCONNECT (69)
> Cause (len= 2) [ 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) ]
-- Hungup 'Zap/75-1'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 10309/0x2845) (Originator)
< Message type: RELEASE (77)
> Protocol Discriminator: Q.931 (8) len=5
> Call Ref: len= 2 (reference 43077/0xA845) (Terminator)
> Message type: RELEASE COMPLETE (90)
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 11078/0x2B46) (Originator)
< Message type: STATUS ENQUIRY (117)
-- Making new call for cr 11078
> Protocol Discriminator: Q.931 (8) len=12
> Call Ref: len= 2 (reference 43846/0xAB46) (Terminator)
> Message type: STATUS (125)
> Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
> Ext: 1 Cause: Response to STATus ENQuiry (30),
class = Normal Event (1) ]
> Call State (len= 1) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call
state: Null (0)
WARNING[28697]: File app_dial.c, Line 304 (wait_for_answer): Unable to
forward voice
Any ideeas why I got this error?
P.S. Many thanks to Martin Pycko ! I will bother his again if no one can
help me! :>
More information about the asterisk-users
mailing list