Fax not retrying on failure

Status
Not open for further replies.

Metcom

New Member
Apr 19, 2020
15
1
3
59
faxes have stopped retrying on failure getting [ERR] switch_ivr_originate.c:2247 Parse Error!

problem because doesn't send a failure email

any help would be appriciated

2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] Success: '0'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_result_text: 'The call dropped prematurely'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_file: '/var/lib/freeswitch/storage/fax/10.10.10.200/100/temp/dfff15df-2eaf-40e9-929b-ebe53783b2dd.tif'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] uuid: 'bd088e00-cc29-4354-ab84-c0620a3f77ec'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_retry_attempts: 1
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_retry_limit: 20
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_retry_sleep: 30
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_uri: 'sofia/gateway/5105feed-93f6-4806-8e7a-500365faefc3/0290025558'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] accountcode: '10.10.10.200'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] origination_caller_id_name: 000000000000000
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] origination_caller_id_number: 61 2 95440425
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] fax_result_code: 49
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] mailfrom_address: accounts@metcom.com.au
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] mailto_address: accounts@metcom.com.au
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] hangup_cause_q850: '16'
2021-03-26 08:32:27.574925 [INFO] switch_cpp.cpp:1447 [FAX] Last Fax Failed, try a different way. Wait first.
2021-03-26 08:32:42.575159 [INFO] switch_cpp.cpp:1447 [FAX] TRYING [1] of [4] to: 0290025558 with: t38 ON ECM ON, Fast
2021-03-26 08:32:42.575159 [INFO] switch_cpp.cpp:1447 [FAX] Retry Command: originate {accountcode='10.10.10.200',fax_retry_attempts=2,for_fax=1,accountcode='10.10.10.200',domain_uuid=c5e1e2cd-01c0-4dc8-9360-86c542248cdf,domain_name=10.10.10.200,mailto_address='accounts@metcom.com.au',mailfrom_address='accounts@metcom.com.au',origination_caller_id_name='000000000000000',origination_caller_id_number=61 2 95440425,fax_uri=sofia/gateway/5105feed-93f6-4806-8e7a-500365faefc3/0290025558,fax_retry_limit=20,fax_retry_sleep=30,fax_verbose=true,fax_file='/var/lib/freeswitch/storage/fax/10.10.10.200/100/temp/dfff15df-2eaf-40e9-929b-ebe53783b2dd.tif',fax_ident='61 2 95440425',fax_header='000000000000000',fax_use_ecm=true,fax_enable_t38=true,fax_enable_t38_request=true,ignore_early_media=true,fax_disable_v17=false,fax_busy_attempts='0',api_hangup_hook='lua fax_retry.lua'}sofia/gateway/5105feed-93f6-4806-8e7a-500365faefc3/0290025558 &txfax('/var/lib/freeswitch/storage/fax/10.10.10.200/100/temp/dfff15df-2eaf-40e9-929b-ebe53783b2dd.tif')
2021-03-26 08:32:42.575159 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-03-26 08:32:42.575159 [ERR] switch_ivr_originate.c:2247 Parse Error!
2021-03-26 08:32:42.575159 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.575159 [DEBUG] switch_core_state_machine.c:781 Hangup Command with no Session lua(fax_retry.lua):
bd088e00-cc29-4354-ab84-c0620a3f77ec
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.575159 [DEBUG] switch_core_state_machine.c:620 (sofia/external/0290025558) State Change CS_HANGUP -> CS_REPORTING
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.575159 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0290025558) Running State Change CS_REPORTING (Cur 1 Tot 394)
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.575159 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0290025558) State REPORTING
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:174 sofia/external/0290025558 Standard REPORTING, cause: NORMAL_CLEARING
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0290025558) State REPORTING going to sleep
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:611 (sofia/external/0290025558) State Change CS_REPORTING -> CS_DESTROY
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_session.c:1726 Session 394 (sofia/external/0290025558) Locked, Waiting on external entities
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [NOTICE] switch_core_session.c:1744 Session 394 (sofia/external/0290025558) Ended
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/0290025558 [CS_DESTROY]
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:739 (sofia/external/0290025558) Running State Change CS_DESTROY (Cur 0 Tot 394)
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0290025558) State DESTROY
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] mod_sofia.c:364 sofia/external/0290025558 SOFIA DESTROY
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:181 sofia/external/0290025558 Standard DESTROY
bd088e00-cc29-4354-ab84-c0620a3f77ec 2021-03-26 08:32:42.614994 [DEBUG] switch_core_state_machine.c:749 (sofia/external/02900
 

falk

Member
Feb 2, 2019
76
5
8
53
2021-03-26 08:32:42.575159 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]
 

Metcom

New Member
Apr 19, 2020
15
1
3
59
teh original call gave error 49

The call dropped prematurely so should retry
I dont understand why destination out of order
it gives the same result on all failed calls no matter the result
 

Metcom

New Member
Apr 19, 2020
15
1
3
59
Found problem
when sending test fax to Telstra Australia 1300368999 it responds with a test result that advises fax caller ID Number
should be 61 2 9xxxxxxx I removed the spaces 6129xxxxxxx and now works
 
Status
Not open for further replies.