Fax to email issue

VitalPBX Community Support General Discussion Fax to email issue

Up
0
Down
  • Post
    cire00
    Participant

    After upgrade to 2.3.3-1 the fax to email suddenly not working anymore.

    Incoming fax received successfully, I can see the TIF file on server, but cannot received the email

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    > 0x7fc8c810aeb0 — Strict RTP learning after remote address set to: 10.255.255.1:18934
    — Executing [5071@trk-1-in:1] NoOp(“SIP/GW01-00000001”, “Incoming call through: GW01”) in new stack
    — Executing [5071@trk-1-in:2] Set(“SIP/GW01-00000001”, “DID=5071”) in new stack
    — Executing [5071@trk-1-in:3] Goto(“SIP/GW01-00000001”, “default-trunk,5071,1”) in new stack
    — Goto (default-trunk,5071,1)
    — Executing [5071@default-trunk:1] Gosub(“SIP/GW01-00000001”, “set-global-tenant-vars,s,1”) in new stack
    — Executing [s@set-global-tenant-vars:1] NoOp(“SIP/GW01-00000001”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing [s@set-global-tenant-vars:2] Set(“SIP/GW01-00000001”, “__TENANT_PATH=cff52101ddffb9c1”) in new stack
    — Executing [s@set-global-tenant-vars:3] Set(“SIP/GW01-00000001”, “__TENANT_PREFIX=”) in new stack
    — Executing [s@set-global-tenant-vars:4] Set(“SIP/GW01-00000001”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing [s@set-global-tenant-vars:5] Set(“SIP/GW01-00000001”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
    — Executing [s@set-global-tenant-vars:6] Set(“SIP/GW01-00000001”, “__HINTS_CONTEXT=extension-hints”) in new stack
    — Executing [s@set-global-tenant-vars:7] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [5071@default-trunk:2] Gosub(“SIP/GW01-00000001”, “sub-check-blacklist,s,1(cff52101ddffb9c1,anonymous)”) in new stack
    — Executing [s@sub-check-blacklist:1] NoOp(“SIP/GW01-00000001”, “Testing if anonymous is in Black List”) in new stack
    — Executing [s@sub-check-blacklist:2] GotoIf(“SIP/GW01-00000001”, “0?banned”) in new stack
    — Executing [s@sub-check-blacklist:3] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [5071@default-trunk:3] Gosub(“SIP/GW01-00000001”, “sub-setup-call-type,s,1(incoming)”) in new stack
    — Executing [s@sub-setup-call-type:1] NoOp(“SIP/GW01-00000001”, “Determinating Call Type”) in new stack
    — Executing [s@sub-setup-call-type:2] GotoIf(“SIP/GW01-00000001”, “0?return”) in new stack
    — Executing [s@sub-setup-call-type:3] Gosub(“SIP/GW01-00000001”, “s-incoming,1()”) in new stack
    — Executing [s-incoming@sub-setup-call-type:1] NoOp(“SIP/GW01-00000001”, “Incoming Call”) in new stack
    — Executing [s-incoming@sub-setup-call-type:2] Set(“SIP/GW01-00000001”, “__CALL_TYPE=2”) in new stack
    — Executing [s-incoming@sub-setup-call-type:3] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [s@sub-setup-call-type:4] Set(“SIP/GW01-00000001”, “__CALL_TYPE_CONFIGURED=yes”) in new stack
    — Executing [s@sub-setup-call-type:5] Set(“SIP/GW01-00000001”, “CDR(calltype)=2”) in new stack
    — Executing [s@sub-setup-call-type:6] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [5071@default-trunk:4] Gosub(“SIP/GW01-00000001”, “dynamic-routing-in,s,1(anonymous)”) in new stack
    — Executing [s@dynamic-routing-in:1] NoOp(“SIP/GW01-00000001”, “Test if must to apply dynamic routing”) in new stack
    — Executing [s@dynamic-routing-in:2] Set(“SIP/GW01-00000001”, “EXTERNAL_CALLER=anonymous”) in new stack
    — Executing [s@dynamic-routing-in:3] Set(“SIP/GW01-00000001”, “DYNROUTING_DM=0”) in new stack
    — Executing [s@dynamic-routing-in:4] GotoIf(“SIP/GW01-00000001”, “1?gd”) in new stack
    — Goto (dynamic-routing-in,s,6)
    — Executing [s@dynamic-routing-in:6] GotoIf(“SIP/GW01-00000001”, “0?:rb”) in new stack
    — Goto (dynamic-routing-in,s,11)
    — Executing [s@dynamic-routing-in:11] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [5071@default-trunk:5] Goto(“SIP/GW01-00000001”, “incoming-calls,5071,1”) in new stack
    — Goto (incoming-calls,5071,1)
    — Executing [5071@incoming-calls:1] NoOp(“SIP/GW01-00000001”, “INBOUND_ROUTE: 5071”) in new stack
    — Executing [5071@incoming-calls:2] Set(“SIP/GW01-00000001”, “CHANNEL(language)=en”) in new stack
    — Executing [5071@incoming-calls:3] Set(“SIP/GW01-00000001”, “CHANNEL(musicclass)=default”) in new stack
    — Executing [5071@incoming-calls:4] Gosub(“SIP/GW01-00000001”, “sub-set-call-vars,s-incoming,1(anonymous,5071,cff52101ddffb9c1)”) in new stack
    — Executing [s-incoming@sub-set-call-vars:1] NoOp(“SIP/GW01-00000001”, “Setting Incoming Call Vars”) in new stack
    — Executing [s-incoming@sub-set-call-vars:2] Set(“SIP/GW01-00000001”, “__INCOMING_SOURCE=anonymous”) in new stack
    — Executing [s-incoming@sub-set-call-vars:3] Set(“SIP/GW01-00000001”, “__INCOMING_DESTINATION=5071”) in new stack
    — Executing [s-incoming@sub-set-call-vars:4] Set(“SIP/GW01-00000001”, “__INCOMING_TENANT=cff52101ddffb9c1”) in new stack
    — Executing [s-incoming@sub-set-call-vars:5] Set(“SIP/GW01-00000001”, “__CALL_SOURCE=anonymous”) in new stack
    — Executing [s-incoming@sub-set-call-vars:6] Set(“SIP/GW01-00000001”, “__CALL_DESTINATION=5071”) in new stack
    — Executing [s-incoming@sub-set-call-vars:7] Set(“SIP/GW01-00000001”, “__TENANT=cff52101ddffb9c1”) in new stack
    — Executing [s-incoming@sub-set-call-vars:8] Gosub(“SIP/GW01-00000001”, “app-incoming,1”) in new stack
    — Executing [app-incoming@sub-set-call-vars:1] NoOp(“SIP/GW01-00000001”, “Incoming Call App CDR”) in new stack
    — Executing [app-incoming@sub-set-call-vars:2] GotoIf(“SIP/GW01-00000001”, “1?:return”) in new stack
    — Executing [app-incoming@sub-set-call-vars:3] Set(“SIP/GW01-00000001”, “CDR(source)=anonymous”) in new stack
    — Executing [app-incoming@sub-set-call-vars:4] Set(“SIP/GW01-00000001”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing [app-incoming@sub-set-call-vars:5] Set(“SIP/GW01-00000001”, “CDR(destination)=5071”) in new stack
    — Executing [app-incoming@sub-set-call-vars:6] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [s-incoming@sub-set-call-vars:9] Return(“SIP/GW01-00000001”, “”) in new stack
    — Executing [5071@incoming-calls:5] Set(“SIP/GW01-00000001”, “ICALL=yes”) in new stack
    — Executing [5071@incoming-calls:6] Goto(“SIP/GW01-00000001”, “sub-fax-receiver,5071,1”) in new stack
    — Goto (sub-fax-receiver,5071,1)
    — Executing [5071@sub-fax-receiver:1] NoOp(“SIP/GW01-00000001”, “FAX RCV: Start”) in new stack
    — Executing [5071@sub-fax-receiver:2] Set(“SIP/GW01-00000001”, “FAXOPT(faxdetect)=no”) in new stack
    — Executing [5071@sub-fax-receiver:3] Set(“SIP/GW01-00000001”, “EXT_FAX=5071”) in new stack
    — Executing [5071@sub-fax-receiver:4] Set(“SIP/GW01-00000001”, “FAX_ENABLED=yes”) in new stack
    — Executing [5071@sub-fax-receiver:5] GotoIf(“SIP/GW01-00000001”, “0?fax_disabled”) in new stack
    — Executing [5071@sub-fax-receiver:6] Set(“SIP/GW01-00000001”, “FAX_EMAIL=asfax@gmail.com”) in new stack
    — Executing [5071@sub-fax-receiver:7] ExecIf(“SIP/GW01-00000001”, “0?Set(FAX_EMAIL=”none”)”) in new stack
    — Executing [5071@sub-fax-receiver:8] Set(“SIP/GW01-00000001”, “FAX_FILE_NAME=/var/spool/asterisk/cff52101ddffb9c1-fax-5071-in-1558461972.2.tif”) in new stack
    — Executing [5071@sub-fax-receiver:9] Set(“SIP/GW01-00000001”, “NAME=5071”) in new stack
    — Executing [5071@sub-fax-receiver:10] StopPlayTones(“SIP/GW01-00000001”, “”) in new stack
    — Executing [5071@sub-fax-receiver:11] ReceiveFAX(“SIP/GW01-00000001”, “/var/spool/asterisk/cff52101ddffb9c1-fax-5071-in-1558461972.2.tif,f”) in new stack
    — Channel ‘SIP/GW01-00000001’ receiving FAX ‘/var/spool/asterisk/cff52101ddffb9c1-fax-5071-in-1558461972.2.tif’
    == Spawn extension (sub-fax-receiver, 5071, 11) exited non-zero on ‘SIP/GW01-00000001’
    — Executing [h@sub-fax-receiver:1] GotoIf(“SIP/GW01-00000001”, “0?finish”) in new stack
    — Executing [h@sub-fax-receiver:2] System(“SIP/GW01-00000001”, “/usr/share/ombutel/scripts/process_fax_in “/var/spool/asterisk/cff52101ddffb9c1
    -fax-5071-in-1558461972.2.tif” “cff52101ddffb9c1” “5071” “1558461972.2” “5071” “asfax@gmail.com” “SUCCESS” “OK” “anonymous””) in new stack
    — Executing [h@sub-fax-receiver:3] GotoIf(“SIP/GW01-00000001”, “1?finish”) in new stack
    — Goto (sub-fax-receiver,h,5)
    — Executing [h@sub-fax-receiver:5] NoOp(“SIP/GW01-00000001”, “”) in new stack

     

    After checking system log, I found the following error:

    May 22 02:06:54 asp01 asterisk: PHP Fatal error: Cannot use object of type ombuteltenant as array in /usr/share/ombutel/scripts/process_fax_in on line 0

    What can I do to fix it?

    0
Viewing 2 replies - 1 through 2 (of 2 total)
  • Replies
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.