VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

проблемы с приемом факсов

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

Модераторы: april22, Zavr2008

egel
Сообщения: 6
Зарегистрирован: 12 ноя 2011, 17:24

Re: проблемы с приемом факсов

Сообщение egel »

все что связано с t38 отключил - не помогло. ниже дебаг звонка на факс (набирал с внутреннего телефона внешний номер, потом добавочный):

Код: Выделить всё

  == Using SIP RTP CoS mark 5
    -- Executing [97777777@CO:1] Dial("SIP/1919-00086189", "SIP/84957777777@intinform") in new stack
  == Using SIP RTP CoS mark 5
Audio is at 217.15.49.126 port 12780
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 217.15.55.210:5060:
INVITE sip:84957777777@217.15.55.210 SIP/2.0
Via: SIP/2.0/UDP 217.15.49.126:5060;branch=z9hG4bK04f6236e;rport
Max-Forwards: 70
From: "testphone" <sip:7777777@217.15.49.126>;tag=as6c51f30a
To: <sip:84957777777@217.15.55.210>
Contact: <sip:7777777@217.15.49.126>
Call-ID: 342f153e1fc7b87e395292f6351509d9@217.15.49.126
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.2.11
Date: Sun, 13 Nov 2011 05:08:37 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261

v=0
o=root 161751253 161751253 IN IP4 217.15.49.126
s=Asterisk PBX 1.6.2.11
c=IN IP4 217.15.49.126
t=0 0
m=audio 12780 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

---
    -- Called 84957777777@intinform

<--- SIP read from UDP:217.15.55.210:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 217.15.49.126:5060;branch=z9hG4bK04f6236e;rport=5060;received=217.15.49.126
From: "testphone" <sip:7777777@217.15.49.126>;tag=as6c51f30a
To: <sip:84957777777@217.15.55.210>
Call-ID: 342f153e1fc7b87e395292f6351509d9@217.15.49.126
CSeq: 102 INVITE
Contact: <sip:84957777777@217.15.55.210:5060>
Server: MERA MVTS3G v.4.4.0-14b
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
  == Using SIP RTP CoS mark 5
    -- Executing [7777777@CO:1] Answer("SIP/217.15.55.202:5061-0008618b", "") in new stack
    -- Executing [7777777@CO:2] BackGround("SIP/217.15.55.202:5061-0008618b", "pool") in new stack
    -- <SIP/217.15.55.202:5061-0008618b> Playing 'pool.gsm' (language 'en')

<--- SIP read from UDP:217.15.55.210:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.15.49.126:5060;branch=z9hG4bK04f6236e;rport=5060;received=217.15.49.126
From: "testphone" <sip:7777777@217.15.49.126>;tag=as6c51f30a
To: <sip:84957777777@217.15.55.210>;tag=1660348567-3776034829-436213386-2686763620
Call-ID: 342f153e1fc7b87e395292f6351509d9@217.15.49.126
CSeq: 102 INVITE
Contact: <sip:84957777777@217.15.55.210:5060>
Content-Type: application/sdp
Allow: ACK, BYE, CANCEL, INFO, INVITE, OPTIONS, REFER, REGISTER, SUBSCRIBE, UPDATE
Server: MERA MVTS3G v.4.4.0-14b
X-mera-expires: 86460
Content-Length:   243

v=0
o=- 1321162227 1321162227 IN IP4 217.15.55.202
s=-
c=IN IP4 217.15.55.202
t=0 0
m=audio 19676 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=silenceSupp:off - - - -

