Upgrading from 1.4.21.2~dfsg-3ubuntu2.1

Hi all!

I have a system running Ubuntu 9.04 with Asterisk 1.4.21.2~dfsg-3ubuntu2.1 and FreePbx 2.6.0
Recently I was trying to configure the fax on it but there is something wrong with it. Randomly it hangs during fax receive and after some googling I found out that there are some issues with 1.4.21 which were fixed in the newest versions
issues.asterisk.org/view.php?id=13959

Now my problem is that I’m really a beginner and it took me aprox 2 weeks to get asterisk working properly and I do not want to crash my system.
So, I need some help. Is there anybody who can assist me step by step in an upgrade procedure or give me some help getting the fax working?

Many thanks in advance!

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.

From the logs you have posted it looks like Asterisk crash in RxFax application. Is this the FFA solution (provided by Digium) or have another “source”?

Ioan.

Hi Loan,

thanks for your reply!
It’s the one provided by Digium I guess, since I gave not done any modification and I just installed the package from the Ubu’s default repository.

well - it is not completely right as FFA solution Digium provide is bundle with a license to use. So I do not think you have FFA but rather the spandsp one.

I hope somebody else could help you better on upgrading your Ubuntu server.

HTH,
Ioan.