reitenbach_pub at rapi... Guest
|
Posted: Wed Jun 25, 2008 12:58 am Post subject: [asterisk-users] unable to send a fax to a given FAX number |
|
|
Hi all,
I have some problem to send a FAX to a given number. I use asterisk 1.2.18, on
a openSUSE 10.2, i586 host.
The FAX is sent out via an ISDN PRI interface, I'm in Germany, and the
destination FAX devices are in Germany too, but in different areas, so I have
to use a city prefix.
I did set the pri device in debug mode, below are two calls, to two different
FAX numbers, the first is the one with the problem, the second is working
well:
==WORKING=============================================================================================================
======================================================================================================================
======================================================================================================================
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
Quote: | fixlocalprefix: Using pattern 1081+112
fixlocalprefix: Using pattern 1081+110
fixlocalprefix: Using pattern 1081+11833
fixlocalprefix: Using pattern 1081+11880
fixlocalprefix: Using pattern 0|.
| == fixlocalprefix: Dialpattern 0|. matched. 01267383226 ->
1267383226
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/233-b4e0a7f8", "OUTNUM=1267383226") in new
stack
-- Executing Set("SIP/233-b4e0a7f8", "custom=ZAP/g1") in new stack
-- Executing GotoIf("SIP/233-b4e0a7f8", "0?customtrunk") in new
stack
-- Executing Dial("SIP/233-b4e0a7f8", "ZAP/g1/1267383226|120|r")
in new stack
-- Making new call for cr 42167
-- Requested transfer capability: 0x00 - SPEECH
Quote: | Protocol Discriminator: Q.931 ( len=43
Call Ref: len= 2 (reference 9399/0x24B7) (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)
Quote: | Ext: 1 Trans mode/rate: 64kbps,
| circuit-mode (16)
Quote: | Ext: 1 User information layer 1: A-Law
| (35)
Quote: | [18 03 a9 83 81]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
| Exclusive Dchan: 0
Quote: | ChanSel: Reserved
Ext: 1 Coding: 0 Number Specified Channel
| Type: 3
Quote: | Ext: 1 Channel: 1 ]
[6c 0d 21 80 33 33 38 31 38 39 30 34 34 35 31]
Calling Number (len=15) [ Ext: 0 TON: National Number (2) NPI:
| ISDN/Telephony Numbering Plan (E.164/E.163) (1)
Quote: | Presentation: Presentation permitted, user
| number not screened (0) '4482904233' ]
Quote: | [70 0b a1 33 34 36 35 33 38 33 32 32 36]
Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI:
| ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1267383226' ]
-- Called g1/1267383226
< Protocol Discriminator: Q.931 ( len=10
< Call Ref: len= 2 (reference 9399/0x24B7) (Terminator)
< Message type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 81]
< 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 (cs0, Channel Identification)
< Protocol Discriminator: Q.931 ( len=5
< Call Ref: len= 2 (reference 9399/0x24B7) (Terminator)
< Message type: CALL PROCEEDING (2)
-- Zap/1-1 is proceeding passing it to SIP/233-b4e0a7f8
< Protocol Discriminator: Q.931 ( len=9
< Call Ref: len= 2 (reference 9399/0x24B7) (Terminator)
< Message type: ALERTING (1)
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard
(0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband
information or appropriate pattern now available. ( ]
-- Processing IE 30 (cs0, Progress Indicator)
-- Zap/1-1 is ringing
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
< Protocol Discriminator: Q.931 ( len=12
< Call Ref: len= 2 (reference 9399/0x24B7) (Terminator)
< Message type: CONNECT (7)
< [29 05 08 06 18 10 00]
< Time Date (len= 7) [ 08-06-24 16:00 ]
-- Processing IE 41 (cs0, Date/Time)
Quote: | Protocol Discriminator: Q.931 ( len=5
Call Ref: len= 2 (reference 9399/0x24B7) (Originator)
Message type: CONNECT ACKNOWLEDGE (15)
| < Protocol Discriminator: Q.931 ( len=29
< Call Ref: len= 2 (reference 9399/0x24B7) (Terminator)
< Message type: FACILITY (9
< [1c 16 91 a1 13 02 02 56 72 02 01 22 30 0a a1 05 30 03 02 01 02 82
01 00]
< Facility (len=24, codeset=0) [ 0x91, 0xa1, 0x13, 0x02, 0x02, 'Vr',
0x02, 0x01, 0x22, '0', 0x0a, 0xa1, 0x05, '0', 0x03, 0x02, 0x01, 0x02,
0x82, 0x01, 0x00 ]
-- Processing IE 28 (cs0, Facility)
Handle Q.932 ROSE Invoke component
-- Zap/1-1 answered SIP/233-b4e0a7f8
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate
Connect Request
Quote: | Protocol Discriminator: Q.931 ( len=9
Call Ref: len= 2 (reference 9399/0x24B7) (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)
Quote: | Ext: 1 Cause: Normal Clearing (16), class = Normal
| Event (1) ]
-- Hungup 'Zap/1-1'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero
on 'SIP/233-b4e0a7f8' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero
on 'SIP/233-b4e0a7f8'
-- Executing Macro("SIP/233-b4e0a7f8", "hangupcall") in new stack
-- Executing ResetCDR("SIP/233-b4e0a7f8", "w") in new stack
-- Executing NoCDR("SIP/233-b4e0a7f8", "") in new stack
-- Executing GotoIf("SIP/233-b4e0a7f8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing Wait("SIP/233-b4e0a7f8", "5") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero
on 'SIP/233-b4e0a7f8' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 6) exited non-zero
on 'SIP/233-b4e0a7f8'
< Protocol Discriminator: Q.931 ( len=29
< Call Ref: len= 2 (reference 9399/0x24B7) (Terminator)
< Message type: RELEASE (77)
< [1c 16 91 a1 13 02 02 56 73 02 01 22 30 0a a1 05 30 03 02 01 02 82
01 01]
< Facility (len=24, codeset=0) [ 0x91, 0xa1, 0x13, 0x02, 0x02, 'Vs',
0x02, 0x01, 0x22, '0', 0x0a, 0xa1, 0x05, '0', 0x03, 0x02, 0x01, 0x02,
0x82, 0x01, 0x01 ]
-- Processing IE 28 (cs0, Facility)
Handle Q.932 ROSE Invoke component
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate
Release Request
Quote: | Protocol Discriminator: Q.931 ( len=9
Call Ref: len= 2 (reference 9399/0x24B7) (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)
Quote: | 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
======================================================================================================================
======================================================================================================================
======================================================================================================================
====NOT_WORKING=======================================================================================================
======================================================================================================================
======================================================================================================================
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
Quote: | fixlocalprefix: Using pattern 1081+112
fixlocalprefix: Using pattern 1081+110
fixlocalprefix: Using pattern 1081+11833
fixlocalprefix: Using pattern 1081+11880
fixlocalprefix: Using pattern 0|.
| == fixlocalprefix: Dialpattern 0|. matched. 02255539101 ->
2255539101
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/233-084ea308", "OUTNUM=2255539101") in new
stack
-- Executing Set("SIP/233-084ea308", "custom=ZAP/g1") in new stack
-- Executing GotoIf("SIP/233-084ea308", "0?customtrunk") in new
stack
-- Executing Dial("SIP/233-084ea308", "ZAP/g1/2255539101|120|r")
in new stack
-- Making new call for cr 42162
-- Requested transfer capability: 0x00 - SPEECH
Quote: | Protocol Discriminator: Q.931 ( len=43
Call Ref: len= 2 (reference 9394/0x24B2) (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)
Quote: | Ext: 1 Trans mode/rate: 64kbps,
| circuit-mode (16)
Quote: | Ext: 1 User information layer 1: A-Law
| (35)
Quote: | [18 03 a9 83 81]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
| Exclusive Dchan: 0
Quote: | ChanSel: Reserved
Ext: 1 Coding: 0 Number Specified Channel
| Type: 3
Quote: | Ext: 1 Channel: 1 ]
[6c 0d 21 80 33 33 38 31 38 39 30 34 34 35 31]
Calling Number (len=15) [ Ext: 0 TON: National Number (2) NPI:
| ISDN/Telephony Numbering Plan (E.164/E.163) (1)
Quote: | Presentation: Presentation permitted, user
| number not screened (0) '4482904233' ]
Quote: | [70 0b a1 33 33 32 32 32 33 39 30 30 32]
Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI:
| ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2255539101' ]
-- Called g1/2255539101
< Protocol Discriminator: Q.931 ( len=10
< Call Ref: len= 2 (reference 9394/0x24B2) (Terminator)
< Message type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 81]
< 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 (cs0, Channel Identification)
< Protocol Discriminator: Q.931 ( len=17
< Call Ref: len= 2 (reference 9394/0x24B2) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 83 aa]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0
Location: Transit network (3)
< Ext: 1 Cause: Switching equipment congestion (42),
class = Network Congestion (2) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard
(0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband
information or appropriate pattern now available. ( ]
< [1e 02 82 82]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard
(0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Called
equipment is non-ISDN. (2) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 30 (cs0, Progress Indicator)
-- Channel 0/1, span 1 got hangup request
-- Zap/1-1 is circuit-busy
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
Quote: | Protocol Discriminator: Q.931 ( len=9
Call Ref: len= 2 (reference 9394/0x24B2) (Originator)
Message type: RELEASE (77)
[08 02 81 aa]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0
| Location: Private network serving the local user (1)
Quote: | Ext: 1 Cause: Switching equipment congestion (42),
| class = Network Congestion (2) ]
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("SIP/233-084ea308", "s-CONGESTION|1") in new
stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing NoOp("SIP/233-084ea308", "Dial failed due to
CONGESTION - failing through to other trunks") in new stack
-- Executing Macro("SIP/233-084ea308", "outisbusy|") in new stack
-- Executing Playback("SIP/233-084ea308", "all-circuits-busy-now|
noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
< Protocol Discriminator: Q.931 ( len=5
< Call Ref: len= 2 (reference 9394/0x24B2) (Terminator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Executing Playback("SIP/233-084ea308", "pls-try-call-later|
noanswer") in new stack
-- Playing 'pls-try-call-later' (language 'en')
-- Remote UNIX connectionn 1
-- Executing Macro("SIP/233-084ea308", "hangupcall") in new stack
-- Executing ResetCDR("SIP/233-084ea308", "w") in new stack
-- Executing NoCDR("SIP/233-084ea308", "") in new stack
-- Executing GotoIf("SIP/233-084ea308", "1?theend") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing Wait("SIP/233-084ea308", "5") in new stack
-- Remote UNIX connection disconnected
asterisk1*CLI> no pri debug span 1
No such command 'no pri' (type 'help' for help)
-- Executing Hangup("SIP/233-084ea308", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero
on 'SIP/233-084ea308' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 7) exited non-zero
on 'SIP/233-084ea308' in macro 'outisbusy'
== Spawn extension (macro-hangupcall, s, 7) exited non-zero
on 'SIP/233-084ea308'
This is my zaptel.conf:
#Configuration for EuroISDN (E1)
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
loadzone = de
defaultzone=nl
any idea, what this can cause, and how I could make it work?
Please let me know if you need more information from my side.
kind regards
Sebastian |
|