[Home]

Summary:ASTERISK-19500: T.38 session fails with '488 Not acceptable here' if within 5 seconds on asterisk 1.8
Reporter:Gediminas Vileikis (geduxas)Labels:
Date Opened:2012-03-08 05:02:16.000-0600Date Closed:2018-01-02 08:30:27.000-0600
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/T.38
Versions:1.8.9.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) extensions.conf
( 1) full.debug
( 2) iax.conf
( 3) OUT200-20120308-130855-1331204935.54.wav
( 4) test.pcap
Description:I am trying to setup HylaFax with IAX2 to send Fax over SIP, SIP provider supports T.38. incoming fax working as it shoudl, but i can't send fax to outside, fax is dropping after 5 sec.
Comments:By: Gediminas Vileikis (geduxas) 2012-03-08 05:09:28.515-0600

Packet capture.

By: Gediminas Vileikis (geduxas) 2012-03-08 05:15:46.816-0600

debug log

By: Gediminas Vileikis (geduxas) 2012-03-08 05:16:14.404-0600

call record

By: Matt Jordan (mjordan) 2012-03-08 08:11:45.977-0600

Can you provide your sip.conf?  What fax modules have you loaded?

By: Gediminas Vileikis (geduxas) 2012-03-08 08:26:06.197-0600

truly it's standard Elastix configuration with FreePBX fronted.


here is sip.conf

[general]
vmexten=*97
faxdetect=yes
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
useragent=FPBX-2.8.1(1.8.9.2)
disallow=all
allow=alaw
allow=slin
allow=gsm
allow=ulaw
allow=g729
allow=g722
allow=speex
allow=lpc10
allow=g723
allow=g726
allow=ilbc
allow=g726aal2
allow=adpcm
jbenable=no
defaultexpiry=120
maxexpiry=3600
srvlookup=no
minexpiry=60
allowguest=yes
registerattempts=0
registertimeout=20
notifyhold=yes
g726nonstandard=no
t38pt_udptl=yes
videosupport=no
maxcallbitrate=384
canreinvite=yes
rtptimeout=30
rtpholdtimeout=300
checkmwi=10
notifyringing=yes
rtpkeepalive=0
nat=never
externip=xx.xx.xx.xx

allowguest=no

[trunk1]
host=xxx.xx
username=xxx
secret=xxx
type=peer
insecure=port,invite
context=from-trunk-sip-csc_vln



here is modules loaded
*CLI> module show like res_fax
Module                         Description                              Use Count
res_fax.so                     Generic FAX Applications                 2
res_fax_digium.so              Digium G.711 and T.38 FAX Technologies ( 0
res_fax_spandsp.so             Spandsp G.711 and T.38 FAX Technologies  0


res_fax_digium.so is just installed, i am trying to do something :)


By: Gediminas Vileikis (geduxas) 2012-03-11 15:31:35.805-0500

so is there anybodi with that problem ? or i am alone ?

By: Matt Jordan (mjordan) 2012-03-27 10:20:17.815-0500

First, when you don't use the Enter Feedback option, bug marshalls are not notified that you've provided any information, as the issue does not go back into Triage.

Second, this doesn't appear to be an issue with SIP, but with the configuration in your dialplan or iax.  Please attach your extensions.conf, as well as your iax.conf.

By: Gediminas Vileikis (geduxas) 2012-03-28 01:27:04.860-0500

config files

By: Gediminas Vileikis (geduxas) 2012-03-28 01:27:38.408-0500

i have atached requred files.

By: Matt Jordan (mjordan) 2012-04-02 09:37:38.427-0500

I might be missing something, but there's a few inconsistencies in your description of the problem and your dialplan:

1. Your issue description states that inbound faxes work correctly, but I don't see where you have a fax extension defined in your dialplan or the use of the ReceiveFax application.
2. Your issue description does state the outbound faxes have a problem; however, I don't see the SendFax application or where the fax is originating from.  Additionally, it appears in the log/pcap as if the negotiation to being a T38 fax occurs from the other end; are you sure your log is showing an outbound fax?  Or is it showing an inbound fax?

Either way, if you are using fax I would expect to see a fax extension defined with a ReceiveFax application statement somewhere, and - for outbound faxes - usage of the SendFax application to transmit the fax.

By: Gediminas Vileikis (geduxas) 2012-04-03 01:12:13.122-0500

Inbound fax is working, i have setup fax by elastix without tears manual, IAX account and hylafax. so as inbound is works like this
call to SIP > detects fax > forwards to iax 200 ext > hylafax (iaxmodem) accepts connection

outbound call
hylafax (iaxmodem) recives fax via PDF or TIFF > calls from ext. IAX 200 to 8650... via G711 codec, other end is detecting FAX and as i understand our SIP provider sugest connecting T38, truely it connects on T38 and fax begins to send, but call is droping after exactly 5sec. you can hear fax conversation on atached recording.

By: Joshua C. Colp (jcolp) 2017-12-19 06:09:46.260-0600

Is this still a problem under a current supported version of Asterisk? The state machine and T.38 support has changed a lot since 1.8.

By: Asterisk Team (asteriskteam) 2018-01-02 08:30:27.688-0600

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines