имеем:
PBX
FreePBX 2.11.0.1
Asterisk 11.4.0
Код: Выделить всё
Конфиг:
- в Web GUI: T38 Pass-Through=No
- sip_general_custom.conf
t38pt_udptl=yes,redundancy,maxdatagram=400
echocancel=no
ATA
Addpac AP100B
Код: Выделить всё
Конфиг:
! Voice service voip configuration.
voice service voip
fax protocol duplex-t38 redundancy 2
fax rate 9600
fax receive-option allow-multi-session
h323 call start fast
h323 call tunnel enable
timeout tidt 5
local-ringback-tone early
static-jitter-buffer 35
busyout monitor gatekeeper
busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
! Voip peer configuration.
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
fax protocol duplex-t38 redundancy 2
fax rate 9600
Panasonic KX-FL423
Факс подключен к AP100B, AP100B как экстеншн подключена к Астериску, при попытке отправить факс:
Код: Выделить всё
INVITE sip:2240@192.168.216.220 SIP/2.0
Via: SIP/2.0/UDP 192.168.216.219:5060;branch=z9hG4bK4b8436b9
Max-Forwards: 70
From: <sip:666@192.168.216.219>;tag=as63237cfd
To: <sip:2240@192.168.216.219>;tag=cb52ec26a4
Contact: <sip:666@192.168.216.219:5060>
Call-ID: cbfc0d52-0796-ecae-8026-0002a4090f0c@192.168.216.220
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.4.0)
Session-Expires: 1800;refresher=uac
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
X-asterisk-Info: SIP re-invite (External RTP bridge)
Content-Type: application/sdp
Content-Length: 274
v=0
o=root 1572211958 1572211959 IN IP4 192.168.216.219
s=Asterisk PBX 11.4.0
c=IN IP4 192.168.216.219
t=0 0
m=image 0 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:1400
a=T38FaxUdpEC:t38UDPRedundancy
---
[2013-08-16 10:19:19] VERBOSE[1746] chan_sip.c:
<--- SIP read from UDP:192.168.216.220:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.216.219:5060;branch=z9hG4bK4b8436b9
From: <sip:666@192.168.216.219>;tag=as63237cfd
To: <sip:2240@192.168.216.219>;tag=cb52ec26a4
Call-ID: cbfc0d52-0796-ecae-8026-0002a4090f0c@192.168.216.220
CSeq: 102 INVITE
Session-Expires: 1800;refresher=uac
User-Agent: AddPac SIP Gateway
Contact: sip:2240@192.168.216.220
Require: timer
Content-Type: application/sdp
Content-Length: 122
v=0
o=2240 1376648398 1376648398 IN IP4 192.168.216.220
s=AddPac Gateway SDP
c=IN IP4 192.168.216.220
t=1376648398 0
<------------->
[2013-08-16 10:19:19] VERBOSE[1746] chan_sip.c: --- (12 headers 5 lines) ---
[2013-08-16 10:19:19] WARNING[1746][C-0000003a] chan_sip.c: Insufficient information for SDP (m= not found)
[2013-08-16 10:19:19] VERBOSE[1746][C-0000003a] chan_sip.c: set_destination: Parsing <sip:2240@192.168.216.220> for address/port to send to
[2013-08-16 10:19:19] VERBOSE[1746][C-0000003a] chan_sip.c: set_destination: set destination to 192.168.216.220:5060
[2013-08-16 10:19:19] VERBOSE[1746][C-0000003a] chan_sip.c: Transmitting (no NAT) to 192.168.216.220:5060:
ACK sip:2240@192.168.216.220 SIP/2.0
Via: SIP/2.0/UDP 192.168.216.219:5060;branch=z9hG4bK36c94286
Max-Forwards: 70
From: <sip:666@192.168.216.219>;tag=as63237cfd
To: <sip:2240@192.168.216.219>;tag=cb52ec26a4
Contact: <sip:666@192.168.216.219:5060>
Call-ID: cbfc0d52-0796-ecae-8026-0002a4090f0c@192.168.216.220
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(11.4.0)
Content-Length: 0
---
[2013-08-16 10:19:24] WARNING[14594][C-0000003a] res_fax.c: channel 'SIP/2240-00000069' timed-out during the T.38 negotiation.