QUESTION Avantfax IncPBX for Raspi - busy signal detected

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Hi,

I'm running Incredible PBX for Raspi 3B+. Recently I installed Incredible Fax: /root/incrediblefax13_raspi3.sh.
Incoming faxes come through alright. However, when trying to send a fax I get "busy signal detected."

I've seen a number of similar issues, but I wasn't able to find a solution. Here is what i get when trying to send a fax:

Accepting AUTHENTICATED call from 127.0.0.1:4573:
-- > requested format = ulaw,
-- > requested prefs = (),
-- > actual format = ulaw,
-- > host prefs = (ulaw),
-- > priority = mine
-- Executing [416XXXXXXX@from-fax:1] Dial("IAX2/iax-fax3-1542", "local/416XXXXXXX@from-internal") in new stack
-- Called local/416XXXXXXX@from-internal
-- Executing [416XXXXXXX@from-internal:1] Macro("Local/416XXXXXXX@from-internal-00000005;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/416XXXXXXX@from-internal-00000005;2", "TOUCH_MONITOR=1542868671.17") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/416XXXXXXX@from-internal-00000005;2", "AMPUSER=+00000000003") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/416XXXXXXX@from-internal-00000005;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/416XXXXXXX@from-internal-00000005;2", "1?Set(REALCALLERIDNUM=+00000000003)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/416XXXXXXX@from-internal-00000005;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/416XXXXXXX@from-internal-00000005;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/416XXXXXXX@from-internal-00000005;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("Local/416XXXXXXX@from-internal-00000005;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,14)
-- Executing [s@macro-user-callerid:14] GotoIf("Local/416XXXXXXX@from-internal-00000005;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,27)
-- Executing [s@macro-user-callerid:27] Set("Local/416XXXXXXX@from-internal-00000005;2", "CALLERID(number)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:28] Set("Local/416XXXXXXX@from-internal-00000005;2", "CALLERID(name)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("Local/416XXXXXXX@from-internal-00000005;2", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:30] Set("Local/416XXXXXXX@from-internal-00000005;2", "CDR(cnam)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:31] Set("Local/416XXXXXXX@from-internal-00000005;2", "CDR(cnum)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:32] Set("Local/416XXXXXXX@from-internal-00000005;2", "CHANNEL(language)=en") in new stack
-- Executing [416XXXXXXX@from-internal:2] NoCDR("Local/416XXXXXXX@from-internal-00000005;2", "") in new stack
-- Executing [416XXXXXXX@from-internal:3] Progress("Local/416XXXXXXX@from-internal-00000005;2", "") in new stack
-- Executing [416XXXXXXX@from-internal:4] Wait("Local/416XXXXXXX@from-internal-00000005;2", "1") in new stack
-- Local/416XXXXXXX@from-internal-00000005;1 is making progress passing it to IAX2/iax-fax3-1542
-- Executing [416XXXXXXX@from-internal:5] Playback("Local/416XXXXXXX@from-internal-00000005;2", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <Local/416XXXXXXX@from-internal-00000005;2> Playing 'silence/1.ulaw' (language 'en')
-- <Local/416XXXXXXX@from-internal-00000005;2> Playing 'cannot-complete-as-dialed.ulaw' (language 'en')
-- <Local/416XXXXXXX@from-internal-00000005;2> Playing 'check-number-dial-again.ulaw' (language 'en')
-- Executing [416XXXXXXX@from-internal:6] Wait("Local/416XXXXXXX@from-internal-00000005;2", "1") in new stack
-- Executing [416XXXXXXX@from-internal:7] Congestion("Local/416XXXXXXX@from-internal-00000005;2", "20") in new stack
-- Local/416XXXXXXX@from-internal-00000005;1 is circuit-busy
== Spawn extension (from-internal, 416XXXXXXX, 7) exited non-zero on 'Local/416XXXXXXX@from-internal-00000005;2'
-- Executing [h@from-internal:1] Macro("Local/416XXXXXXX@from-internal-00000005;2", "hangupcall") in new stack
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [416XXXXXXX@from-fax:2] Goto("IAX2/iax-fax3-1542", "outbound-allroutes,416XXXXXXX,1") in new stack
-- Goto (outbound-allroutes,416XXXXXXX,1)
-- Executing [416XXXXXXX@outbound-allroutes:1] Macro("IAX2/iax-fax3-1542", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/416XXXXXXX@from-internal-00000005;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("Local/416XXXXXXX@from-internal-00000005;2", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("Local/416XXXXXXX@from-internal-00000005;2", "") in new stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/iax-fax3-1542", "TOUCH_MONITOR=1542868671.15") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/416XXXXXXX@from-internal-00000005;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/416XXXXXXX@from-internal-00000005;2'
-- Executing [s@macro-user-callerid:2] Set("IAX2/iax-fax3-1542", "AMPUSER=+00000000003") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("IAX2/iax-fax3-1542", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("IAX2/iax-fax3-1542", "1?Set(REALCALLERIDNUM=+00000000003)") in new stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/iax-fax3-1542", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/iax-fax3-1542", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("IAX2/iax-fax3-1542", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("IAX2/iax-fax3-1542", "1?report") in new stack
-- Goto (macro-user-callerid,s,14)
-- Executing [s@macro-user-callerid:14] GotoIf("IAX2/iax-fax3-1542", "1?continue") in new stack
-- Goto (macro-user-callerid,s,27)
-- Executing [s@macro-user-callerid:27] Set("IAX2/iax-fax3-1542", "CALLERID(number)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:28] Set("IAX2/iax-fax3-1542", "CALLERID(name)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("IAX2/iax-fax3-1542", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:30] Set("IAX2/iax-fax3-1542", "CDR(cnam)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:31] Set("IAX2/iax-fax3-1542", "CDR(cnum)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:32] Set("IAX2/iax-fax3-1542", "CHANNEL(language)=en") in new stack
-- Auto fallthrough, channel 'IAX2/iax-fax3-1542' status is 'CONGESTION'
-- Hungup 'IAX2/iax-fax3-1542'

Any suggestions?
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Bump
The same issue on a new install of Incredible PBX 13-13.10 with Incrediblefax on RPi 3 - "busy signal detected" - when attempting to send fax.
I ran apt-get update & apt-get upgrade before installing Incrediblefax - otherwise there are no sources to install. I added the email address and area code as suggested, everything else is default. The PBX is fully functional with the send fax exception.

Anyone?
 

Eliad

Active Member
Joined
Aug 13, 2017
Messages
619
Reaction score
127
There is another post on this which might help. The order of services started by rc.d might be out of order. I can't remember the title of the post.
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Well, rc.local has different format for Incredible PBX on CentOS and RPi, so my guess is that Hylafax & components start from some other script on the RPi. That may be the issue!?

Anyone any POV?

RPi:
root@incrediblepbx:/etc# cat rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "/usr/local/sbin/iptables-restart
#exit zero" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi

/etc/init.d/mysql restart
sleep 30
/usr/local/sbin/fwconsole restart
sleep 7

/usr/local/sbin/iptables-restart
exit 0

CentOS:
root@h73:/etc/rc.d $ cat rc.local
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# that this script will be executed during boot.

touch /var/lock/subsys/local
sleep 5
/root/sig-fix
sleep 5
/usr/local/sbin/fwconsole start
sleep 5
/usr/local/sbin/iptables-restart
sleep 10
$(which faxgetty) -D ttyIAX0
$(which faxgetty) -D ttyIAX1
$(which faxgetty) -D ttyIAX2
$(which faxgetty) -D ttyIAX3
sleep5
/usr/sbin/hylafax start
sleep 5
exit 0
 

Eliad

Active Member
Joined
Aug 13, 2017
Messages
619
Reaction score
127
If Iptables is last then you will have problems this is my file

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
sleep 5
/root/sig-fix
sleep 5
/usr/local/sbin/iptables-restart
sleep 5
/usr/local/sbin/fwconsole start
sleep 10
exit 0
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
For the sake of the exercise I reversed the order of the 'iptables' and fwconsole' statements in the /etc/rc.local file. Asterisk does not start at all with all delays.

...and for the sake of clarity - the rc.local files I posted in my previous entry are:
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
- Incredible PBX 13-13.10 on CentOS running on a VPS
- Incredible PBX 13-13.10 running on Raspberry Pi 3B (same behaviour as 13-13.7 runing on same RPi)

Fax send receive works on CentOS, while fax receive only work on RPi - fax send on RPi 3 13-13.7 and 13-13.10 does not work with the error "busy signal detected." as posted in my original (#1) post in this thread
 

Eliad

Active Member
Joined
Aug 13, 2017
Messages
619
Reaction score
127
sorry, from here on I do not know how to help you, i thought you had the same problem i did in the past.
Did you look at the Asterisk CLI output when you try dial out. That output might give the answer what is wrong. There are on this forum true experts (i am not) that can decipher from the CLI output what is going on.
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Here is the Asterisk CLI output - note that I have the trunks and outbound route configured properly, and 10 & 11 digits dialing; also, phone calls work properly on the same trunk:

Connected to Asterisk 13.27.0 currently running on h73 (pid = 30158)
-- Accepting UNAUTHENTICATED call from 127.0.0.1:4573:
-- > requested format = ulaw,
-- > requested prefs = (),
-- > actual format = ulaw,
-- > host prefs = (ulaw),
-- > priority = mine
-- Executing [18884732963@from-fax:1] Dial("IAX2/iax-fax3-15280", "local/18884732963@from-internal") in new stack
-- Called local/18884732963@from-internal
-- Executing [18884732963@from-internal:1] Macro("Local/18884732963@from-internal-00000000;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/18884732963@from-internal-00000000;2", "TOUCH_MONITOR=1563372574.36") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/18884732963@from-internal-00000000;2", "AMPUSER=+00000000003") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/18884732963@from-internal-00000000;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/18884732963@from-internal-00000000;2", "1?Set(REALCALLERIDNUM=+00000000003)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/18884732963@from-internal-00000000;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/18884732963@from-internal-00000000;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/18884732963@from-internal-00000000;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("Local/18884732963@from-internal-00000000;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Local/18884732963@from-internal-00000000;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] NoOp("Local/18884732963@from-internal-00000000;2", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("Local/18884732963@from-internal-00000000;2", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] GotoIf("Local/18884732963@from-internal-00000000;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,36)
-- Executing [s@macro-user-callerid:36] Set("Local/18884732963@from-internal-00000000;2", "CALLERID(number)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:37] Set("Local/18884732963@from-internal-00000000;2", "CALLERID(name)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:38] GotoIf("Local/18884732963@from-internal-00000000;2", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:39] Set("Local/18884732963@from-internal-00000000;2", "CDR(cnam)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:40] Set("Local/18884732963@from-internal-00000000;2", "CDR(cnum)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:41] Set("Local/18884732963@from-internal-00000000;2", "CHANNEL(language)=en") in new stack
-- Executing [18884732963@from-internal:2] NoCDR("Local/18884732963@from-internal-00000000;2", "") in new stack
-- Executing [18884732963@from-internal:3] Progress("Local/18884732963@from-internal-00000000;2", "") in new stack
-- Local/18884732963@from-internal-00000000;1 is making progress passing it to IAX2/iax-fax3-15280
-- Executing [18884732963@from-internal:4] Wait("Local/18884732963@from-internal-00000000;2", "1") in new stack
-- Executing [18884732963@from-internal:5] Playback("Local/18884732963@from-internal-00000000;2", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <Local/18884732963@from-internal-00000000;2> Playing 'silence/1.ulaw' (language 'en')
-- <Local/18884732963@from-internal-00000000;2> Playing 'cannot-complete-as-dialed.ulaw' (language 'en')
-- <Local/18884732963@from-internal-00000000;2> Playing 'check-number-dial-again.ulaw' (language 'en')
-- Executing [18884732963@from-internal:6] Wait("Local/18884732963@from-internal-00000000;2", "1") in new stack
-- Executing [18884732963@from-internal:7] Congestion("Local/18884732963@from-internal-00000000;2", "20") in new stack
-- Local/18884732963@from-internal-00000000;1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [18884732963@from-fax:2] Goto("IAX2/iax-fax3-15280", "outbound-allroutes,18884732963,1") in new stack
-- Goto (outbound-allroutes,18884732963,1)
-- Executing [18884732963@outbound-allroutes:1] Macro("IAX2/iax-fax3-15280", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/iax-fax3-15280", "TOUCH_MONITOR=1563372574.34") in new stack
-- Executing [s@macro-user-callerid:2] Set("IAX2/iax-fax3-15280", "AMPUSER=+00000000003") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("IAX2/iax-fax3-15280", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("IAX2/iax-fax3-15280", "1?Set(REALCALLERIDNUM=+00000000003)") in new stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/iax-fax3-15280", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/iax-fax3-15280", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("IAX2/iax-fax3-15280", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("IAX2/iax-fax3-15280", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("IAX2/iax-fax3-15280", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] NoOp("IAX2/iax-fax3-15280", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("IAX2/iax-fax3-15280", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] GotoIf("IAX2/iax-fax3-15280", "1?continue") in new stack
-- Goto (macro-user-callerid,s,36)
-- Executing [s@macro-user-callerid:36] Set("IAX2/iax-fax3-15280", "CALLERID(number)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:37] Set("IAX2/iax-fax3-15280", "CALLERID(name)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:38] GotoIf("IAX2/iax-fax3-15280", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:39] Set("IAX2/iax-fax3-15280", "CDR(cnam)=Incredible PBX") in new stack
-- Executing [s@macro-user-callerid:40] Set("IAX2/iax-fax3-15280", "CDR(cnum)=+00000000003") in new stack
-- Executing [s@macro-user-callerid:41] Set("IAX2/iax-fax3-15280", "CHANNEL(language)=en") in new stack
-- Auto fallthrough, channel 'IAX2/iax-fax3-15280' status is 'CONGESTION'
-- Hungup 'IAX2/iax-fax3-15280'
[2019-07-17 10:09:42] WARNING[26952][C-00000016]: channel.c:5091 ast_prod: Prodding channel 'Local/18884732963@from-internal-00000000;2' failed
== Spawn extension (from-internal, 18884732963, 7) exited non-zero on 'Local/18884732963@from-internal-00000000;2'
-- Executing [h@from-internal:1] Macro("Local/18884732963@from-internal-00000000;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/18884732963@from-internal-00000000;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("Local/18884732963@from-internal-00000000;2", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("Local/18884732963@from-internal-00000000;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/18884732963@from-internal-00000000;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/18884732963@from-internal-00000000;2'
h73*CLI>
 

Members online

No members online now.

Forum statistics

Threads
25,770
Messages
167,441
Members
19,181
Latest member
ejrubin
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top