<------------->
--- (12 headers 12 lines) ---
Found RTP audio format 8
Found RTP audio format 101
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x8 (alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x8 (alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 217.15.55.202:19676
list_route: hop: <sip:84957777777@217.15.55.210:5060>
set_destination: Parsing <sip:84957777777@217.15.55.210:5060> for address/port to send to
set_destination: set destination to 217.15.55.210, port 5060
Transmitting (no NAT) to 217.15.55.210:5060:
ACK sip:84957777777@217.15.55.210:5060 SIP/2.0
Via: SIP/2.0/UDP 217.15.49.126:5060;branch=z9hG4bK5fb87268;rport
Max-Forwards: 70
From: "testphone" <sip:7777777@217.15.49.126>;tag=as6c51f30a
To: <sip:84957777777@217.15.55.210>;tag=1660348567-3776034829-436213386-2686763620
Contact: <sip:7777777@217.15.49.126>
Call-ID: 342f153e1fc7b87e395292f6351509d9@217.15.49.126
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.6.2.11
Content-Length: 0


---
    -- SIP/intinform-0008618a answered SIP/1919-00086189
[Nov 13 08:08:40] NOTICE[2678]: chan_iax2.c:8446 update_registry: Restricting registration for peer 'iaxmodem1' to 60 seconds (requested 300)
  == CDR updated on SIP/217.15.55.202:5061-0008618b
    -- Executing [1000@CO:1] Dial("SIP/217.15.55.202:5061-0008618b", "IAX2/iaxmodem0/1000,120,r") in new stack
    -- Called iaxmodem0/1000
    -- Call accepted by 127.0.0.1 (format alaw)
    -- Format for call is alaw
    -- IAX2/iaxmodem0-1769 is ringing
    -- IAX2/iaxmodem0-1769 answered SIP/217.15.55.202:5061-0008618b

<--- SIP read from UDP:217.15.55.210:5060 --->
INVITE sip:7777777@217.15.49.126 SIP/2.0
Via: SIP/2.0/UDP 217.15.55.210:5060;rport;branch=z9hG4bK-3626508192-3776034829-436213386-26867636201
Via: SIP/2.0/UDP 217.15.55.202:5061;rport=5061;branch=z9hG4bK-3626508192-3776034829-436213386-2686763620;received=217.15.55.202
From: <sip:84957777777@217.15.55.210>;tag=1660348567-3776034829-436213386-2686763620
To: "testphone" <sip:7777777@217.15.49.126>;tag=as6c51f30a
Call-ID: 342f153e1fc7b87e395292f6351509d9@217.15.49.126
CSeq: 103 INVITE
Contact: <sip:84957777777@217.15.55.210:5060>
Content-Type: application/sdp
Allow: ACK, BYE, CANCEL, INFO, INVITE, OPTIONS, REFER, REGISTER, SUBSCRIBE, UPDATE
Max-Forwards: 70
User-Agent: MERA MVTS3G v.4.4.0-14b
Content-Length:   197

v=0
o=- 1321162240 1321162240 IN IP4 217.15.55.202
s=-
c=IN IP4 217.15.55.202
t=0 0
m=image 19676 udptl t38
a=T38FaxRateManagement:transferredTCF
a=T38FaxUdpEC:t38UDPRedundancy
a=sendrecv

<------------->
--- (13 headers 9 lines) ---
Sending to 217.15.55.210 : 5060 (no NAT)
Got T.38 offer in SDP in dialog 342f153e1fc7b87e395292f6351509d9@217.15.49.126
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x0 (nothing)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x0 (nothing), combined - 0x0 (nothing)
Got T.38 Re-invite without audio. Keeping RTP active during T.38 session.

<--- Transmitting (no NAT) to 217.15.55.210:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 217.15.55.210:5060;branch=z9hG4bK-3626508192-3776034829-436213386-26867636201;received=217.15.55.210;rport=5060
Via: SIP/2.0/UDP 217.15.55.202:5061;rport=5061;branch=z9hG4bK-3626508192-3776034829-436213386-2686763620;received=217.15.55.202
From: <sip:84957777777@217.15.55.210>;tag=1660348567-3776034829-436213386-2686763620
To: "testphone" <sip:7777777@217.15.49.126>;tag=as6c51f30a
Call-ID: 342f153e1fc7b87e395292f6351509d9@217.15.49.126
CSeq: 103 INVITE
Server: Asterisk PBX 1.6.2.11
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:7777777@217.15.49.126>
Content-Length: 0
sip show channels

Код: Выделить всё

Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry
10.10.11.194     1576             8ffe9414-110632  0x4 (ulaw)       No       Rx: ACK
10.10.13.85      1186             94f704bc-8bd2b6  0x4 (ulaw)       No       Rx: ACK
192.102.0.144    3101             641671bf258ad02  0x4 (ulaw)       No       Tx: ACK
217.15.55.210    89081580579      25137dab402a72b  0x8 (alaw)       No       Tx: ACK
10.10.11.180     (None)           44ece90d-908c29  0x0 (nothing)    No       Rx: REGISTER
10.10.101.1      (None)           4b9d50-f985c6ff  0x0 (nothing)    No       Rx: REGISTER
192.102.0.59     3104             b0e3e5e-bdf3ccf  0x4 (ulaw)       No       Rx: ACK
10.10.12.227     (None)           12ed5fb2-102f08  0x0 (nothing)    No       Rx: REGISTER
10.10.100.75     1114             3f7fd8bb393c1ea  0x4 (ulaw)       No       Tx: ACK
192.102.0.79     3133             23a160673699331  0x4 (ulaw)       No       Tx: ACK
10.10.100.26     (None)           784ea729-4e2a0f  0x0 (nothing)    No       Rx: REGISTER
192.102.0.186    1661             4b870e30-782d5c  0x4 (ulaw)       No       Rx: ACK
217.15.55.210    int           6e0e8ac877e017b  0x0 (nothing)    No
13 active SIP dialogs
egel
Сообщения: 6
Зарегистрирован: 12 ноя 2011, 17:24

Re: проблемы с приемом факсов

Сообщение egel »

Всем спасибо за помощь. Связался с провайдером факс нам переключат на g711.
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: проблемы с приемом факсов

Сообщение Vlad1983 »

если откажется можно попробовать http://www.ictfax.org/ оно вроде как может t38
либо вместо iaxmodem использовать t38modem http://www.voip-info.org/wiki/view/T38m ... h+Asterisk
ЛС: @rostel
Pragmatic
Сообщения: 97
Зарегистрирован: 04 фев 2011, 13:25
Откуда: Оренбург-Орск
Контактная информация:

Re: проблемы с приемом факсов

Сообщение Pragmatic »

обновиться до 1.8 и забыть о проблемах с факсами (что анал, что цифра) как страшный сон.
Телефонные системы на базе Asterisk, системы интерактивного сбора показаний приборов учета, авто-информатор - http://atsip.ru
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH