После этого стало как-то веселее, по крайне мере в логах астера нет ошибок. Но факс все равно не приходит, в WireShark это выглядит так:sartus писал(а):я долго бился с отправкой факсов и принятием и проблема решилась после того как подсмотрел конфиги в Керио операторе в udpl.conf нужно оставить толькоа в sip.conf добавить:Код: Выделить всё
udptlstart=10000 udptlend=20000
После этого факсы начали летать на ура почти на всех провайдерах какие были подключены:Код: Выделить всё
t38pt_udptl=yes,redundancy,maxdatagram=400
Роснет проходили 70%
Дискон телеком 90%
МТТ 100% с оговоркой некоторые не с первого раза
Астериск собран с библиотекой Spandsp
Код: Выделить всё
Conv.| Time | 91.195.100.6 | 10.2.28.100 |
| | | 10.2.28.245 |
0 |219.643615| INVITE SDP (g711A g729 G729 G729 G729 telephon...vent) | |SIP From: "6132493232" <sip:6132493232@91.195.100.6:5071;user=phone To:<sip:3912190732@91.195.100.6;user=phone
| |(5060) ------------------> (5060) | |
0 |219.650225| 100 Trying| | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
1 |219.739669| | INVITE SDP (g711A g711U GSM telephone-event) |SIP From: "6132493232" <sip:6132493232@10.2.28.245 To:<sip:304@10.2.28.100:5060
| | |(5060) ------------------> (5060) |
-----------------------------------------------------------------------------
0 |219.740359| 180 Ringing | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
1 |219.747404| | 100 Trying| |SIP Status
| | |(5060) <------------------ (5060) |
1 |219.755042| | 180 Ringing |SIP Status
| | |(5060) <------------------ (5060) |
-----------------------------------------------------------------------------
0 |219.755339| 180 Ringing | |SIP Status
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
1 |219.952938| | 200 OK SDP (g711A telephone-event) |SIP Status
| | |(5060) <------------------ (5060) |
1 |219.952942| | RTP (g711A) |RTP Num packets:51 Duration:0.998s SSRC:0x5848F2A1
| | |(11560) <------------------ (5010) |
1 |219.953687| | ACK | |SIP Request
| | |(5060) ------------------> (5060) |
-----------------------------------------------------------------------------
0 |219.954698| 200 OK SDP (g711A telephone-event) | |SIP Status
| |(5060) <------------------ (5060) | |
0 |219.960132| RTP (g711A) | |RTP Num packets:51 Duration:0.991s SSRC:0x1028E31B
| |(45170) <------------------ (19938) | |
0 |219.960264| ACK | | |SIP Request
| |(5060) ------------------> (5060) | |
0 |220.034340| RTP (g711A) | |RTP Num packets:48 Duration:0.939s SSRC:0x960CF79
| |(45170) ------------------> (19938) | |
-----------------------------------------------------------------------------
1 |220.035075| | RTP (g711A) |RTP Num packets:48 Duration:0.939s SSRC:0x714BBE45
| | |(11560) ------------------> (5010) |
1 |220.974936| | INVITE SDP (t38) |SIP Request
| | |(5060) <------------------ (5060) |
1 |220.975553| | 100 Trying| |SIP Status
| | |(5060) ------------------> (5060) |
-----------------------------------------------------------------------------
0 |220.976497| INVITE SDP (t38) | |SIP Request
| |(5060) <------------------ (5060) | |
0 |220.981388| 100 Trying| | |SIP Status
| |(5060) ------------------> (5060) | |
0 |221.061180| 200 OK SDP (t38) | |SIP Status
| |(5060) ------------------> (5060) | |
0 |221.061725| ACK | | |SIP Request
| |(5060) <------------------ (5060) | |
-----------------------------------------------------------------------------
1 |221.061927| | 200 OK SDP (t38) |SIP Status
| | |(5060) ------------------> (5060) |
1 |221.064813| | ACK | |SIP Request
| | |(5060) <------------------ (5060) |
1 |221.067936| | INVITE SDP (t38) |SIP Request
| | |(5060) <------------------ (5060) |
1 |221.068191| | 100 Trying| |SIP Status
| | |(5060) ------------------> (5060) |
1 |221.069778| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |221.069866| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |221.105130| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |221.158789| | ced | |t38:t30 Ind:ced
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |221.158878| ced | | |t38:t30 Ind:ced
| |(45170) <------------------ (11009) | |
0 |221.463559| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |224.188733| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |224.188860| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |224.278704| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |224.278789| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |225.528739| | DIS DSR:ITU-T V.27 ter, V.29, and V.17 |t38:v21:HDLC:Digital Identification Signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |225.528786| DIS DSR:ITU-T V.27 ter, V.29, and V.17 | |t38:v21:HDLC:Digital Identification Signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |225.590141| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |225.590238| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |226.069869| | 488 Not acceptable here |SIP Status
| | |(5060) ------------------> (5060) |
1 |226.072682| | ACK | |SIP Request
| | |(5060) <------------------ (5060) |
1 |226.073808| | INVITE SDP (t38) |SIP Request
| | |(5060) <------------------ (5060) |
1 |226.074136| | 100 Trying| |SIP Status
| | |(5060) ------------------> (5060) |
-----------------------------------------------------------------------------
0 |228.084494| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) ------------------> (11009) | |
0 |229.735774| TSI Num: FAX | |t38:v21:HDLC:Transmitting Subscriber Identification
| |(45170) ------------------> (11009) | |
0 |229.972755| DCS DSR:14 400 bit/s, ITU-T V.17 | |t38:v21:HDLC:Digital Command Signal
| |(45170) ------------------> (11009) | |
0 |230.024338| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
0 |230.093220| v17-14400-long-training | |t38:t30 Ind:v17-14400-long-training
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |230.790561| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |230.790662| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |231.074660| | 488 Not acceptable here |SIP Status
| | |(5060) ------------------> (5060) |
1 |231.077545| | ACK | |SIP Request
| | |(5060) <------------------ (5060) |
-----------------------------------------------------------------------------
0 |231.514377| t4-non-ecm-data:v17-14400 | |t38:t4-non-ecm-data:v17-14400 Duration: 1,56s No packet lost
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |232.040488| | DIS DSR:ITU-T V.27 ter, V.29, and V.17 |t38:v21:HDLC:Digital Identification Signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |232.040534| DIS DSR:ITU-T V.27 ter, V.29, and V.17 | |t38:v21:HDLC:Digital Identification Signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |232.100714| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |232.100766| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |233.085393| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |237.279375| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |237.279473| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |238.529364| | DIS DSR:ITU-T V.27 ter, V.29, and V.17 |t38:v21:HDLC:Digital Identification Signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |238.529411| DIS DSR:ITU-T V.27 ter, V.29, and V.17 | |t38:v21:HDLC:Digital Identification Signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |238.589484| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |238.589567| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |240.155397| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) ------------------> (11009) | |
0 |241.835072| fcs-BAD | | |WARNING: received t38:v21:HDLC:fcs-BAD
| |(45170) ------------------> (11009) | |
0 |241.882441| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |243.769193| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |243.769337| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |245.019190| | DIS DSR:ITU-T V.27 ter, V.29, and V.17 |t38:v21:HDLC:Digital Identification Signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |245.019271| DIS DSR:ITU-T V.27 ter, V.29, and V.17 | |t38:v21:HDLC:Digital Identification Signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |245.079206| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |245.079316| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |247.364802| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) ------------------> (11009) | |
0 |248.964450| TSI Num: FAX | |t38:v21:HDLC:Transmitting Subscriber Identification
| |(45170) ------------------> (11009) | |
0 |249.203380| DCS DSR:14 400 bit/s, ITU-T V.17 | |t38:v21:HDLC:Digital Command Signal
| |(45170) ------------------> (11009) | |
0 |249.262397| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
0 |249.324480| v17-14400-long-training | |t38:t30 Ind:v17-14400-long-training
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |250.259052| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |250.259135| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
0 |250.744022| t4-non-ecm-data:v17-14400 | |t38:t4-non-ecm-data:v17-14400 Duration: 1,56s No packet lost
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |251.510671| | DIS DSR:ITU-T V.27 ter, V.29, and V.17 |t38:v21:HDLC:Digital Identification Signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |251.510843| DIS DSR:ITU-T V.27 ter, V.29, and V.17 | |t38:v21:HDLC:Digital Identification Signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |251.569269| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |251.569355| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |252.315510| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |256.732909| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |256.732989| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |257.982864| | DIS DSR:ITU-T V.27 ter, V.29, and V.17 |t38:v21:HDLC:Digital Identification Signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |257.982923| DIS DSR:ITU-T V.27 ter, V.29, and V.17 | |t38:v21:HDLC:Digital Identification Signal
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |258.042949| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |258.043038| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |259.375858| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) ------------------> (11009) | |
0 |260.974429| Ukn (0x00) | |t38:v21:HDLC:Ukn (0x00)
| |(45170) ------------------> (11009) | |
0 |261.274618| no-signal | | |t38:t30 Ind:no-signal
| |(45170) ------------------> (11009) | |
-----------------------------------------------------------------------------
1 |263.237694| | v21-preamble |t38:t30 Ind:v21-preamble
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |263.237756| v21-preamble | |t38:t30 Ind:v21-preamble
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |264.247678| | DCN | |t38:v21:HDLC:Disconnect
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |264.247764| DCN | | |t38:v21:HDLC:Disconnect
| |(45170) <------------------ (11009) | |
-----------------------------------------------------------------------------
1 |264.307728| | no-signal | |t38:t30 Ind:no-signal
| | |(19065) <------------------ (5010) |
-----------------------------------------------------------------------------
0 |264.307771| no-signal | | |t38:t30 Ind:no-signal
| |(45170) <------------------ (11009) | |
0 |264.911807| INVITE SDP (g711A g729 G729 G729 G729 telephone-event) | |SIP From: "6132493232" <sip:6132493232@91.195.100.6:5071;user=phone To:<sip:3912190732@91.195.100.6;user=phone
| |(5060) ------------------> (5060) | |
0 |264.912820| 100 Trying| | |SIP Status
| |(5060) <------------------ (5060) | |
0 |264.913174| 200 OK SDP (g711A telephone-event) | |SIP Status
| |(5060) <------------------ (5060) | |
0 |264.921308| ACK | | |SIP Request
| |(5060) ------------------> (5060) | |
0 |265.073219| RTP (g711A) | |RTP Num packets:28 Duration:0.541s SSRC:0x960CF79
| |(45170) ------------------> (19938) | |
-----------------------------------------------------------------------------
1 |265.499101| | BYE | |SIP Request
| | |(5060) <------------------ (5060) |
1 |265.499669| | 200 OK | |SIP Status
| | |(5060) ------------------> (5060) |
-----------------------------------------------------------------------------
0 |265.618268| BYE | | |SIP Request
| |(5060) <------------------ (5060) | |
0 |265.624110| 200 OK | | |SIP Status
| |(5060) ------------------> (5060) | |