Unable to establish handshaking with fax machine

Hi,
I am simulating the sending of fax using sendfax through voip to reach an Asteria server via ZAP/1 ( PSTN phone line ) which then route call to a fax machine at ZAP/2. It seems like I am not able to establish any handshake with the physical fax machine using the sendfax program. Does anyone know why that happens and how to fix it? The scenario will be deployed in remote location in the future, but I am just running a single machine test right now.

– Accepting AUTHENTICATED call from 127.0.0.1:
> requested format = alaw,
> requested prefs = (),
> actual format = alaw,
> host prefs = (alaw),
> priority = mine
– Executing [0033661681@fax-out:1] NoOp(“IAX2/iaxmodem-1”, “we are at fax-out”) in new stack
– Executing [0033661681@fax-out:2] Dial(“IAX2/iaxmodem-1”, “SIP/voipuser/0033661681”) in new stack
– Called voipuser/008675533661681
– SIP/voipuser-081f99c0 is making progress passing it to IAX2/iaxmodem-1
[Mar 28 04:01:00] NOTICE[16748]: chan_iax2.c:6025 update_registry: Restricting registration for peer ‘iaxmodem’ to 60 seconds (requested 50)
– Starting simple switch on ‘Zap/1-1’
– Executing [s@incoming:1] Answer(“Zap/1-1”, “”) in new stack
– Executing [s@incoming:2] NoOp(“Zap/1-1”, “incoming number is “” <>”) in new stack
– Executing [s@incoming:3] Wait(“Zap/1-1”, “10”) in new stack
– SIP/voipuser-081f99c0 answered IAX2/iaxmodem-1
– Redirecting Zap/1-1 to fax extension
== Spawn extension (incoming, fax, 0) exited non-zero on ‘Zap/1-1’
– Executing [fax@incoming:1] Answer(“Zap/1-1”, “”) in new stack
– Executing [fax@incoming:2] NoOp(“Zap/1-1”, “getting fax”) in new stack
– Executing [fax@incoming:3] Goto(“Zap/1-1”, “fax|s|1”) in new stack
– Goto (fax,s,1)
– Executing [s@fax:1] Answer(“Zap/1-1”, “”) in new stack
– Executing [s@fax:2] NoOp(“Zap/1-1”, “we are at fax”) in new stack
– Executing [s@fax:3] Dial(“Zap/1-1”, “ZAP/2”) in new stack
– Called 2
– Zap/2-1 is ringing
– Zap/2-1 is ringing
– Zap/2-1 answered Zap/1-1
– Native bridging Zap/1-1 and Zap/2-1
– ast_get_srv: SRV lookup for ‘_sip._udp.voipuser.org’ mapped to host sip.voipuser.org, port 5060

Thanks for helping out. I really appreciate it.

Thanks,
Mark

Fax does not work reliably over VOIP.

soft-switch.org/foip.html