[Home]

Summary:ASTERISK-20229: dialing through chan_local breaks t38 fax
Reporter:Walter Doekes (wdoekes)Labels:
Date Opened:2012-08-14 10:32:32Date Closed:2012-09-25 15:14:27
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_local
Versions:1.8.15.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ASTERISK-20229.patch
Description:Marked as regression, because this still works in 1.6.2.x.

Consider the following dialplan:
{noformat}
[default]
exten => s,1,Dial(Local/fax@default)

exten => fax,1,NoOp()
;     same => n,Answer()
;     same => n,Playback(silence/1)
    same => n,ReceiveFAX(/tmp/abc.tiff)
    same => n,Hangup()
{noformat}
with the following sip.conf:
{noformat}
[general]
t38pt_udptl=yes
{noformat}

If you attempt to send a fax to extension 's', you get this:
{noformat}
[Aug 14 17:21:34] ERROR[28450]: res_fax.c:1071 set_fax_t38_caps: channel 'Local/fax@default-962f;2' is in an unsupported T.38 negotiation state, cannot continue.
{noformat}

If you send a fax to 'fax' directly, things work as expected.

A patch that fixes the behaviour is attached, and reviewboard item will be created.


(If we enable the Playback, we get a warning: "file.c: Unexpected control subclass '24'"
but that doesn't alter the rest of the behaviour.)


Kind regards,
Walter Doekes
OSSO B.V.
Comments: