Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-19570

User management FAX Store Locally option is broken.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: Fax Pro (Commercial)
    • Labels:
      None
    • Sprint:
      Eastern Sprint 1
    • Bug Tracker:
      QA Testing
    • ToDo:
    • Story Points:
      1
    • Distro Version:
      14
    • Distro:
      FreePBX Distro

      Description

      User management FAX Store Locally option is broken. Fax is getting stored even when you set Store Locally option under User Management User setting to No.

      Attached asterisk call log and Screen shot for your reference.
       

      
       
       {{Using SIP RTP CoS mark 5
       > 0x365b0f0 – Strict RTP learning after remote address set to: 192.168.3.66:15884
       – Executing [543543@from-pstn:1] Set("SIP/sand66in-00000014", "__DIRECTION=INBOUND") in new stack
       – Executing [543543@from-pstn:2] DumpChan("SIP/sand66in-00000014", "") in new stackDumping Info For Channel: SIP/sand66in-00000014:
       ================================================================================
       Info:
       Name= SIP/sand66in-00000014
       Type= SIP
       UniqueID= 1551352968.1204
       LinkedID= 1551352968.1204
       CallerIDNum= 9876543211
       CallerIDName= (N/A)
       ConnectedLineIDNum= (N/A)
       ConnectedLineIDName=(N/A)
       DNIDDigits= 543543
       RDNIS= (N/A)
       Parkinglot= default
       Language= en
       State= Ring (4)
       Rings= 0
       NativeFormat= (ulaw)
       WriteFormat= ulaw
       ReadFormat= ulaw
       RawWriteFormat= ulaw
       RawReadFormat= ulaw
       WriteTranscode= No
       ReadTranscode= No
       1stFileDescriptor= 54
       Framesin= 0
       Framesout= 0
       TimetoHangup= 0
       ElapsedTime= 0h0m0s
       BridgeID= (Not bridged)
       Context= from-pstn
       Extension= 543543
       Priority= 2
       CallGroup=
       PickupGroup=
       Application= DumpChan
       Data= (Empty)
       Blocking_in= (Not Blocking)Variables:
       DIRECTION=INBOUND
       SIPCALLID=0351bb5e1d3776ec6700c6117e615362@192.168.3.169
       SIPDOMAIN=192.168.3.169
       SIPURI=sip:9876543211@192.168.3.66:5160
       ================================================================================
       – Executing [543543@from-pstn:3] Gosub("SIP/sand66in-00000014", "sub-ratedecks,s,1(,9876543211,,IN,,)") in new stack
       – Executing [s@sub-ratedecks:1] NoOp("SIP/sand66in-00000014", "Call accounting finding Rate card") in new stack
       – Executing [s@sub-ratedecks:2] AGI("SIP/sand66in-00000014", "callaccounting_find_ratecard.php,,9876543211,,IN,,") in new stack
       – Launched AGI Script /var/lib/asterisk/agi-bin/callaccounting_find_ratecard.php
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT trunkid,channelid,usercontext FROM trunks WHERE tech ='sip'
       callaccounting_find_ratecard.php,,9876543211,,IN,,: sand66in Fund trunk id =1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '9876543211' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '987654321' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '98765432' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '9876543' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '987654' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '98765' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '9876' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '987' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '98' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '9' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       callaccounting_find_ratecard.php,,9876543211,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN (1) LIMIT 1
       – <SIP/sand66in-00000014>AGI Script callaccounting_find_ratecard.php completed, returning 0
       – Executing [s@sub-ratedecks:3] ExecIf("SIP/sand66in-00000014", "1?Set(CHANNEL(hangup_handler_wipe)=callaccounting-hangup,s,1)") in new stack
       – Executing [s@sub-ratedecks:4] NoOp("SIP/sand66in-00000014", "Ratepattern id ") in new stack
       – Executing [s@sub-ratedecks:5] Return("SIP/sand66in-00000014", "") in new stack
       – Executing [543543@from-pstn:4] Gosub("SIP/sand66in-00000014", "sub-record-check,s,1(in,543543,dontcare)") in new stack
       – Executing [s@sub-record-check:1] GotoIf("SIP/sand66in-00000014", "0?initialized") in new stack
       – Executing [s@sub-record-check:2] Set("SIP/sand66in-00000014", "__REC_STATUS=INITIALIZED") in new stack
       – Executing [s@sub-record-check:3] Set("SIP/sand66in-00000014", "NOW=1551352968") in new stack
       – Executing [s@sub-record-check:4] Set("SIP/sand66in-00000014", "__DAY=28") in new stack
       – Executing [s@sub-record-check:5] Set("SIP/sand66in-00000014", "__MONTH=02") in new stack
       – Executing [s@sub-record-check:6] Set("SIP/sand66in-00000014", "__YEAR=2019") in new stack
       – Executing [s@sub-record-check:7] Set("SIP/sand66in-00000014", "__TIMESTR=20190228-165248") in new stack
       – Executing [s@sub-record-check:8] Set("SIP/sand66in-00000014", "__FROMEXTEN=unknown") in new stack
       – Executing [s@sub-record-check:9] Set("SIP/sand66in-00000014", "__MON_FMT=wav") in new stack
       – Executing [s@sub-record-check:10] NoOp("SIP/sand66in-00000014", "Recordings initialized") in new stack
       – Executing [s@sub-record-check:11] ExecIf("SIP/sand66in-00000014", "0?Set(ARG3=dontcare)") in new stack
       – Executing [s@sub-record-check:12] Set("SIP/sand66in-00000014", "REC_POLICY_MODE_SAVE=") in new stack
       – Executing [s@sub-record-check:13] ExecIf("SIP/sand66in-00000014", "0?Set(REC_STATUS=NO)") in new stack
       – Executing [s@sub-record-check:14] GotoIf("SIP/sand66in-00000014", "2?checkaction") in new stack
       – Goto (sub-record-check,s,17)
       – Executing [s@sub-record-check:17] GotoIf("SIP/sand66in-00000014", "1?sub-record-check,in,1") in new stack
       – Goto (sub-record-check,in,1)
       – Executing [in@sub-record-check:1] NoOp("SIP/sand66in-00000014", "Inbound Recording Check to 543543") in new stack
       – Executing [in@sub-record-check:2] Set("SIP/sand66in-00000014", "FROMEXTEN=unknown") in new stack
       – Executing [in@sub-record-check:3] ExecIf("SIP/sand66in-00000014", "10?Set(FROMEXTEN=9876543211)") in new stack
       – Executing [in@sub-record-check:4] Gosub("SIP/sand66in-00000014", "recordcheck,1(dontcare,in,543543)") in new stack
       – Executing [recordcheck@sub-record-check:1] NoOp("SIP/sand66in-00000014", "Starting recording check against dontcare") in new stack
       – Executing [recordcheck@sub-record-check:2] Goto("SIP/sand66in-00000014", "dontcare") in new stack
       – Goto (sub-record-check,recordcheck,3)
       – Executing [recordcheck@sub-record-check:3] Return("SIP/sand66in-00000014", "") in new stack
       – Executing [in@sub-record-check:5] Return("SIP/sand66in-00000014", "") in new stack
       – Executing [543543@from-pstn:5] Set("SIP/sand66in-00000014", "CHANNEL(tonezone)=us") in new stack
       – Executing [543543@from-pstn:6] Set("SIP/sand66in-00000014", "__FROM_DID=543543") in new stack
       – Executing [543543@from-pstn:7] Set("SIP/sand66in-00000014", "returnhere=1") in new stack
       – Executing [543543@from-pstn:8] Gosub("SIP/sand66in-00000014", "app-blacklist-check,s,1()") in new stack
       – Executing [s@app-blacklist-check:1] GotoIf("SIP/sand66in-00000014", "0?blacklisted") in new stack
       – Executing [s@app-blacklist-check:2] Set("SIP/sand66in-00000014", "CALLED_BLACKLIST=1") in new stack
       – Executing [s@app-blacklist-check:3] Return("SIP/sand66in-00000014", "") in new stack
       – Executing [543543@from-pstn:9] Set("SIP/sand66in-00000014", "CDR(did)=543543") in new stack
       – Executing [543543@from-pstn:10] GotoIf("SIP/sand66in-00000014", "0?") in new stack
       – Executing [543543@from-pstn:11] ExecIf("SIP/sand66in-00000014", "1 ?Set(CALLERID(name)=9876543211)") in new stack
       – Executing [543543@from-pstn:12] Set("SIP/sand66in-00000014", "__MOHCLASS=") in new stack
       – Executing [543543@from-pstn:13] Set("SIP/sand66in-00000014", "__REVERSAL_REJECT=FALSE") in new stack
       – Executing [543543@from-pstn:14] GotoIf("SIP/sand66in-00000014", "1?post-reverse-charge") in new stack
       – Goto (from-pstn,543543,16)
       – Executing [543543@from-pstn:16] NoOp("SIP/sand66in-00000014", "") in new stack
       – Executing [543543@from-pstn:17] Set("SIP/sand66in-00000014", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
       – Executing [543543@from-pstn:18] Set("SIP/sand66in-00000014", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
       – Executing [543543@from-pstn:19] Set("SIP/sand66in-00000014", "CALLERID(name-pres)=allowed_not_screened") in new stack
       – Executing [543543@from-pstn:20] Set("SIP/sand66in-00000014", "CALLERID(num-pres)=allowed_not_screened") in new stack
       – Executing [543543@from-pstn:21] NoOp("SIP/sand66in-00000014", "CallerID Entry Point") in new stack
       – Executing [543543@from-pstn:22] Set("SIP/sand66in-00000014", "FAX_DEST=ext-fax^35^1") in new stack
       – Executing [543543@from-pstn:23] Set("SIP/sand66in-00000014", "FAXOPT(faxdetect)=yes") in new stack
       – Executing [543543@from-pstn:24] Answer("SIP/sand66in-00000014", "") in new stack
       – Executing [543543@from-pstn:25] Wait("SIP/sand66in-00000014", "4") in new stack
       > 0x365b0f0 – Strict RTP switching to RTP target address 192.168.3.66:15884 as source
       == Redirecting 'SIP/sand66in-00000014' to fax extension due to CNG detection
       == Spawn extension (from-pstn, fax, 1) exited non-zero on 'SIP/sand66in-00000014'
       – Executing [fax@from-pstn:1] Set("SIP/sand66in-00000014", "__DIRECTION=INBOUND") in new stack
       – Executing [fax@from-pstn:2] Goto("SIP/sand66in-00000014", "ext-fax,35,1") in new stack
       – Goto (ext-fax,35,1)
       – Executing [35@ext-fax:1] Set("SIP/sand66in-00000014", "FAX_FOR=Sandy (35)") in new stack
       – Executing [35@ext-fax:2] NoOp("SIP/sand66in-00000014", "Receiving Fax for: Sandy (35), From: "9876543211" <9876543211>") in new stack
       – Executing [35@ext-fax:3] Set("SIP/sand66in-00000014", "FAX_RX_USER=35") in new stack
       – Executing [35@ext-fax:4] Set("SIP/sand66in-00000014", "FAX_RX_EMAIL_LEN=20") in new stack
       – Executing [35@ext-fax:5] ExecIf("SIP/sand66in-00000014", "1?Set(ARIUSER=35)") in new stack
       – Executing [35@ext-fax:6] ExecIf("SIP/sand66in-00000014", "1?AGI(fax.agi)") in new stack
       – Launched AGI Script /var/lib/asterisk/agi-bin/fax.agi
       – <SIP/sand66in-00000014>AGI Script fax.agi completed, returning 0
       – Executing [35@ext-fax:7] Gosub("SIP/sand66in-00000014", "zulu-no-interaction,s,1()") in new stack
       – Executing [s@zulu-no-interaction:1] Set("SIP/sand66in-00000014", "__ZULU_CALLVAR_NO_INTERACTION=true") in new stack
       – Executing [s@zulu-no-interaction:2] Return("SIP/sand66in-00000014", "") in new stack
       – Executing [35@ext-fax:8] Goto("SIP/sand66in-00000014", "s,receivefax") in new stack
       – Goto (ext-fax,s,4)
       – Executing [s@ext-fax:4] StopPlayTones("SIP/sand66in-00000014", "") in new stack
       – Executing [s@ext-fax:5] Set("SIP/sand66in-00000014", "FAXOPT(localstationid)=32323232") in new stack
       – Executing [s@ext-fax:6] ReceiveFAX("SIP/sand66in-00000014", "/var/spool/asterisk/fax/1551352968.1204.tif,f") in new stack
       – Channel 'SIP/sand66in-00000014' receiving FAX '/var/spool/asterisk/fax/1551352968.1204.tif'
       > 0x365b0f0 – Strict RTP learning complete - Locking on source address 192.168.3.66:15884
       [2019-02-28 16:53:00] WARNING[3259][C-0000001f]: chan_sip.c:10635 process_sdp: Failed to initialize UDPTL, declining image stream
       [2019-02-28 16:53:00] WARNING[3259][C-0000001f]: chan_sip.c:10822 process_sdp: Failing due to no acceptable offer found
       [2019-02-28 16:53:12] WARNING[16786][C-0000001f]: res_fax_spandsp.c:438 spandsp_log: WARNING T.30 ECM carrier not found
       – Executing [s@ext-fax:7] ExecIf("SIP/sand66in-00000014", "0?Set(FAXSTATUS="FAILED: error: statusstr: OK")") in new stack
       – Executing [s@ext-fax:8] Hangup("SIP/sand66in-00000014", "") in new stack
       == Spawn extension (ext-fax, s, 8) exited non-zero on 'SIP/sand66in-00000014'
       – Executing [h@ext-fax:1] GotoIf("SIP/sand66in-00000014", "0?failed") in new stack
       – Executing [h@ext-fax:2] Set("SIP/sand66in-00000014", "DELETE_AFTER_SEND=false") in new stack
       – Executing [h@ext-fax:3] Gosub("SIP/sand66in-00000014", "zulu-no-interaction,s,1()") in new stack
       – Executing [s@zulu-no-interaction:1] Set("SIP/sand66in-00000014", "__ZULU_CALLVAR_NO_INTERACTION=true") in new stack
       – Executing [s@zulu-no-interaction:2] Return("SIP/sand66in-00000014", "") in new stack
       – Executing [h@ext-fax:4] GotoIf("SIP/sand66in-00000014", "0?noemail") in new stack
       – Executing [h@ext-fax:5] System("SIP/sand66in-00000014", "/var/lib/asterisk/bin/fax2mail.php --remotestationid "unknown" --user "35" --dest "543543" --callerid "Ijk4NzY1NDMyMTEiIDw5ODc2NTQzMjExPg==" --file /var/spool/asterisk/fax/1551352968.1204.tif --delete "false"") in new stack
       – Executing [h@ext-fax:6] ExecIf("SIP/sand66in-00000014", "1?system(/var/lib/asterisk/bin/faxpro_helper.php --action="receive" --user="35" --dest="543543" --callerid="Ijk4NzY1NDMyMTEiIDw5ODc2NTQzMjExPg==" --file="/var/spool/asterisk/fax/1551352968.1204.tif" --direction="in" --status="OK")") in new stack
       – Executing [h@ext-fax:7] Macro("SIP/sand66in-00000014", "hangupcall,") in new stack
       – Executing [s@macro-hangupcall:1] GotoIf("SIP/sand66in-00000014", "1?theend") in new stack
       – Goto (macro-hangupcall,s,3)
       – Executing [s@macro-hangupcall:3] ExecIf("SIP/sand66in-00000014", "0?Set(CDR(recordingfile)=)") in new stack
       – Executing [s@macro-hangupcall:4] NoOp("SIP/sand66in-00000014", " montior file= ") in new stack
       – Executing [s@macro-hangupcall:5] GotoIf("SIP/sand66in-00000014", "1?skipagi") in new stack
       – Goto (macro-hangupcall,s,7)
       – Executing [s@macro-hangupcall:7] Hangup("SIP/sand66in-00000014", "") in new stack
       == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/sand66in-00000014' in macro 'hangupcall'
       == Spawn extension (ext-fax, h, 7) exited non-zero on 'SIP/sand66in-00000014'
       – SIP/sand66in-00000014 Internal Gosub(callaccounting-hangup,s,1) start
       – Executing [s@callaccounting-hangup:1] NoOp("SIP/sand66in-00000014", "Calling call accounting AGI") in new stack
       – Executing [s@callaccounting-hangup:2] AGI("SIP/sand66in-00000014", "callaccounting_hangup.agi,2019-02-28 16:52:48,2019-02-28 16:52:48,36") in new stack
       – Launched AGI Script /var/lib/asterisk/agi-bin/callaccounting_hangup.agi
       – <SIP/sand66in-00000014>AGI Script callaccounting_hangup.agi completed, returning 0
       – Executing [s@callaccounting-hangup:3] Return("SIP/sand66in-00000014", "") in new stack
       == Spawn extension (ext-fax, h, 7) exited non-zero on 'SIP/sand66in-00000014'
       – SIP/sand66in-00000014 Internal Gosub(callaccounting-hangup,s,1) complete GOSUB_RETVAL= }}

        Gliffy Diagrams

          Attachments

          1. FAX store localy.png
            FAX store localy.png
            43 kB
          2. StoreLocally-No
            18 kB
          3. StoreLocally-yes
            16 kB

            Activity

              People

              • Assignee:
                mmishra Mohit Mishra
                Reporter:
                psandesh Sandesh Prakash [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.