System Recording from Extension (from GUI) - Record Not Ending

Hi all,

I am using a Sangoma S500, and when I go to add a new System Recording, enter an extension and call from GUI, I can pick up, hear a beep, and record. However, nothing happens when I hang up.

I started asterisk -r -vvv and confirmed that I get no activity when I put the phone back on the hook.

All modules and FreePBX are up to date as well is S500 firmware.

      -- Call    ed 3    50@    from-internal    
        -- Ex    ecut    ing     [350@from-in    ternal:1]     GotoI    f("L    oca    l/350@from-in    ternal-00000008;2",     "1?ex    t-lo    cal    ,350,1:follow    me-check,350,1") in new stack
        -- Go    to (    ext    -local,350,1)    
        -- Ex    ecut    ing     [350@ext-local:1]     Set("Local/350@from-internal-00000008;2",     "__RI    NGTI    MER    =15") in new stack    
        -- Ex    ecut    ing     [350@ext-local:2] Mac    ro("Local/350@from-internal-00000008;2",     "exte    n-vm    ,35    0,350,0,0,0") in new s    tack
        -- Ex    ecut    ing     [s@macro-exten-vm:1]     Macro    ("Lo    cal    /350@from-internal-00000008    ;2", "user-callerid,") in new stack
        -- Ex    ecut    ing     [s@macro-user-callerid:1]     Set("    Loca    l/3    50@from-internal-00000008;2    ", "TOUCH_MONITOR=1524156639.40")     in ne    w st    ack    
        -- Ex    ecut    ing [s@macro-user-callerid:2]     Set("    Loca    l/350@from-internal-00000008;2    ", "AMPUSER=") in new stack
        -- Ex    ecut    ing [s@macro-user-callerid:3]     GotoI    f("L    ocal/350@from-internal-0000000    8;2", "0?report") in new stack
        -- Ex    ecut    ing [s@macro-user-callerid:4]     ExecI    f("L    ocal/350@from-internal-0000000    8;2", "1?Set(REALCALLERIDNUM=)") in     new s    tack    
        -- Ex    ecut    ing [s@macro-user-calleri    d:5]     Set("    Loca    l/350@from-internal-00000    008;2    ", "AMPUSER=") in new stack
        -- Ex    ecut    ing [s@macro-user-calleri    d:6]     GotoI    f("L    ocal/350@from-internal-00    00000    8;2", "0?limit") in new stack
        -- Ex    ecut    ing [s@macro-user-calleri    d:7]     Set("    Loca    l/350@from-internal-00000    008;2    ", "AMPUSERCIDNAME=") in new stack
        -- Ex    ecut    ing [s@macro-user-calleri    d:8]     ExecI    f("L    ocal/350@from-internal-00    00000    8;2",     "0?Se    t(__    CIDMASQUERADING=TRUE)") i    n new     stack
        -- Ex    ecut    ing [s@macro-user-calleri    d:9]     GotoI    f("L    ocal/350@from-internal-00    000008    ;2", "1?report") in new stack
        -- Go    to (    macro-user-callerid,s,16)    
        -- Ex    ecut    ing [s@macro-user-callerid:16]     NoOp(    "Loc    al/350@from-internal-00000008;2    ", "Macro Depth is 2") in new stack
        -- Ex    ecut    ing [s@macro-user-callerid:17]     GotoI    f("L    ocal/350@from-internal-00000008    ;2", "1?report2:macroerror") in     new s    tack    
        -- Go    to (mac    ro-user-calle    rid,s,18)    
        -- Ex    ecuting     [s@macro-use    r-calleri    d:18]     GotoI    f("Loca    l/350@from-in    ternal-00    000008    ;2", "0?continue") in new stack
        -- Ex    ecuting     [s@macro-use    r-calleri    d:19]     ExecI    f("Loca    l/350@from-in    ternal-00    000008    ;2",     "1?Se    t(__CAL    LEE_ACCOUNCOD    E=)") in     new st    ack
        -- Ex    ecuting     [s@macro-use    r-calleri    d:20]     Set("    Local/3    50@from-inter    nal-00000    008;2"    , "__TTL=64") in new stack
        -- Ex    ecuting     [s@macro-use    r-calleri    d:21]     GotoI    f("Loca    l/350@from-in    ternal-00    000008    ;2", "1?continue") in new stack
        -- Go    to (mac    ro-user-calle    rid,s,37)    
        -- Ex    ecuting     [s@macro-use    r-callerid:37]     Set("    Local/3    50@from-inter    nal-00000008;2"    , "CALLERID(number)=") in new stack
        -- Ex    ecuting     [s@macro-use    r-callerid:38]     Set("    Local/3    50@from-inter    nal-00000008;2"    , "CALLERID(name)=System     Recor    dings")     in new stack    
        -- Ex    ecuting     [s@macro-user-callerid:39]     GotoI    f("Loca    l/350@from-internal-00000008    ;2", "0?cnum") in new stack
        -- Ex    ecuting     [s@macro-user-callerid:40]     Set("    Local/3    50@from-internal-00000008;2"    , "CDR(cnam)=System Recordings")     in ne    w stack    
        -- Ex    ecuting [s@macro-user-callerid:41]     Set("    Local/350@from-internal-00000008;2"    , "CDR(cnum)=") in new stack
        -- Ex    ecuting [s@macro-user-callerid:42]     Set("    Local/350@from-internal-00000008;2", "CHANNEL(language)=en") in new     stack    
        -- Ex    ecuting [s@macro-exten-vm:2]     Set("    Local/350@from-internal-00000008;2", "RingGroupMethod=none") in new     stack    
        -- Ex    ecut    ing [s@macro-exten-vm:3]     Set("    Loca    l/350@from-internal-00000    008;2", "__EXTTOCALL=350") in new stack
        -- Ex    ecut    ing [s@macro-exten-vm:4]     Set("    Loca    l/350@from-internal-00000    008;2", "__PICKUPMARK=350") in new stack
        -- Ex    ecut    ing [s@macro-exten-vm:5]     Set("    Loca    l/350@from-internal-00000    008;2", "RT=15") in new stack
        -- Ex    ecut    ing [s@macro-exten-vm:6]     Gosub    ("Lo    cal/350@from-internal-000    00    008;2", "sub-record-check,s,1(    exten    ,350    ,dontcare)") in new stack    
        -- Ex    ecut    ing [s@sub-record-check:1]     GotoI    f("L    ocal/350@from-internal-0000    0008;2", "0?initialized") in new stack
        -- Ex    ecut    ing [s@sub-record-check:2]     Set("    Loca    l/350@from-internal-0000000    8;2", "__REC_STATUS=INITIALIZED") in     new s    tack    
        -- Ex    ecut    ing [s@sub-record-check:3]     Set("    Loca    l/350@from-internal-0000000    8;2", "NOW=1524156639") in new stack
        -- Ex    ecut    ing [s@sub-record-check:4]     Set("    Loca    l/350@from-internal-0000000    8;2", "__DAY=19") in new stack
        -- Ex    ecut    ing [s@sub-record-check:5]     Set("    Loca    l/350@from-internal-0000000    8;2", "__MONTH=04") in new stack
        -- Ex    ecut    ing [s@sub-record-check:6]     Set("    Loca    l/350@from-internal-0000000    8;2", "__YEAR=2018") in new stack
        -- Ex    ecut    ing [s@sub-record-check:7]     Set("    Loca    l/350@from-internal-0000000    8;2", "__TIMESTR=20180419-125039") in     new s    tack    
        -- Ex    ecuting [s@sub-record-check:8]     Set("    Local/350@from-internal-00000008;2", "__FROMEXTEN=unknown") in new     stack    
        -- Ex    ecut    ing [s@sub-record-check:9]     Set("    Loca    l/350@from-internal-00000008    ;2", "__MON_FMT=wav") in new stack
        -- Ex    ecut    ing [s@sub-record-check:10]     NoOp(    "Loc    al/350@from-internal-0000000    8;2", "Recordings initialized") in     new s    tack    
        -- Ex    ecut    ing [s@sub-record-check:11]     ExecI    f("L    ocal/350@from-internal-00000    008;2", "0?Set(ARG3=dontcare)") in     new s    tack    
        -- Ex    ecuting [s@sub-record-check:12]     Set("    Local/350@from-internal-00000008;2", "REC_POLICY_MODE_SAVE=") in new     stack    
        -- Ex    ecut    ing [s@sub-record-check:13]     ExecI    f("L    ocal/350@from-internal-00000    008;2", "0?Set(REC_STATUS=NO)") in     new s    tack    
        -- Ex    ecuting     [s@sub-record-chec    k:14]     GotoI    f("Loca    l/350@from-internal    -00000    008;2", "5?checkaction") in new stack
        -- Go    to (sub    -record-check,s,17)    
        -- Ex    ecuting     [s@sub-record-check:17]     GotoI    f("Loca    l/350@from-internal-00000008    ;2", "1?sub-record-check,exten,1")     in ne    w stack    
        -- Go    to (sub-record-check,exte    n,1)    
        -- Ex    ecuting [exten@sub-record    -check:1]     NoOp(    "Local/350@from-internal-    00000008;2    ", "Exten Recording Check between     unkno    wn and 350") in new stack    
        -- Ex    ecuting [exten@sub-record-check:2]     Set("    Local/350@from-internal-00000008;2"    , "CALLTYPE=internal") in new stack
        -- Ex    ecuting [exten@sub-record-check:3]     ExecI    f("Local/350@from-internal-00000008;2", "0?Set(CALLTYPE=)") in new     stack    
        -- Ex    ecut    ing [exten@sub-record-check:4]     Set("    Loca    l/350@from-internal-00000008;2"    , "CALLEE=dontcare") in new stack
        -- Ex    ecut    ing [exten@sub-record-check:5]     ExecI    f("L    ocal/350@from-internal-00000008;2", "0?Set(CALLEE=dontcare)") in     new s    tack    
        -- Ex    ecut    ing [exten@sub-record-chec    k:6]     GotoI    f("L    ocal/350@from-internal-000    00008    ;2", "0?callee") in new stack
        -- Ex    ecut    ing [exten@sub-record-chec    k:7]     GotoI    f("L    ocal/350@from-internal-000    00008;    2", "1?caller") in new stack
        -- Go    to (    sub-record-check,exten,13)    
        -- Ex    ecut    ing [exten@sub-record-check:13]     Set("    Loca    l/350@from-internal-00000008;2",     "RECMODE=") in new stack
        -- Ex    ecut    ing [exten@sub-record-check:14]     ExecI    f("L    ocal/350@from-internal-00000008;2", "1?Set(RECMODE=dontcare)") in     new s    tack    
        -- Ex    ecut    ing [exten@sub-record-check:15]     ExecI    f("L    ocal/350@from-internal-00000008;2", "1?Set(RECMODE=dontcare)") in     new s    tack    
        -- Ex    ecuting [exten@sub-recor    d-    check:    16]     Gosub    ("Local/350@from-interna    l-    000000    08;2", "r    ecordcheck,1(    dontc    are,internal,350)") in n    ew     stack    
        -- Ex    ecuting [recordcheck@sub    -r    ecord-check:1]     NoOp(    "Local/350@from-internal    -0    0000008;2", "Starting recording check     again    st dontcare") in new sta    ck    
        -- Ex    ecuting [recordcheck@sub    -reco    rd-che    ck:2]     Goto(    "Local/350@from-internal    -0000    0008;2    ", "dontcare") in new stack
        -- Go    to (sub-record-check,rec    ordch    eck,3)    
        -- Ex    ecuting [recordcheck@sub    -reco    rd-chec    k:3]     Retur    n("Local/350@from-intern    al-00    000008;    2", "") in new stack
        -- Ex    ecuting [exten@sub-recor    d-che    ck:17]     Retur    n("Local/350@from-intern    al-00    000008;2", "") in new stack
        -- Ex    ecuting [s@macro-exten-v    m:7]     GotoI    f("Local/350@from-intern    al-000    00008;2", "1?macrodial") in new stack
        -- Go    to (macro-exten-vm,s,13)    
        -- Ex    ecuting [s@macro-exten-vm:13]     Gosub    If("Local/350@from-internal-00000008;2", "0?clrheader,1()") in new     stack    
        -- Ex    ecut    ing [s@macro-exten-vm:14]         Macro    ("Lo    cal/350@from-internal-000    00008;2", "dial-one,15,HhTtr,350") in     new s    tack    
        -- Ex    ecut    ing [s@macro-dial-one:1]     Set("    Loca    l/350@from-internal-00000    008;2", "DEXTEN=350") in new stack
        -- Ex    ecut    ing [s@macro-dial-one:2]     ExecI    f("L    ocal/350@from-internal-00    000008;2", "0?Set(__EXTTOCALL=350)") in     new s    tack    
        -- Ex    ecuting [s@macro-dial-o    ne:3]     Set("    Local/350@from-internal    -00000    008;2", "DIALSTATUS_CW=") in new stack
        -- Ex    ecuting [s@macro-dial-o    ne:4]     Gosub    If("Local/350@from-inte    rnal-0    0000008;2", "0?screen,1()") in new stack
        -- Ex    ecuting [s@macro-dial-o    ne:5]     Gosub    If("Local/350@from-inte    rnal-0    0000008;2", "0?cf,1()") in new stack
        -- Ex    ecuting [s@macro-dial-o    ne:6]     GotoI    f("Local/350@from-inter    nal-00    000008;2", "1?skip1") in new stack
        -- Go    to (macro-dial-one,s,9)    
        -- Ex    ecuting [s@macro-dial-one:9]     GotoI    f("Local/350@from-internal-000    00008;2", "0?nodial") in new stack
        -- Ex    ecuting [s@macro-dial-one:10]     GotoI    f("Local/350@from-internal-000    00008;2", "0?continue") in new stack
        -- Ex    ecuting [s@macro-dial-one:11]     ExecI    f("Local/350@from-internal-00000008;2", "0?Set(D_OPTIONS=g)") in new     stack    
        -- Ex    ecuting [s@macro-dial-one:12]     Set("    Local/350@from-internal-000000    08;2", "EXTHASCW=ENABLED") in new stack
        -- Ex    ecuting [s@macro-dial-one:13]     GotoI    f("Local/350@from-internal-00000008;2", "0?next1:cwinusebusy") in new     stack    
        -- Go    to (macro-dial-one,s,25)    
        -- Ex    ecuting [s@macro-dial-one:25]     GotoI    f("Local/350@from-internal-00000008;2", "0?next3:continue") in new     stack    
        -- Go    to (mac    ro-dial-one,s,27)    
        -- Ex    ecuting     [s@macro-dial-one:27]     GotoI    f("Loca    l/350@from-internal-000    00008;2", "0?nodial") in new stack
        -- Ex    ecuting     [s@macro-dial-one:28]     Gosub    If("Loc    al/350@from-internal-0000000    8;2", "1?dstring,1():dlocal,1()")     in ne    w stack    
        -- Ex    ecuting [dstring@macro-dial-one:1]     Set("    Local/350@from-internal-00000008;2"    , "DSTRING=") in new stack
        -- Ex    ecuting [dstring@macro-dial-one:2]     Set("    Local/350@from-internal-00000008;2"    , "DEVICES=350") in new stack
        -- Ex    ecuting [dstring@macro-dial-one:3]     ExecI    f("Local/350@from-internal-00000008    ;2", "0?Return()") in new stack
        -- Ex    ecuting [dstring@macro-dial-one:4]     ExecI    f("Local/350@from-internal-00000008;2", "0?Set(DEVICES=50)") in new     stack    
        -- Ex    ecuting [dstring@macro-dial-one:5]     Set("    Local/350@from-internal-00000008;2"    , "LOOPCNT=1") in new stack
        -- Ex    ecuting [dstring@macro-dial-one:6]     Set("    Local/350@from-internal-00000008;2"    , "ITER=1") in new stack
        -- Ex    ecuting [dstring@macro-dial-one:7]     Set("    Local/350@from-internal-00000008;2", "THISDIAL=PJSIP/350") in new     stack    
        -- Ex    ecuting [dstring@macro-dial-one:8]     Gosub    If("Local/350@from-internal-00000008;2", "1?zap2dahdi,1()") in new     stack    
        -- Ex    ecuting [zap2dahdi@macro-dial-one:1]     ExecI    f("Local/350@from-internal-00000008;2    ", "0?Return()") in new stack
        -- Ex    ecuting [zap2dahdi@macro-dial-one:2]     Set("    Local/350@from-internal-00000008;2",     "NEWDIAL=") in new stack
        -- Ex    ecuting [zap2dahdi@macro-dial-one:3]     Set("    Local/350@from-internal-00000008;2",     "LOOPCNT2=1") in new stack
        -- Ex    ecuting [zap2dahdi@macro-dial-one:4]     Set("    Local/350@from-internal-00000008;2",     "ITER2=1") in new stack
        -- Ex    ecuting [zap2dahdi@macro-dial-one:5]     Set("    Local/350@from-internal-00000008;2", "THISPART2=PJSIP/350") in new     stack    
        -- Ex    ecuting [zap2dahdi@macro-dial-on    e:6]     ExecI    f("Local/350@from-internal-00000    008;2    ", "0?Set(    THISP    ART2=DAHDIIP/350)") in new stack    
        -- Ex    ecuting [zap2dahdi@macro-dial-one:7]     Set("    Local/350@from-internal-00000008;2", "NEWDIAL=PJSIP/350&") in new     stack    
        -- Ex    ecuting [zap2dahdi@macro-dial-one:8]     Set("    Local/350@from-internal-00000008;2",     "ITER2=2") in new stack
        -- Ex    ecuting [zap2dahdi@macro-dial-one:9]     GotoI    f("Local/350@from-internal-00000008;2"    , "0?begin2") in new stack
        -- Ex    ecuting [zap2dahdi@macro-dial-one:10]     Set("    Local/350@from-internal-00000008;2", "THISDIAL=PJSIP/350") in new     stack    
        -- Ex    ecut    ing     [zap2dahdi@    macro-dial-one:1    1]     Retur    n("L    oca    l/350@from-i    nternal-00000008    ;2", "") in new stack
        -- Ex    ecut    ing     [dstring@ma    cro-dial-one:9]     GotoI    f("L    oca    l/350@from-i    nternal-00000008;    2", "0?docheck") in new stack
        -- Ex    ecut    ing     [dstring@ma    cro-dial-one:10]     NoOp(    "Loc    al/    350@from-int    ernal-00000008;2", "Debug: Found PJSIP Destination     PJSIP    /350    ")     in new stack    
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:11]     GotoI    f("L    oca    l/350@from-internal-000    00008;    2", "0?doset") in new stack
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:12]     NoOp(    "Loc    al/    350@from-internal-00000    008;2"    , "Debug: Updating PJSIP     Desti    nati    on     with PJSIP_DIAL_CONTACT    S") in     new stack
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:13]     Set("    Loca    l/3    50@from-internal-000000    08;2",     "THISDIAL=PJSIP/350/    sip:3    50@1    0.1    01.30.101:5060") in new     stack    
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:14]     GotoI    f("L    oca    l/350@from-internal-000    00008;    2", "0?skipset") in new stack
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:15]     Set("    Loca    l/3    50@from-internal-000000    08;2",     "DSTRING=PJSIP/350/    sip:3    50@1    0.1    01.30.101:5060&") in ne    w stac    k
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:16]     Set("    Loca    l/3    50@from-internal-000000    08;2",     "ITER=2") in new stack
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:17]     GotoI    f("L    oca    l/350@from-internal-000    00008;    2", "0?begin") in new stack
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:18]     ExecI    f("L    oca    l/350@from-internal-000    00008;    2", "0?Return()") in new stack
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:19]     Set("    Loca    l/3    50@from-internal-000000    08;2",     "DSTRING=PJSIP/350/    sip:3    50@1    0.1    01.30.101:5060") in new     stack    
        -- Ex    ecut    ing     [dstring@macro-dial-on    e:20]     Retur    n("L    oca    l/350@from-internal-000    00008;2", "") in new stack
        -- Ex    ecut    ing     [s@macro-dial-one:29]     GotoI    f("L    oca    l/350@from-internal-000    00008;2", "0?nodial") in new stack
        -- Ex    ecut    ing     [s@macro-dial-one:30]     GotoI    f("L    oca    l/350@from-internal-000    00008;2", "0?skiptrace") in new stack
        -- Ex    ecut    ing     [s@macro-dial-one:31]     Gosub    If("    Loc    al/350@from-internal-0000000    8;2", "0?ctset,1():ctclear,1()")     in ne    w st    ack    
        -- Ex    ecut    ing [ctclear@macro-dial-one:1]     NoOp(    "Loc    al/350@from-internal-00000008;2", "Deleting: CALLTRACE/350 ") in     new s    tack    
        -- Ex    ecuting [ctclear@macro-dial-on    e:2]     Retur    n("Local/350@from-internal-000    00008;2", "") in new stack
        -- Ex    ecuting [s@macro-dial-one:32]     Set("    Local/350@from-internal-000000    08;2", "D_OPTIONS=HhTtr") in new stack
        -- Ex    ecuting [s@macro-dial-one:33]     NoOp(    "Local/350@from-internal-00000    008;2", "Blind Transfer: , Attended     Trans    fer: , User: , Alert Info: ")     in new stack
        -- Ex    ecuting [s@macro-dial-one:34]     ExecI    f("Local/350@from-internal-00000008;2", "0?Set(ALERT_INFO=)") in new     stack    
        -- Ex    ecuting [s@macro-dial-one:35]     ExecI    f("Local/350@from-internal-00000008;2", "0?Set(ALERT_INFO=)") in new     stack    
        -- Ex    ecuting [s@macro-dial-one:36]     ExecI    f("Local/350@from-internal-00000008;2", "0?Set(ALERT_INFO=)") in new     stack    
        -- Ex    ecut    ing     [s@macro-dial-    one:37]     ExecI    f("L    oca    l/350@from-inte    rnal-000    00008;2", "0?Set(    ALERT    _INF    O=N    ormal;volume=)"    ) in new     stack
        -- Ex    ecut    ing     [s@macro-dial-    one:38]     ExecI    f("L    oca    l/350@from-inte    rnal-000    00008;2", "0?Set(    ALERT    _INF    O=N    ormal;volume=)"    ) in new     stack
        -- Ex    ecut    ing     [s@macro-dial-    one:39]     Gosub    If("    Loc    al/350@from-int    ernal-00    000008;2", "0?func-set-sipheader,s,1(    Alert    -Inf    o,)    ") in new stack    
        -- Ex    ecut    ing     [s@macro-dial-o    ne:40]     ExecI    f("L    oca    l/350@from-inter    nal-000    00008;2", "0?Set(CHANNEL(    music    clas    s)=    )") in new stack    
        -- Ex    ecut    ing     [s@macro-dial-on    e:41]     Gosub    If("    Loc    al/350@from-inter    nal-00    000008;2", "0?qwait,1()") in new stack
        -- Ex    ecut    ing     [s@macro-dial-on    e:42]     Set("    Loca    l/3    50@from-internal-    000000    08;2", "__CWIGNORE=") in new stack
        -- Ex    ecut    ing     [s@macro-dial-on    e:43]     Set("    Loca    l/3    50@from-internal-    000000    08;2", "__KEEPCID=TRUE") in new stack
        -- Ex    ecut    ing     [s@macro-dial-on    e:44]     GotoI    f("L    oca    l/350@from-intern    al-000    00008;2", "0?usegoto,1") in new stack
        -- Ex    ecut    ing     [s@macro-dial-on    e:45]     GotoI    f("L    oca    l/350@from-intern    al-000    00008;2", "1?godial") in new stack
        -- Go    to (    mac    ro-dial-one,s,50)    
        -- Ex    ecut    ing     [s@macro-dial-one:50]     Macro    ("Lo    cal    /350@from-internal-00000008;2", "dialout-one-predial-hook,")     in ne    w st    ack    
        -- Ex    ecut    ing [s@macro-dialout-one-p    redial-hook:1]     Macro    Exit    ("Local/350@from-internal-    00000008;2", "") in new stack
        -- Ex    ecut    ing [s@macro-dial-one:51]     ExecI    f("L    ocal/350@from-internal-000    00008;2", "0?Set(D_OPTIONS=HhtrI)") in     new s    tack    
        -- Ex    ecuting [s@macro-dial-one:52]     NoOp(    "Local/350@from-internal-00000    008;2", "") in new stack
        -- Ex    ecuting [s@macro-dial-one:53]     Dial(    "Local/350@from-internal-00000008;2", "PJSIP/350/    sip:3    [email protected]:5060,15,HhTtrb(func-apply-sipheaders^s^1)") in new     stack    
        -- PJSIP/350    -00000014 Internal     Gosub(func-apply    -sipheaders,s,1) sta    r    t
        -- Executing     [s@func-apply-sip    headers:1] NoOp("    PJSIP/350-00000014",         "Applying SI    P Headers to chann    el") in new stack    
        -- Executing     [s@func-apply-sip    headers:2] Set("PJSIP/350-00000014",     "SIPHEADERKE    YS=") in new stack    
        -- Executing     [s@func-apply-sipheaders:3] While("PJSIP/350-00000014", "0")     in new stack    
        -- Jumping t    o priority 7    
        -- Executing     [s@func-apply-sipheaders:8] Return("PJSIP/350-00000014", "")     in new stack    
      == Spawn extens    ion (    from-internal, 350, 1) exited non-zero on     'PJSIP/350-0000    0014'    
        -- PJSIP/350-    00000014 Internal Gosub(func-appl    y-sipheaders,s,1) complete     GOSUB_RETVAL=    
        -- Called PJSIP/350/sip:350@10.    10    1.30.101:5060    
        -- Local/350@from-internal-0000    00    08;1 is ringi    ng
      == Using SIP RTP Audio TOS bits 1    84    
      == Using SIP RTP Audio TOS bits 1    84 in TCLASS fi    eld.
      == Using SIP RTP Audio CoS mark 5    
      == Using SIP RTP Video TOS bits 1    36    
      == Using SIP RTP Video TOS bits 1    36 in TCLASS fi    eld.
      == Using SIP RTP Video CoS mark 4    
        -- PJSIP/350-00000014 is ringing    
        -- Local/350@from-internal-00000008;1     is ri    ngi    ng
        -- PJSIP/350-00000014 answered Local/3    50@fr    om-    internal-00000008;2
        -- Local/350@from-internal-00000008;1     answe    red    
        -- Executing [dorecord@systemrecording    -gui:    1]     Record("Local/350@from-internal-000000    08;1"    , "/var/spool/asterisk/    tmp/3501524156644388.wav,,,k") in new     stack    
        -- Channel PJSIP/350-00000014 joined '    simple_bridge' basic-bridge     <2f91c53c-93a8-4601-81f6-b3bd1bb0bf03>    
        -- Channel Local/350@from-internal-00000008;2 joine    d 'simple_bridge'     basic-bridge <2f91c53c-93a8-4601-81f6-b3bd1bb0bf03>    
        -- <Local/350@from-internal-00000008;1> Playing 'beep.slin16' (language     'en')

