Sending faxes using Fax Server

Status
Not open for further replies.

nova2k

New Member
Feb 28, 2018
4
0
1
36
Hi guys,

I'm having some issues using FusionPBX interface to send outgoing faxes.

FusionPBX version 4.5.0

Switch version1.6.20 (64bit)

Here the Freeswitch logs
Code:
2018-04-26 16:13:37.317481 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-04-26 16:13:37.317481 [NOTICE] switch_channel.c:1104 New Channel sofia/external/%{destination_number} [3905f946-fd6f-4b92-b0d3-ef2fdd585250]
2018-04-26 16:13:37.317481 [DEBUG] mod_sofia.c:4819 (sofia/external/%{destination_number}) State Change CS_NEW -> CS_INIT
2018-04-26 16:13:37.317481 [CRIT] switch_channel.c:1436 Invalid data (${fax_uri} contains a variable)
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:584 (sofia/external/%{destination_number}) Running State Change CS_INIT (Cur 1 Tot 361)
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:627 (sofia/external/%{destination_number}) State INIT
2018-04-26 16:13:37.317481 [DEBUG] mod_sofia.c:90 sofia/external/%{destination_number} SOFIA INIT
2018-04-26 16:13:37.317481 [CRIT] sofia_glue.c:1061 Error creating HANDLE!
invite_contact=[<sip:gw+45a69704-bdcf-42c7-8b4d-d0bb49e2d843@103.98.87.149:5080;transport=udp;gw=45a69704-bdcf-42c7-8b4d-d0bb49e2d843>]
2018-04-26 16:13:37.317481 [NOTICE] mod_sofia.c:118 Hangup sofia/external/%{destination_number} [CS_INIT] [DESTINATION_OUT_OF_ORDER]
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:627 (sofia/external/%{destination_number}) State INIT going to sleep
2018-04-26 16:13:37.317481 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:584 (sofia/external/%{destination_number}) Running State Change CS_HANGUP (Cur 1 Tot 361)
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:850 (sofia/external/%{destination_number}) Callstate Change DOWN -> HANGUP
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:852 (sofia/external/%{destination_number}) State HANGUP
2018-04-26 16:13:37.317481 [DEBUG] mod_sofia.c:438 Channel sofia/external/%{destination_number} hanging up, cause: DESTINATION_OUT_OF_ORDER
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:60 sofia/external/%{destination_number} Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:852 (sofia/external/%{destination_number}) State HANGUP going to sleep
2018-04-26 16:13:37.317481 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0e480e6720 Connected.
2018-04-26 16:13:37.317481 [ERR] switch_cpp.cpp:1365 [database] can not bind parameter: undefined parameter: fax_uri
2018-04-26 16:13:37.317481 [ERR] mod_lua.cpp:203 /usr/share/freeswitch/scripts/fax_retry.lua:307: attempt to concatenate global 'number_dialed' (a nil value)
stack traceback:
        /usr/share/freeswitch/scripts/fax_retry.lua:307: in main chunk
2018-04-26 16:13:37.317481 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0e480e6720 released.
2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:783 Hangup Command with no Session lua(fax_retry.lua):
-ERR Cannot execute script

2018-04-26 16:13:37.317481 [DEBUG] switch_core_state_machine.c:619 (sofia/external/%{destination_number}) State Change CS_HANGUP -> CS_REPORTING

Any thoughts?
 

cengbrecht

Member
Jun 24, 2018
57
2
8
I am testing this from my side, though it will be going to itself so I am not sure it will work. :p
 
Status
Not open for further replies.