bjblackmore
New Member
- Joined
- Jul 24, 2009
- Messages
- 18
- Reaction score
- 0
Hi,
I'm trying to configure our PBX to send and receive faxes. I've followed the steps in the 'HylaFAX / AvantFax for PIAF' guide (http://pbxinaflash.com/community/threads/hylafax-avantfax-for-piaf-parts-1-4.3645/?t=3645) and can now send faxes, which works well. But on incoming faxes, the sender get an error message saying "The number you dialed is not in service, please check your number and try again".
If I look in the Asterisk CLI (below), I can see the call being answered, then redirecting to the fax extension. So I'm not sure why it's not receiving the fax?
-- Starting simple switch on 'Zap/1-1'
-- Executing [s@from-zaptel:1] NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/1-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/1-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/1-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing [s@from-zaptel:8] NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:9] Set("Zap/1-1", "CHAN=1-1") in new stack
-- Executing [s@from-zaptel:10] Set("Zap/1-1", "CHAN=1") in new stack
-- Executing [s@from-zaptel:11] Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
-- Executing [s@from-zaptel:12] NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new stack
-- Executing [s@from-zaptel:13] Goto("Zap/1-1", "from-pstn|s|1") in new stack
-- Goto (from-pstn,s,1)
-- Executing [s@from-pstn:1] NoOp("Zap/1-1", "No DID or CID Match") in new stack
-- Executing [s@from-pstn:2] Answer("Zap/1-1", "") in new stack
-- Executing [s@from-pstn:3] Wait("Zap/1-1", "2") in new stack
-- Redirecting Zap/1-1 to fax extension
== Spawn extension (from-pstn, fax, 0) exited non-zero on 'Zap/1-1'
-- Executing [fax@from-pstn:1] Set("Zap/1-1", "__FROM_DID=fax") in new stack
-- Executing [fax@from-pstn:2] NoOp("Zap/1-1", "Received an unknown call with DID set to fax") in new stack
-- Executing [fax@from-pstn:3] Goto("Zap/1-1", "s|a2") in new stack
-- Goto (from-pstn,s,2)
-- Executing [s@from-pstn:2] Answer("Zap/1-1", "") in new stack
-- Executing [s@from-pstn:3] Wait("Zap/1-1", "2") in new stack
-- Executing [s@from-pstn:4] Playback("Zap/1-1", "ss-noservice") in new stack
-- <Zap/1-1> Playing 'ss-noservice' (language 'en')
-- Executing [s@from-pstn:5] SayAlpha("Zap/1-1", "fax") in new stack
-- <Zap/1-1> Playing 'letters/f' (language 'en')
-- <Zap/1-1> Playing 'letters/a' (language 'en')
-- <Zap/1-1> Playing 'letters/x' (language 'en')
-- Executing [s@from-pstn:6] Hangup("Zap/1-1", "") in new stack
== Spawn extension (from-pstn, s, 6) exited non-zero on 'Zap/1-1'
-- Executing [h@from-pstn:1] Hangup("Zap/1-1", "") in new stack
== Spawn extension (from-pstn, h, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
I'm running Asterisk 1.4.21.2, Zaptel source 1.4.12.1, FreePBX 2.7.0.2. The FXO card is a genuine X100p single port card.
Any help would be much appreciated!
Ben
I'm trying to configure our PBX to send and receive faxes. I've followed the steps in the 'HylaFAX / AvantFax for PIAF' guide (http://pbxinaflash.com/community/threads/hylafax-avantfax-for-piaf-parts-1-4.3645/?t=3645) and can now send faxes, which works well. But on incoming faxes, the sender get an error message saying "The number you dialed is not in service, please check your number and try again".
If I look in the Asterisk CLI (below), I can see the call being answered, then redirecting to the fax extension. So I'm not sure why it's not receiving the fax?
-- Starting simple switch on 'Zap/1-1'
-- Executing [s@from-zaptel:1] NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/1-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/1-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/1-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing [s@from-zaptel:8] NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:9] Set("Zap/1-1", "CHAN=1-1") in new stack
-- Executing [s@from-zaptel:10] Set("Zap/1-1", "CHAN=1") in new stack
-- Executing [s@from-zaptel:11] Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
-- Executing [s@from-zaptel:12] NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new stack
-- Executing [s@from-zaptel:13] Goto("Zap/1-1", "from-pstn|s|1") in new stack
-- Goto (from-pstn,s,1)
-- Executing [s@from-pstn:1] NoOp("Zap/1-1", "No DID or CID Match") in new stack
-- Executing [s@from-pstn:2] Answer("Zap/1-1", "") in new stack
-- Executing [s@from-pstn:3] Wait("Zap/1-1", "2") in new stack
-- Redirecting Zap/1-1 to fax extension
== Spawn extension (from-pstn, fax, 0) exited non-zero on 'Zap/1-1'
-- Executing [fax@from-pstn:1] Set("Zap/1-1", "__FROM_DID=fax") in new stack
-- Executing [fax@from-pstn:2] NoOp("Zap/1-1", "Received an unknown call with DID set to fax") in new stack
-- Executing [fax@from-pstn:3] Goto("Zap/1-1", "s|a2") in new stack
-- Goto (from-pstn,s,2)
-- Executing [s@from-pstn:2] Answer("Zap/1-1", "") in new stack
-- Executing [s@from-pstn:3] Wait("Zap/1-1", "2") in new stack
-- Executing [s@from-pstn:4] Playback("Zap/1-1", "ss-noservice") in new stack
-- <Zap/1-1> Playing 'ss-noservice' (language 'en')
-- Executing [s@from-pstn:5] SayAlpha("Zap/1-1", "fax") in new stack
-- <Zap/1-1> Playing 'letters/f' (language 'en')
-- <Zap/1-1> Playing 'letters/a' (language 'en')
-- <Zap/1-1> Playing 'letters/x' (language 'en')
-- Executing [s@from-pstn:6] Hangup("Zap/1-1", "") in new stack
== Spawn extension (from-pstn, s, 6) exited non-zero on 'Zap/1-1'
-- Executing [h@from-pstn:1] Hangup("Zap/1-1", "") in new stack
== Spawn extension (from-pstn, h, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
I'm running Asterisk 1.4.21.2, Zaptel source 1.4.12.1, FreePBX 2.7.0.2. The FXO card is a genuine X100p single port card.
Any help would be much appreciated!
Ben
Last edited by a moderator: