Reply To: RE: Understanding Time Group Schedules

VitalPBX Community Support General Discussion Understanding Time Group Schedules Reply To: RE: Understanding Time Group Schedules

    crankshaft
    Participant
    Up
    0
    Down

    Here’s another test I just did, as you can see the time is 14:08, however the time condition did not match:

     

    -- Executing [s@TG-1:4] GotoIfTime("SIP/102-0000004f", "13:30-17:59,mon,1-31,jan-dec,?match:") in new stack

     

    [2020-04-08 14:08:11] ERROR[14376][C-00000044]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
    ...
    ...

    time-condition,TC-7,1") in new stack
    -- Goto (app-time-condition,TC-7,1)
    -- Executing [TC-7@app-time-condition:1] NoOp("SIP/102-0000004f", "Time Condition: TEST-GROUP") in new stack
    -- Executing [TC-7@app-time-condition:2] Gosub("SIP/102-0000004f", "TG-1,s,1") in new stack
    -- Executing [s@TG-1:1] NoOp("SIP/102-0000004f", "Time Group: OPEN") in new stack
    -- Executing [s@TG-1:2] Set("SIP/102-0000004f", "__TGMATCH=0") in new stack
    -- Executing [s@TG-1:3] GotoIfTime("SIP/102-0000004f", "09:00-12:29,mon,1-31,jan-dec,?match:") in new stack
    -- Executing [s@TG-1:4] GotoIfTime("SIP/102-0000004f", "13:30-17:59,mon,1-31,jan-dec,?match:") in new stack
    -- Executing [s@TG-1:5] Return("SIP/102-0000004f", "") in new stack
    -- Executing [TC-7@app-time-condition:3] NoOp("SIP/102-0000004f", "0") in new stack
    -- Executing [TC-7@app-time-condition:4] Set("SIP/102-0000004f", "OVERRIDE_STATE=no") in new stack
    -- Executing [TC-7@app-time-condition:5] GotoIf("SIP/102-0000004f", "0?:check-default") in new stack
    -- Goto (app-time-condition,TC-7,8)
    -- Executing [TC-7@app-time-condition:8] GotoIf("SIP/102-0000004f", "0?match") in new stack
    -- Executing [TC-7@app-time-condition:9] NoOp("SIP/102-0000004f", "Time Condition No Matched") in new stack
    -- Executing [TC-7@app-time-condition:10] Goto("SIP/102-0000004f", "app-announcement,announcement-13,1") in new stack
    -- Goto (app-announcement,announcement-13,1)
    -- Executing [announcement-13@app-announcement:1] NoOp("SIP/102-0000004f", "Announcement: TEST-FALSE") in new stack
    -- Executing [announcement-13@app-announcement:2] Playback("SIP/102-0000004f", "/var/lib/ombutel/static/7ecad415d78f5488/recordings/1ff1de774005f8da13f42943881c655f") in new stack
    > 0x7f6f080c9130 -- Strict RTP qualifying stream type: audio
    -- <SIP/102-0000004f> Playing '/var/lib/ombutel/static/7ecad415d78f5488/recordings/1ff1de774005f8da13f42943881c655f.slin' (language 'en_GB')
    -- Executing [announcement-13@app-announcement:3] Goto("SIP/102-0000004f", "app-termination,hangup,1") in new stack
    -- Goto (app-termination,hangup,1)
    -- Executing [hangup@app-termination:1] NoOp("SIP/102-0000004f", "Termination: Hangup Call") in new stack
    -- Executing [hangup@app-termination:2] NoCDR("SIP/102-0000004f", "") in new stack
    -- Executing [hangup@app-termination:3] Hangup("SIP/102-0000004f", "") in new stack
    == Spawn extension (app-termination, hangup, 3) exited non-zero on 'SIP/102-0000004f'
    == Extension Changed 102[extension-hints] new state Idle for Notify User 101

     

     

     

     

     

    0