Sorry just one more thing to be more precise.
Asterisk hags here:
– Accepting voice call from ‘2310380’ to ‘s’ on channel 0/2, span 1
– Executing [s@from-zaptel:1] NoOp(“Zap/2-1”, "Entering from-zaptel with DID == “) in new stack
– Executing [s@from-zaptel:2] Ringing(“Zap/2-1”, “”) in new stack
– Executing [s@from-zaptel:3] Set(“Zap/2-1”, “DID=s”) in new stack
– Executing [s@from-zaptel:4] NoOp(“Zap/2-1”, “DID is now s”) in new stack
– Executing [s@from-zaptel:5] GotoIf(“Zap/2-1”, “1?zapok:notzap”) in new stack
– Goto (from-zaptel,s,8)
– Executing [s@from-zaptel:8] NoOp(“Zap/2-1”, “Is a Zaptel Channel”) in new stack
– Executing [s@from-zaptel:9] Set(“Zap/2-1”, “CHAN=2-1”) in new stack
– Executing [s@from-zaptel:10] Set(“Zap/2-1”, “CHAN=2”) in new stack
– Executing [s@from-zaptel:11] Macro(“Zap/2-1”, “from-zaptel-2|s|1”) in new stack
– Executing [s@macro-from-zaptel-2:1] NoOp(“Zap/2-1”, “Entering macro-from-zaptel-2 with DID = s and setting to: 2310381”) in new stack
– Executing [s@macro-from-zaptel-2:2] Set(“Zap/2-1”, “__FROM_DID=2310381”) in new stack
– Executing [s@macro-from-zaptel-2:3] Goto(“Zap/2-1”, “from-trunk|2310381|1”) in new stack
– Goto (from-trunk,2310381,1)
== Channel ‘Zap/2-1’ jumping out of macro ‘from-zaptel-2’
– Executing [2310381@from-trunk:1] Set(“Zap/2-1”, “__FROM_DID=2310381”) in new stack
– Executing [2310381@from-trunk:2] Gosub(“Zap/2-1”, “app-blacklist-check|s|1”) in new stack
– Executing [s@app-blacklist-check:1] LookupBlacklist(“Zap/2-1”, “”) in new stack
– Executing [s@app-blacklist-check:2] GotoIf(“Zap/2-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:3] Set(“Zap/2-1”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:4] Return(“Zap/2-1”, “”) in new stack
– Executing [2310381@from-trunk:3] ExecIf(“Zap/2-1”, “1 |Set|CALLERID(name)=2310380”) in new stack
– Executing [2310381@from-trunk:4] Wait(“Zap/2-1”, “7”) in new stack
– Executing [2310381@from-trunk:5] Set(“Zap/2-1”, “FAX_RX=system”) in new stack
– Executing [2310381@from-trunk:6] Set(“Zap/2-1”, “FAX_RX_EMAIL= myemail@gmail.com”) in new stack
– Executing [2310381@from-trunk:7] Answer(“Zap/2-1”, “”) in new stack
– Executing [2310381@from-trunk:8] Wait(“Zap/2-1”, “5”) in new stack
– Redirecting Zap/2-1 to fax extension
== Spawn extension (from-trunk, fax, 0) exited non-zero on ‘Zap/2-1’
– Executing [fax@from-trunk:1] Goto(“Zap/2-1”, “ext-fax|in_fax|1”) in new stack
– Goto (ext-fax,in_fax,1)
– Executing [in_fax@ext-fax:1] StopPlayTones(“Zap/2-1”, “”) in new stack
– Executing [in_fax@ext-fax:2] GotoIf(“Zap/2-1”, “1?3:analog_fax|1”) in new stack
– Goto (ext-fax,in_fax,3)
– Executing [in_fax@ext-fax:3] Macro(“Zap/2-1”, “faxreceive”) in new stack
– Executing [s@macro-faxreceive:1] Set(“Zap/2-1”, “FAXFILE=/var/spool/asterisk/fax/asterisk-1269361253.1.tif”) in new stack
– Executing [s@macro-faxreceive:2] Set(“Zap/2-1”, "EMAILADDR=myemail@gmail.com”) in new stack
– Executing [s@macro-faxreceive:3] RxFAX(“Zap/2-1”, “/var/spool/asterisk/fax/asterisk-1269361253.1.tif”) in new stack
myasterisk*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
root@myasterisk:~# asterisk -rvvvvvv
sometimes it hangs in the very beginning sometimes will work till the tiff is saved but could never finish the receiving process.
It always hangs somewhere and I always need to restart Asterisk.