не знаю насчет топора..но...
попробовал с faststart поиграть - безуспешно.
Есть какие-нибудь идеи?
Код: Выделить всё
; Open H.323 driver configuration
[general]
port = 1720
bindaddr = 10.118.118.231
disallow=all
allow=alaw
;allow=g729
dtmfmode=inband
gatekeeper = DISABLE
context=default
progress_setup = 8
progress_alert = 8
h245tunneling=yes
language=ru
t83pt_udptl=yes
faxdetect=yes
fastStart=yes
[Avaya]
faxdetect=yes
t83pt_udptl=yes
type=friend
context=default
host=10.10.100.7
port=1720
disallow=all
allow=alaw
;allow=g729
allow=gsm
allow=slinear
language=ru
faxtstart=yes
Код: Выделить всё
exten => 2904,1,Answer()
exten => 2904,n,Wait(2)
exten => 2904,n,ReceiveFax(/var/spool/asterisk/fax/test.tif)
exten => 2904,n,HangUp()
== New H.323 Connection created.
--Received SETUP message
-- Setting up Call
-- Call token: [ip$10.10.100.7:24726/12801]
-- Calling party name: [AM48]
-- Calling party number: [5698]
-- Called party name: [2904]
-- Called party number: [2904]
-- Calling party IP: [10.10.100.7]
Setting capabilities to 0x8 (alaw)
Capabilities in preference order is (alaw)
DTMF mode is 8
Allowed Codecs for ip$10.10.100.7:24726/12801 (ip$10.118.118.231:1720):
Table:
G.711-ALaw-64k <1>
UserInput/hookflash <2>
UserInput/basicString <3>
Set:
0:
0:
G.711-ALaw-64k <1>
1:
UserInput/hookflash <2>
2:
UserInput/basicString <3>
=-= In OnAnswerCall for call 12801
- Progress Indicator: 0
- Inserting PI of 8 into ALERTING message
-- Started logical channel: sending G.711-ALaw-64k
-- channelsOpen = 1
External RTP Session Starting
RTP channel id 1 parameters:
-- remoteIpAddress: 10.10.100.8
-- remotePort: 9152
-- ExternalIpAddress: 10.118.118.231
-- ExternalPort: 17828
-- Started logical channel: receiving G.711-ALaw-64k
-- channelsOpen = 2
External RTP Session Starting
RTP channel id 1 parameters:
-- remoteIpAddress: 10.10.100.8
-- remotePort: 9152
-- ExternalIpAddress: 10.118.118.231
-- ExternalPort: 17828
-- Executing [2904@default:1] Answer("H323/ip$10.10.100.7:24726/12801", "") in new stack
Answering call ip$10.10.100.7:24726/12801
-- Received Facility message...
Peer capability is G.711-ALaw-64k <1>
Found peer capability G.711-ALaw-64k <1>, Asterisk code is 8, frame size (in ms) is 20
Peer capability is G.729A <2>
Found peer capability G.729A <2>, Asterisk code is 256, frame size (in ms) is 60
Peer capability is G.711-uLaw-64k <3>
Found peer capability G.711-uLaw-64k <3>, Asterisk code is 4, frame size (in ms) is 20
Peer capability is UserInput/dtmf <6>
Peer capabilities = 0x10c (ulaw|alaw|g729), ordered list is (alaw|g729|ulaw)
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
=-= In OnConnectionEstablished for call 12801
-- Connection Established with "AM48 [10.10.100.7]"
-- Received Facility message...
-- Executing [2904@default:2] Wait("H323/ip$10.10.100.7:24726/12801", "2") in new stack
-- Executing [2904@default:3] ReceiveFAX("H323/ip$10.10.100.7:24726/12801", "/var/spool/asterisk/fax/test.tif") in new stack
-- Received Facility message...
-- ClearCall: Request to clear call with token ip$10.10.100.7:24726/12801, cause EndedByRemoteUser
-- Sending RELEASE COMPLETE
channelsOpen = 1
channelsOpen = 0
ExternalRTPChannel Destroyed
ExternalRTPChannel Destroyed
-- ClearCall: Request to clear call with token ip$10.10.100.7:24726/12801, cause EndedByTransportFail
-- AM48 [10.10.100.7] has cleared the call
== H.323 Connection deleted.
[Apr 27 13:02:05] WARNING[8362]: app_fax.c:223 phase_e_handler: Error transmitting fax. result=49: The call dropped prematurely.
[Apr 27 13:02:05] WARNING[8362]: app_fax.c:817 transmit: Transmission error
== Spawn extension (default, 2904, 3) exited non-zero on 'H323/ip$10.10.100.7:24726/12801'