Koozali.org: home of the SME Server

Fax doesn't work anymore...

Offline gery

  • *
  • 15
  • +0/-0
Fax doesn't work anymore...
« on: September 23, 2008, 10:09:20 PM »
Hi,

I'm using a SPA-2000 with
1.) Siemens Gigaset (Operator Extension, 5000)
2.) Fax HP Laserjet 3200 (Extension 7000)

My PCI Telephony Cards is an TDM400 which I use to fax and phone. In Globals Autosense FAX Extension is set to 7000 and FAX Detect Delay is set to 4.
Fax is selected in the Analogue Trunk.
The state of extension 7000 is OK.

It is possible to sent faxes.
When I receive a fax I get following message:

 -- Starting simple switch on 'Zap/4-1'
    -- Executing [s@mainmenu:1] GotoIf("Zap/4-1", "1?s-0645230914|1") in new stack
    -- Goto (mainmenu,s-0645230914,1)
    -- Executing [s-0645230914@mainmenu:1] AGI("Zap/4-1", "selintra|Inbound|0645230914") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Ringing) Options: ((null))
    -- AGI Script Executing Application: (Wait) Options: (5)
    -- AGI Script selintra completed, returning 0
    -- Executing [5000@extensions:1] AGI("Zap/4-1", "selintra|InCall|") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Dial) Options: (SIP/5000|20|twW)
    -- Called 5000
    -- SIP/5000-09a56da8 is ringing
    -- Nobody picked up in 20000 ms
    -- AGI Script Executing Application: (Playback) Options: (silence/1)
    -- <Zap/4-1> Playing 'silence/1' (language 'de')
[Sep 23 21:47:56] NOTICE[18414]: chan_zap.c:3649 zt_handle_dtmfup: Fax detected, but no fax extension
    -- AGI Script Executing Application: (Voicemail) Options: (5000|su)
    -- <Zap/4-1> Playing '/var/spool/asterisk/voicemail/default/5000/unavail' (language 'de')
    -- <Zap/4-1> Playing 'beep' (language 'de')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/5000/tmp/Qhvxac format: wav49, 0x9a99070
    -- User hung up
  == Spawn extension (extensions, 5000, 1) exited non-zero on 'Zap/4-1'
    -- Executing [h@extensions:1] Hangup("Zap/4-1", "") in new stack
  == Spawn extension (extensions, h, 1) exited non-zero on 'Zap/4-1'
    -- Hungup 'Zap/4-1'
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected

I hope you can help me
G.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Fax doesn't work anymore...
« Reply #1 on: September 23, 2008, 10:36:41 PM »
HI Gery,

Which releae of SAIL do you have and which Asterisk rpms have you installed?

I can see from your log (thankyou for this) that Asterisk is detecting the fax but not until long after the call has already been sent to extension 5000. One small question - yiu say that faxdetectdelay is set to 4 but the system is issuing a wait of 5 seconds.  Can you confirm please?

Finally, did you ever have fax working and what, if anything, have you changed since then?


Thankyou

S




Offline gery

  • *
  • 15
  • +0/-0
Re: Fax doesn't work anymore...
« Reply #2 on: September 23, 2008, 11:22:30 PM »
sail version: sail-2.2.1-664
asterisk version: asterisk 1.4.21.1

Fax worked in the past.
I updated sail and asterisk today.
Fax out still works.
I already tried a fax dedect delay of 7 or 3 seconds. The log message is the same.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Fax doesn't work anymore...
« Reply #3 on: September 24, 2008, 12:14:06 AM »
What release did you have before the update?

Sorry to ask lots of questions but it may help me find the bug.

I will sim ulate thgis in a day or two and get back to.

Thankyou for reporting this.

S

Offline gery

  • *
  • 15
  • +0/-0
Re: Fax doesn't work anymore...
« Reply #4 on: September 24, 2008, 11:00:16 AM »
I think it was sail-2.2.1-640 or sail-2.2.1-644.
But the problem in receiving faxes could have been already before updating.
I don't receive so many faxes. Sending alwas worked.

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Fax doesn't work anymore...
« Reply #5 on: September 26, 2008, 02:04:10 AM »
I've had the same problem here. I have extended the fax detect delay out to 10 without success.
I still get the Fax detected but no fax extension found.
I've just been blind transferring the call to the fax extension. Luckily I don't recieve many faxes or it would probably irritate the heck out of me.....

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Fax doesn't work anymore...
« Reply #6 on: August 26, 2009, 02:08:10 PM »
Just an update on this...

WE think we've tracked down the problem (with help from frederik - thanks frederik).  We've put a patch on frederik's machine which seems to cure the issue.  PLan is to include the patch in the next release cycle.

Sorry this problem has taken so long to run down.

Best

S