HylaFax Issues

b00gz

Joined
Mar 10, 2008
Messages
7
Likes
0
Points
0
#1
When I send a fax to a phone number like external address it works fine but if I send a fax from a local extension to another local extension if doesn't work ... The output from the cli is this

[root@at-hq-srv5 sendq]# asterisk -vvvvvvr
Asterisk 1.4.17, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.17 currently running on at-hq-srv5 (pid = 2326)
Verbosity was 3 and is now 6
-- Accepting AUTHENTICATED call from 127.0.0.1:
> requested format = slin,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
-- Executing [202@from-internal:1] Macro("IAX2/202-10", "exten-vm|novm|202") in new stack
-- Executing [s@macro-exten-vm:1] Macro("IAX2/202-10", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("IAX2/202-10", "user-callerid: ") in new stack
-- Executing [s@macro-user-callerid:2] Set("IAX2/202-10", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("IAX2/202-10", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("IAX2/202-10", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("IAX2/202-10", "REALCALLERIDNUM is 202") in new stack
-- Executing [s@macro-user-callerid:7] Set("IAX2/202-10", "AMPUSER=202") in new stack
-- Executing [s@macro-user-callerid:8] Set("IAX2/202-10", "AMPUSERCIDNAME=Geoff") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("IAX2/202-10", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("IAX2/202-10", "AMPUSERCID=202") in new stack
-- Executing [s@macro-user-callerid:11] Set("IAX2/202-10", "CALLERID(all)="Geoff" <202>") in new stack
-- Executing [s@macro-user-callerid:12] Set("IAX2/202-10", "REALCALLERIDNUM=202") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("IAX2/202-10", "TTL: ARG1: novm") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("IAX2/202-10", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("IAX2/202-10", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("IAX2/202-10", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("IAX2/202-10", "Using CallerID "Geoff" <202>") in new stack
-- Executing [s@macro-exten-vm:2] Set("IAX2/202-10", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("IAX2/202-10", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("IAX2/202-10", "EXTTOCALL=202") in new stack
-- Executing [s@macro-exten-vm:5] Set("IAX2/202-10", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("IAX2/202-10", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("IAX2/202-10", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("IAX2/202-10", "record-enable|202|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("IAX2/202-10", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("IAX2/202-10", "recordingcheck|20080309-211742|1205111862.19") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080309-211742|1205111862.19: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("IAX2/202-10", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("IAX2/202-10", "dial||tr|202") in new stack
-- Executing [s@macro-dial:1] GotoIf("IAX2/202-10", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("IAX2/202-10", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Geoff' number is '202'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 202 to extension map
-- dialparties.agi: Extension 202 cf is disabled
-- dialparties.agi: Extension 202 do not disturb is disabled
> dialparties.agi: extnum 202 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 1
dialparties.agi: Extension 202 has ExtensionState: 1
-- dialparties.agi: Checking CW and CFB status for extension 202
dialparties.agi: Extension 202 is not available to be called
dialparties.agi: Extension 202 has call waiting disabled
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:4] NoOp("IAX2/202-10", "Returned from dialparties with no extensions to call and DIALSTATUS: BUSY") in new stack
-- Executing [s@macro-exten-vm:10] Set("IAX2/202-10", "SV_DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-exten-vm:11] GosubIf("IAX2/202-10", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("IAX2/202-10", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:13] Set("IAX2/202-10", "DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-exten-vm:14] NoOp("IAX2/202-10", "Voicemail is novm") in new stack
-- Executing [s@macro-exten-vm:15] GotoIf("IAX2/202-10", "1?s-BUSY|1") in new stack
-- Goto (macro-exten-vm,s-BUSY,1)
-- Executing [s-BUSY@macro-exten-vm:1] NoOp("IAX2/202-10", "Extension is reporting BUSY and not passing to Voicemail") in new stack
-- Executing [s-BUSY@macro-exten-vm:2] PlayTones("IAX2/202-10", "busy") in new stack
-- Executing [s-BUSY@macro-exten-vm:3] Busy("IAX2/202-10", "20") in new stack
== Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'IAX2/202-10' in macro 'exten-vm'
== Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'IAX2/202-10'
-- Hungup 'IAX2/202-10'
== Manager 'admin' logged off from 127.0.0.1
 

azambrano

Joined
Mar 14, 2008
Messages
3
Likes
0
Points
0
#2
Hi, can you to include the log files of the hylafax. (/var/spool/hylafax/log).

Maybe can you to check if hylafax service is Up , with service hylafax status.
 

DaveD

Joined
Nov 12, 2007
Messages
597
Likes
0
Points
16
#3
I noticed this when I tested it today
If you have 2 fax extensions that are IAX say first is 1100 and second is 1400 for some reason when you send to 1100 it bypasses ext 1400 that you are sending from and tries to use 1100

This is why it shows status as busy when trying to send internal

Will have a look as soon as a I get some time to see why it is not using the extension it is supposed to
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#4
This is why I use Avantfax.
You can select wich iaxmodem to use.
 

onsite

Joined
Sep 10, 2007
Messages
35
Likes
0
Points
0
#5
Hi, people

I have setup only one iax2 fax extension with Hylafax and Elastix1.0RC2 and am getting the "BUSY" in the face! while trying to use the internal faxing to this extension. Can't try outbound/inbound yet, no hardware.

And yes, I received about 100 emails saying 'bussy signal blabla ...failed blabla..':sick:

Here is CLI in case someone knows what's going on:
Code:
Name/Username    Host                 Mask             Port          Status    
210              127.0.0.1       (D)  255.255.255.255  40000         OK (3 ms) 
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
    -- Accepting AUTHENTICATED call from 127.0.0.1:
       > requested format = slin,
       > requested prefs = (),
       > actual format = ulaw,
       > host prefs = (ulaw|alaw|gsm),
       > priority = mine
    -- Executing [210@from-internal:1] Macro("IAX2/210-3", "exten-vm|novm|210"«») in new stack
    -- Executing [s@macro-exten-vm:1] Macro("IAX2/210-3", "user-callerid"«») in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("IAX2/210-3", "user-callerid:  "«») in new stack
    -- Executing [s@macro-user-callerid:2] Set("IAX2/210-3", "AMPUSER="«») in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("IAX2/210-3", "0?report"«») in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("IAX2/210-3", "0|Set|REALCALLERIDNUM="«») in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("IAX2/210-3", "REALCALLERIDNUM is 210"«») in new stack
    -- Executing [s@macro-user-callerid:6] Set("IAX2/210-3", "AMPUSER=210"«») in new stack
    -- Executing [s@macro-user-callerid:7] Set("IAX2/210-3", "AMPUSERCIDNAME=Fax"«») in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("IAX2/210-3", "0?report"«») in new stack
    -- Executing [s@macro-user-callerid:9] Set("IAX2/210-3", "AMPUSERCID=210"«») in new stack
    -- Executing [s@macro-user-callerid:10] Set("IAX2/210-3", "CALLERID(all)="Fax" <210>"«») in new stack
    -- Executing [s@macro-user-callerid:11] Set("IAX2/210-3", "REALCALLERIDNUM=210"«») in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("IAX2/210-3", "0|Set|CHANNEL(language)="«») in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("IAX2/210-3", "TTL:  ARG1: novm"«») in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("IAX2/210-3", "0?continue"«») in new stack
    -- Executing [s@macro-user-callerid:15] Set("IAX2/210-3", "__TTL=64"«») in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("IAX2/210-3", "1?continue"«») in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("IAX2/210-3", "Using CallerID "Fax" <210>"«») in new stack
    -- Executing [s@macro-exten-vm:2] Set("IAX2/210-3", "FROMCONTEXT=exten-vm"«») in new stack
    -- Executing [s@macro-exten-vm:3] Set("IAX2/210-3", "VMBOX=novm"«») in new stack
    -- Executing [s@macro-exten-vm:4] Set("IAX2/210-3", "EXTTOCALL=210"«») in new stack
    -- Executing [s@macro-exten-vm:5] Set("IAX2/210-3", "CFUEXT="«») in new stack
    -- Executing [s@macro-exten-vm:6] Set("IAX2/210-3", "CFBEXT="«») in new stack
    -- Executing [s@macro-exten-vm:7] Set("IAX2/210-3", "RT="""«») in new stack
    -- Executing [s@macro-exten-vm:8] Macro("IAX2/210-3", "record-enable|210|IN"«») in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("IAX2/210-3", "0?2:4"«») in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("IAX2/210-3", "recordingcheck|20080413-111427|1208074467.0"«») in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080413-111427|1208074467.0: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("IAX2/210-3", "No recording needed"«») in new stack
    -- Executing [s@macro-exten-vm:9] Macro("IAX2/210-3", "dial||tr|210"«») in new stack
    -- Executing [s@macro-dial:1] GotoIf("IAX2/210-3", "1?dial"«») in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("IAX2/210-3", "dialparties.agi"«») in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is 'Fax' number is '210'
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 210 to extension map
    --  dialparties.agi: Extension 210 cf is disabled
    --  dialparties.agi: Extension 210 do not disturb is disabled
  dialparties.agi: Extension 210 has ExtensionState: 1
    --  dialparties.agi: Checking CW and CFB status for extension 210
  dialparties.agi: Extension 210 is not available to be called
  dialparties.agi: Extension 210 has call waiting disabled
    --  dialparties.agi: Filtered ARG3: 
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:4] NoOp("IAX2/210-3", "Returned from dialparties with no extensions to call and DIALSTATUS: BUSY"«») in new stack
    -- Executing [s@macro-exten-vm:10] Set("IAX2/210-3", "SV_DIALSTATUS=BUSY"«») in new stack
    -- Executing [s@macro-exten-vm:11] GosubIf("IAX2/210-3", "0?docfu|1"«») in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("IAX2/210-3", "0?docfb|1"«») in new stack
    -- Executing [s@macro-exten-vm:13] Set("IAX2/210-3", "DIALSTATUS=BUSY"«») in new stack
    -- Executing [s@macro-exten-vm:14] NoOp("IAX2/210-3", "Voicemail is novm"«») in new stack
    -- Executing [s@macro-exten-vm:15] GotoIf("IAX2/210-3", "1?s-BUSY|1"«») in new stack
    -- Goto (macro-exten-vm,s-BUSY,1)
    -- Executing [s-BUSY@macro-exten-vm:1] NoOp("IAX2/210-3", "Extension is reporting BUSY and not passing to Voicemail"«») in new stack
    -- Executing [s-BUSY@macro-exten-vm:2] PlayTones("IAX2/210-3", "busy"«») in new stack
    -- Executing [s-BUSY@macro-exten-vm:3] Busy("IAX2/210-3", "20"«») in new stack
  == Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'IAX2/210-3' in macro 'exten-vm'
  == Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'IAX2/210-3'
    -- Hungup 'IAX2/210-3'
<br><br>Post edited by: onsite, at: 2008/04/13 15:46
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,966
Messages
131,025
Members
17,676
Latest member
Ruddy
Top