It not getting the hang up signaling it looks like. Does a regular call to this extension end cleanly in the logs (Get a BYE signal) when you hang up from 350?

Not sure about a BYE signal, but I see hangup info. I don’t see this on the Recording process.

-- Channel PJSIP/350-00000016 left 'simple_bridge' basic-bridge <4520c0e1-a5cf-4756-9824-a4aa1d216e52>
== Spawn extension (macro-dial-one, s, 53) exited non-zero on 'PJSIP/350-00000016' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'PJSIP/350-00000016' in macro 'exten-vm'
== Spawn extension (ext-local, 300, 2) exited non-zero on 'PJSIP/350-00000016'
  -- Executing [h@ext-local:1] Macro("PJSIP/350-00000016", "hangupcall,") in new stack
  -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/350-00000016", "1?theend") in new stack
  -- Goto (macro-hangupcall,s,3)
  -- Channel PJSIP/300-00000017 left 'simple_bridge' basic-bridge <4520c0e1-a5cf-4756-9824-a4aa1d216e52>
  -- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/350-00000016", "0?Set(CDR(recordingfile)=)") in new stack
  -- Executing [s@macro-hangupcall:4] NoOp("PJSIP/350-00000016", "PJSIP/300-00000017 monior file= ") in new stack
  -- Executing [s@macro-hangupcall:5] AGI("PJSIP/350-00000016", "attendedtransfer-rec-restart.php,PJSIP/300-00000017,") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
  -- <PJSIP/350-00000016>AGI Script attendedtransfer-rec-restart.php completed, returning 0
  -- Executing [s@macro-hangupcall:6] Hangup("PJSIP/350-00000016", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/350-00000016' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'PJSIP/350-00000016'

Can you try to test the process from another phone to isolate if its a module or a phone issue?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.