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