Calls are distorted or one side heard only after bridged fax

Hi,

we have tried this with Asterisk 1.4.5 and Zaptel 1.4.4 and lower version, down to 1.4.0. Always the same problem.

We have a POTS coming in to an FXO port on TDM800P and a Fax machine connected to an FXS port on the same board (board has one X400M and two s100m modules).

Configuration is fairly simple. Incoming call should go to a SIP extension first, if it doesn’t pick up after 3-4 rings, it goes to fax.

Now, while the person picks up at SIP extension, all is ok, but after the first fax comes in, or is sent from the fax machine, things go bad.

All next calls coming in work fine if they go to fax, but if SIP extension picks up, it does not hear the caller, but a nasty noise. Or nothing at all.

As if a bridged FXO-FXS fax transmission somehow changes the behaviour of zap FXO port or Asterisk.

Reload doesn’t help, neither channel reload, nor Asterisk restart. Only when we restart the whole server, all is ok again, until the next fax is sent, when it goes to hell again.

Any clues ?

And what does thelogs show ?

As when fax tone is heard echocancel is stopped. so may show something in the logs.

Ian

– <Zap/9-1> Playing ‘arcelor-fax’ (language ‘en’)

[Jun 29 09:45:19] VERBOSE[2473] logger.c: – Executing [s@incoming3131844:3] Dial(“Zap/9-1”, “Zap/14”) in new stack
[Jun 29 09:45:19] VERBOSE[2473] logger.c: – Called 14
[Jun 29 09:45:19] VERBOSE[2473] logger.c: – Zap/14-1 is ringing
[Jun 29 09:45:21] VERBOSE[2473] logger.c: – Zap/14-1 is ringing
[Jun 29 09:45:21] NOTICE[2475] chan_zap.c: Got event 18 (Ring Begin)…
[Jun 29 09:45:22] NOTICE[2475] chan_zap.c: Got event 2 (Ring/Answered)…

[Jun 29 09:45:25] VERBOSE[2473] logger.c: – Zap/14-1 answered Zap/9-1
[Jun 29 09:45:25] VERBOSE[2473] logger.c: – Native bridging Zap/9-1 and Zap/14-1

This is log, but problem arise even when call is originted from fax machine
Zap/14-FXS to Zap/9-FXO. All inbound calls, after that, that comes in on Zap/9 have problem that calee doesn’t hear caller

Hi

Set debug to 99 and verbose to 99 then try a call

Ian

------------------ incoming call when system boots, picking up on SIP/111, both sides heard fine

-- Starting simple switch on 'Zap/9-1'

[Jun 29 16:31:50] NOTICE[1108]: chan_zap.c:6364 ss_thread: Got event 18 (Ring Begin)…
[Jun 29 16:31:51] NOTICE[1108]: chan_zap.c:6364 ss_thread: Got event 2 (Ring/Answered)…
– Executing [s@incoming3131844:1] Answer(“Zap/9-1”, “”) in new stack
– Executing [s@incoming3131844:2] Dial(“Zap/9-1”, “Sip/111|15|t”) in new stack
– Called 111
– SIP/111-097979a0 is ringing
– SIP/111-097979a0 answered Zap/9-1
== Spawn extension (incoming3131844, s, 2) exited non-zero on ‘Zap/9-1’
– Hungup 'Zap/9-1’
Really destroying SIP dialog ‘629138e717b9fa0f0bb4d77729f38a16@192.168.127.5’ Method: BYE

-------------------- sending fax from fax machine

-- Starting simple switch on 'Zap/9-1'

[Jun 29 16:39:02] NOTICE[1150]: chan_zap.c:6364 ss_thread: Got event 18 (Ring Begin)…
[Jun 29 16:39:03] NOTICE[1150]: chan_zap.c:6364 ss_thread: Got event 2 (Ring/Answered)…
– Executing [s@incoming3131844:1] Answer(“Zap/9-1”, “”) in new stack
– Executing [s@incoming3131844:2] Dial(“Zap/9-1”, “Sip/111|15|t”) in new stack
– Called 111
– SIP/111-09798f20 is ringing
– Nobody picked up in 15000 ms
– Executing [s@incoming3131844:3] Dial(“Zap/9-1”, “Zap/14”) in new stack
– Called 14
Really destroying SIP dialog ‘613549e4733379b13d88285241738ecb@192.168.127.5’ Method: INVITE
– Zap/14-1 is ringing
– Zap/14-1 is ringing
– Zap/14-1 answered Zap/9-1
– Native bridging Zap/9-1 and Zap/14-1
– Hungup ‘Zap/3-1’
== Spawn extension (lokali2, 93443663, 1) exited non-zero on 'SIP/105-097979a0’
Really destroying SIP dialog ‘21a17b9236c85d20@192.168.127.59’ Method: BYE
– Hungup ‘Zap/14-1’
== Spawn extension (incoming3131844, s, 3) exited non-zero on ‘Zap/9-1’
– Hungup ‘Zap/9-1’

--------------------- incomig call after fax sent, answering on SIP/111, cannot hear caller

-- Starting simple switch on 'Zap/9-1'

[Jun 29 16:42:34] NOTICE[1175]: chan_zap.c:6364 ss_thread: Got event 18 (Ring Begin)…
[Jun 29 16:42:35] NOTICE[1175]: chan_zap.c:6364 ss_thread: Got event 2 (Ring/Answered)…
– Executing [s@incoming3131844:1] Answer(“Zap/9-1”, “”) in new stack
– Executing [s@incoming3131844:2] Dial(“Zap/9-1”, “Sip/111|15|t”) in new stack
– Called 111
– SIP/111-097979a0 is ringing
– SIP/111-097979a0 answered Zap/9-1
== Spawn extension (incoming3131844, s, 2) exited non-zero on ‘Zap/9-1’
– Hungup 'Zap/9-1’
Really destroying SIP dialog ‘7c20313b3b93d4890ce4fa4f6c5aa5ad@192.168.127.5’ Method: BYE


I dont see anything strange here…

in asterisk log (messages):

[Jun 29 16:42:34] NOTICE[1175] chan_zap.c: Got event 18 (Ring Begin)…
[Jun 29 16:42:35] NOTICE[1175] chan_zap.c: Got event 2 (Ring/Answered)…

Also nothing…

Please anybody, any idea?

Have you figured out this issue? I am getting some noise with fax myself.

Thanks…

[quote=“jimmyclark”]Have you figured out this issue? I am getting some noise with fax myself.

Thanks…[/quote]

nope… :frowning: