I'm going to guess its because SOA has rejected the image part on the first leg.  Please provide a complete SIP trace and open a jira. 

Thanks,
Brian

On Feb 9, 2012, at 5:39 AM, Stephen Wilde wrote:

I have trouble with fax because the INVITE generated by FS doesn't contain
the image part.

In my profile I have set:

<param name="t38-passthru" value="true" />

and the dialplan (simplified)  is:

<action application="export" data="t38_passthru=true"/>
<action application="bridge" data="sofia/external/xxxx" />

but when is received an INVITE with SDP:

v=0
o=- 2598299616 0 IN IP4 213.204.31.103
s=session
t=0 0
m=audio 4640 RTP/AVP 18 8 96
c=IN IP4 213.204.31.32
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
m=image 4642 udptl t38
c=IN IP4 213.204.31.32
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxUdpEC:t38UDPRedundancy
a=T38FaxRateManagement:transferredTCF

is generated in the outbound leg an SDP:

  v=0
  o=FreeSWITCH 1328751960 1328751961 IN IP4 217.19.146.173
  s=FreeSWITCH
  c=IN IP4 217.19.146.173
  t=0 0
  m=audio 31196 RTP/AVP 18 8 0 101 13
  a=rtpmap:101 telephone-event/8000
  a=fmtp:101 0-16
  a=ptime:20

without image part.

Here the log:

http://pastebin.freeswitch.org/18333

Any advice?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-- 
Brian West 
FreeSWITCH Solutions, LLC
Phone: +1 (918) 420-9266 
Fax:   +1 (918) 420-9267
brian@freeswitch.org
http://www.freeswitch.org