[asterisk-dev] trying to port t38 gateway patch to svn revision 222535

Niccolò Belli darkbasic4 at gmail.com
Wed Oct 7 15:12:48 CDT 2009


Hi!
I'm trying to port t38 gateway patch to asterisk 1.6.2, but I'm not a
developer and so I'm not sure of what I'm doing.
This is the original patch: http://darkbasic.homelinux.com/t38-gw-r205116.patch
and this is the one modified by me:
http://darkbasic.homelinux.com/t38-gw-r222535.patch

It compiles flawlessly, but I get some errors when I try to send faxes:

   -- Accepting AUTHENTICATED call from 127.0.0.1:
      > requested format = slin,
      > requested prefs = (),
      > actual format = slin,
      > host prefs = (slin),
      > priority = mine
   -- Executing [<exten>@fax-out:1] FaxGateway("IAX2/iaxmodem-6207",
"SIP/eutelia/<exten>") in new stack
 == Using SIP RTP CoS mark 5
 == Using UDPTL CoS mark 5
<< [ TYPE: Control (4) SUBCLASS: Unknown control '14' (14) ]
[SIP/eutelia-01457938]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [SIP/eutelia-01457938]
   -- Registered IAX2 'iaxmodem' (AUTHENTICATED) at 127.0.0.1:55454
[Oct  7 18:51:40] NOTICE[31882]: chan_iax2.c:8366 update_registry:
Restricting registration for peer 'iaxmodem' to 60 seconds (requested
50)
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [SIP/eutelia-01457938]
<< [ TYPE: Control (4) SUBCLASS: Answer (4) ] [SIP/eutelia-01457938]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
<< [ TYPE: Control (4) SUBCLASS: T38_Parameters/Negotiated (24) ]
[SIP/eutelia-01457938]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [SIP/eutelia-01457938]
<< [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
<< [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
<< [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
<< [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
[...]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
[Oct  7 18:52:01] WARNING[32003]: udptl.c:997 ast_udptl_write: UDPTL
asked to send 41 bytes of IFP when far end only prepared to accept 23
bytes; data loss may occur. You may need to override the
T38FaxMaxDatagram value for this endpoint in the channel driver
configuration.
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
[Oct  7 18:52:01] WARNING[32003]: udptl.c:997 ast_udptl_write: UDPTL
asked to send 41 bytes of IFP when far end only prepared to accept 23
bytes; data loss may occur. You may need to override the
T38FaxMaxDatagram value for this endpoint in the channel driver
configuration.
[Oct  7 18:52:01] ERROR[32003]: udptl.c:291 encode_open_type: Buffer
overflow detected (41 + 63 > 72)
[Oct  7 18:52:01] NOTICE[32003]: udptl.c:1010 ast_udptl_write: UDPTL
Transmission error to 83.211.2.219:16584: Message too long
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
[Oct  7 18:52:01] WARNING[32003]: udptl.c:997 ast_udptl_write: UDPTL
asked to send 41 bytes of IFP when far end only prepared to accept 23
bytes; data loss may occur. You may need to override the
T38FaxMaxDatagram value for this endpoint in the channel driver
configuration.
[Oct  7 18:52:01] ERROR[32003]: udptl.c:291 encode_open_type: Buffer
overflow detected (41 + 63 > 72)
[Oct  7 18:52:01] NOTICE[32003]: udptl.c:1010 ast_udptl_write: UDPTL
Transmission error to 83.211.2.219:16584: Message too long
>> [ TYPE: Modem (11) SUBCLASS: T.38 (1) ] [SIP/eutelia-01457938]
[Oct  7 18:52:01] WARNING[32003]: udptl.c:997 ast_udptl_write: UDPTL
asked to send 41 bytes of IFP when far end only prepared to accept 23
bytes; data loss may occur. You may need to override the
T38FaxMaxDatagram value for this endpoint in the channel driver
configuration.
[Oct  7 18:52:01] ERROR[32003]: udptl.c:291 encode_open_type: Buffer
overflow detected (41 + 63 > 72)
[Oct  7 18:52:01] NOTICE[32003]: udptl.c:1010 ast_udptl_write: UDPTL
Transmission error to 83.211.2.219:16584: Message too long
[...]

Can someone help me? I need the t38 gateway feature in a asterisk 1.6.2 box...

Cheers,
Darkbasic



More information about the asterisk-dev mailing list