Configuring Cisco Phone Hold Button

Hello,
I was able to successfully able to register my Cisco 6941 phones with the SIP protocol. I know that there is the option to use sccp-chan, but this was what I decided to use, and I wish to simplify the topology. I want to have the phones place a call on hold when the on phone button is pressed, but when I press it the call ends. There were a few configs I found for newer phones, but it seemed different since it referred to on screen buttons instead of the physical ones on the 6941.

I have attached the log below, but I was wondering if this is an issue with the phones XML or something in FreePBX. I am relatively new to the system and the system is strictly local so there is no concern for censorship. The phone extensions are set as 101 and 202. If someone could please help me out I would finally be free from this worry. Thank you.

[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [202@from-internal:1] Set("PJSIP/101-00000019", "__RINGTIMER=10") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [202@from-internal:2] ExecIf("PJSIP/101-00000019", "0?Set(__CWIGNORE=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [202@from-internal:3] Macro("PJSIP/101-00000019", "exten-vm,202,202,0,0,0") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:1] Macro("PJSIP/101-00000019", "user-callerid,") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/101-00000019", "TOUCH_MONITOR=1679956626.25") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/101-00000019", "AMPUSER=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:3] Set("PJSIP/101-00000019", "HOTDESCKCHAN=101-00000019") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:4] Set("PJSIP/101-00000019", "HOTDESKEXTEN=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/101-00000019", "HOTDESKCALL=0") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:6] ExecIf("PJSIP/101-00000019", "0?Set(HOTDESKCALL=1)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:7] ExecIf("PJSIP/101-00000019", "0?Set(CALLERID(name)=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("PJSIP/101-00000019", "0?report") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:9] ExecIf("PJSIP/101-00000019", "1?Set(REALCALLERIDNUM=101)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/101-00000019", "AMPUSER=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:11] GotoIf("PJSIP/101-00000019", "0?limit") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/101-00000019", "AMPUSERCIDNAME=Agent_A") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/101-00000019", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("PJSIP/101-00000019", "0?report") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:15] Set("PJSIP/101-00000019", "AMPUSERCID=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:16] Set("PJSIP/101-00000019", "__DIAL_OPTIONS=HhTtr") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:17] Set("PJSIP/101-00000019", "CALLERID(all)="Agent_A" <101>") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:18] ExecIf("PJSIP/101-00000019", "0?Set(CUSDIAL=202)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/101-00000019", "0?Set(CALLERID(all)="Agent_A" <101>)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:20] GotoIf("PJSIP/101-00000019", "0?limit") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:21] ExecIf("PJSIP/101-00000019", "0?Set(GROUP(concurrency_limit)=101)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:22] NoOp("PJSIP/101-00000019", "Macro Depth is 2") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:23] GotoIf("PJSIP/101-00000019", "1?report2:macroerror") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-user-callerid,s,24)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:24] GotoIf("PJSIP/101-00000019", "0?continue") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:25] Set("PJSIP/101-00000019", "__TTL=64") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:26] GotoIf("PJSIP/101-00000019", "1?continue") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-user-callerid,s,42)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:42] Set("PJSIP/101-00000019", "CALLERID(number)=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:43] Set("PJSIP/101-00000019", "CALLERID(name)=Agent_A") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:44] GotoIf("PJSIP/101-00000019", "0?cnum") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:45] Set("PJSIP/101-00000019", "CDR(cnam)=Agent_A") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:46] Set("PJSIP/101-00000019", "CDR(cnum)=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-user-callerid:47] Set("PJSIP/101-00000019", "CHANNEL(language)=en") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:2] Set("PJSIP/101-00000019", "RingGroupMethod=none") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:3] Set("PJSIP/101-00000019", "__EXTTOCALL=202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:4] Set("PJSIP/101-00000019", "__PICKUPMARK=202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:5] Set("PJSIP/101-00000019", "RT=10") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:6] Gosub("PJSIP/101-00000019", "sub-record-check,s,1(exten,202,dontcare)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/101-00000019", "0?initialized") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/101-00000019", "__REC_STATUS=INITIALIZED") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/101-00000019", "NOW=1679956626") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/101-00000019", "__DAY=27") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/101-00000019", "__MONTH=03") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/101-00000019", "__YEAR=2023") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/101-00000019", "__TIMESTR=20230327-183706") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/101-00000019", "__FROMEXTEN=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/101-00000019", "__MON_FMT=wav") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/101-00000019", "Recordings initialized") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/101-00000019", "0?Set(ARG3=dontcare)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/101-00000019", "REC_POLICY_MODE_SAVE=") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/101-00000019", "0?Set(REC_STATUS=NO)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/101-00000019", "5?checkaction") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (sub-record-check,s,17)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/101-00000019", "1?sub-record-check,exten,1") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (sub-record-check,exten,1)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:1] NoOp("PJSIP/101-00000019", "Exten Recording Check between 101 and 202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:2] Set("PJSIP/101-00000019", "CALLTYPE=internal") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:3] ExecIf("PJSIP/101-00000019", "0?Set(CALLTYPE=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:4] Set("PJSIP/101-00000019", "CALLEE=dontcare") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:5] ExecIf("PJSIP/101-00000019", "0?Set(CALLEE=dontcare)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:6] GotoIf("PJSIP/101-00000019", "0?callee") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:7] GotoIf("PJSIP/101-00000019", "1?caller") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (sub-record-check,exten,13)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:13] Set("PJSIP/101-00000019", "RECMODE=dontcare") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:14] ExecIf("PJSIP/101-00000019", "0?Set(RECMODE=dontcare)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:15] ExecIf("PJSIP/101-00000019", "1?Set(RECMODE=dontcare)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:16] Gosub("PJSIP/101-00000019", "recordcheck,1(dontcare,internal,202)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/101-00000019", "Starting recording check against dontcare") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/101-00000019", "dontcare") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:3] Return("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [exten@sub-record-check:17] Return("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:7] GotoIf("PJSIP/101-00000019", "1?macrodial") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-exten-vm,s,13)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:13] GosubIf("PJSIP/101-00000019", "0?clrheader,1()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-exten-vm:14] Macro("PJSIP/101-00000019", "dial-one,10,HhTtr,202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:1] Set("PJSIP/101-00000019", "DEXTEN=202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:2] ExecIf("PJSIP/101-00000019", "0?Set(__EXTTOCALL=202)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:3] Set("PJSIP/101-00000019", "DIALSTATUS_CW=") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:4] GosubIf("PJSIP/101-00000019", "0?screen,1()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:5] GosubIf("PJSIP/101-00000019", "0?cf,1()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:6] GotoIf("PJSIP/101-00000019", "1?skip1") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-dial-one,s,9)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:9] GotoIf("PJSIP/101-00000019", "0?nodial") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:10] GotoIf("PJSIP/101-00000019", "0?continue") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:11] Set("PJSIP/101-00000019", "EXTHASCW=ENABLED") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:12] GotoIf("PJSIP/101-00000019", "0?next1:cwinusebusy") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-dial-one,s,24)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:24] GotoIf("PJSIP/101-00000019", "0?next3:continue") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-dial-one,s,26)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:26] GotoIf("PJSIP/101-00000019", "0?nodial") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:27] GosubIf("PJSIP/101-00000019", "1?dstring,1():dlocal,1()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:1] Set("PJSIP/101-00000019", "DSTRING=") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:2] Set("PJSIP/101-00000019", "DEVICES=202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf("PJSIP/101-00000019", "0?Return()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf("PJSIP/101-00000019", "0?Set(DEVICES=02)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:5] Set("PJSIP/101-00000019", "LOOPCNT=1") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:6] Set("PJSIP/101-00000019", "ITER=1") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:7] Set("PJSIP/101-00000019", "THISDIAL=PJSIP/202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:8] GotoIf("PJSIP/101-00000019", "0?docheck") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:9] NoOp("PJSIP/101-00000019", "Debug: Found PJSIP Destination PJSIP/202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:10] GotoIf("PJSIP/101-00000019", "0?doset") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:11] NoOp("PJSIP/101-00000019", "Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:12] Set("PJSIP/101-00000019", "THISDIAL=PJSIP/202/sip:[email protected]:35878;transport=TCP") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:13] ExecIf("PJSIP/101-00000019", "0?Set(DIALSTATUS=CHANUNAVAIL)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:14] GotoIf("PJSIP/101-00000019", "0?skipset") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:15] Set("PJSIP/101-00000019", "DSTRING=PJSIP/202/sip:[email protected]:35878;transport=TCP&") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:16] Set("PJSIP/101-00000019", "ITER=2") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:17] GotoIf("PJSIP/101-00000019", "0?begin") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:18] ExecIf("PJSIP/101-00000019", "0?Return()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:19] Set("PJSIP/101-00000019", "DSTRING=PJSIP/202/sip:[email protected]:35878;transport=TCP") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [dstring@macro-dial-one:20] Return("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:28] GotoIf("PJSIP/101-00000019", "0?nodial") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:29] GotoIf("PJSIP/101-00000019", "0?skiptrace") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:30] GosubIf("PJSIP/101-00000019", "1?ctset,1():ctclear,1()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [ctset@macro-dial-one:1] Set("PJSIP/101-00000019", "DB(CALLTRACE/202)=101") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [ctset@macro-dial-one:2] Return("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:31] Set("PJSIP/101-00000019", "D_OPTIONS=HhTtr") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:32] GosubIf("PJSIP/101-00000019", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:33] NoOp("PJSIP/101-00000019", "Blind Transfer: , Attended Transfer: , User: 101, Alert Info: ") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:34] ExecIf("PJSIP/101-00000019", "1?Set(ALERT_INFO=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:35] ExecIf("PJSIP/101-00000019", "0?Set(ALERT_INFO=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:36] ExecIf("PJSIP/101-00000019", "0?Set(ALERT_INFO=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:37] ExecIf("PJSIP/101-00000019", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:38] ExecIf("PJSIP/101-00000019", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:39] GosubIf("PJSIP/101-00000019", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:40] ExecIf("PJSIP/101-00000019", "0?Set(CHANNEL(musicclass)=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:41] GosubIf("PJSIP/101-00000019", "0?qwait,1()") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:42] Set("PJSIP/101-00000019", "__CWIGNORE=") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:43] Set("PJSIP/101-00000019", "__KEEPCID=TRUE") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:44] GotoIf("PJSIP/101-00000019", "0?usegoto,1") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:45] GotoIf("PJSIP/101-00000019", "0?godial") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:46] Gosub("PJSIP/101-00000019", "sub-presencestate-display,s,1(202)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@sub-presencestate-display:1] Goto("PJSIP/101-00000019", "state-not_set,1") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (sub-presencestate-display,state-not_set,1)
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [state-not_set@sub-presencestate-display:1] Set("PJSIP/101-00000019", "PRESENCESTATE_DISPLAY=") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [state-not_set@sub-presencestate-display:2] Return("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:47] Set("PJSIP/101-00000019", "CONNECTEDLINE(name,i)=Agent_B") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:48] Set("PJSIP/101-00000019", "CONNECTEDLINE(num)=202") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:49] Set("PJSIP/101-00000019", "D_OPTIONS=HhTtr") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:50] Macro("PJSIP/101-00000019", "dialout-one-predial-hook,") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:51] ExecIf("PJSIP/101-00000019", "0?Set(D_OPTIONS=HhtrI)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:52] ExecIf("PJSIP/101-00000019", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:53] NoOp("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:54] ExecIf("PJSIP/101-00000019", "0?Set(D_OPTIONS=HhTtrg)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-dial-one:55] Dial("PJSIP/101-00000019", "PJSIP/202/sip:[email protected]:35878;transport=TCP,10,HhTtrb(func-apply-sipheaders^s^1)") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] app_stack.c: PJSIP/202-0000001a Internal Gosub(func-apply-sipheaders,s,1) start
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/202-0000001a", "Applying SIP Headers to channel PJSIP/202-0000001a") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:2] Set("PJSIP/202-0000001a", "TECH=PJSIP") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/202-0000001a", "SIPHEADERKEYS=") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:4] While("PJSIP/202-0000001a", "0") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] app_while.c: Jumping to priority 12
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:13] Return("PJSIP/202-0000001a", "") in new stack
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] app_stack.c: Spawn extension (from-internal, 202, 1) exited non-zero on 'PJSIP/202-0000001a'
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] app_stack.c: PJSIP/202-0000001a Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] app_dial.c: Called PJSIP/202/sip:[email protected]:35878;transport=TCP
[2023-03-27 18:37:06] VERBOSE[23242][C-0000000f] app_dial.c: PJSIP/202-0000001a is ringing
[2023-03-27 18:37:08] VERBOSE[23242][C-0000000f] app_dial.c: PJSIP/202-0000001a answered PJSIP/101-00000019
[2023-03-27 18:37:08] VERBOSE[23243][C-0000000f] bridge_channel.c: Channel PJSIP/202-0000001a joined 'simple_bridge' basic-bridge <4cc94495-dcf5-476a-8590-aacb5ff87c02>
[2023-03-27 18:37:08] VERBOSE[23242][C-0000000f] bridge_channel.c: Channel PJSIP/101-00000019 joined 'simple_bridge' basic-bridge <4cc94495-dcf5-476a-8590-aacb5ff87c02>
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] bridge_channel.c: Channel PJSIP/101-00000019 left 'simple_bridge' basic-bridge <4cc94495-dcf5-476a-8590-aacb5ff87c02>
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] app_macro.c: Spawn extension (macro-dial-one, s, 55) exited non-zero on 'PJSIP/101-00000019' in macro 'dial-one'
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] app_macro.c: Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'PJSIP/101-00000019' in macro 'exten-vm'
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Spawn extension (from-internal, 202, 3) exited non-zero on 'PJSIP/101-00000019'
[2023-03-27 18:37:40] VERBOSE[23243][C-0000000f] bridge_channel.c: Channel PJSIP/202-0000001a left 'simple_bridge' basic-bridge <4cc94495-dcf5-476a-8590-aacb5ff87c02>
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/101-00000019", "hangupcall") in new stack
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/101-00000019", "1?theend") in new stack
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/101-00000019", "0?Set(CDR(recordingfile)=)") in new stack
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-hangupcall:4] NoOp("PJSIP/101-00000019", "PJSIP/202-0000001a montior file= ") in new stack
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-hangupcall:5] GotoIf("PJSIP/101-00000019", "1?skipagi") in new stack
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Executing [s@macro-hangupcall:7] Hangup("PJSIP/101-00000019", "") in new stack
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/101-00000019' in macro 'hangupcall'
[2023-03-27 18:37:40] VERBOSE[23242][C-0000000f] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/101-00000019'

Please use pastebin when sharing logs.

I can’t paste links as a new user, that is what I tried originally.

Mark the pasted link up as pre-formatted text (</>).

I am unable to edit my original post so i’ll put it here. (https://pastebin.com/iQ88Wgzh)

Hello, just checking back in if there may still be any ideas. Thank you.

At the Asterisk command prompt, type
pjsip set logger on
make a failing call and paste the Asterisk log for the call, which will now include the SIP trace.

Here is the pastebin of the log while the error happened. I also want to clarify that the network is strictly lan. Phone Hold Button Error - Pastebin.com

Hello, I am just checking back in. I have been staring at the logs, but I’m just confused why it’s sending the bye response.

The log is too incomplete to attempt answering that. There are no time stamps, so one cannot tell if the BYE is directly relates to what precedes it, and there is insufficient verbosity to be able to work out what Asterisk was doing, internally at the time.

Please use the full log, not a a screen scrape and please make sure that the verbosity is set to five or more.

Note that RasPBX sets the logging level to be too low for debugging, by default, probably to avoid wearing out the SD card.

Well there are two issues here. The first one being that the 6900 series is pretty much EOL. More specifically the 6941 was EOL’d 10 years ago. The second one being the same problem almost everyone has with these old phones and Cisco SIP software. It was built for the Cisco Call Manager. Numerous features do not work on other PBX/SIP systems. You would either need to run chan_sccp, chan_skinny or the Call Manager patch for Asterisk (that only works for chan_sip which is dead).

So you either need to replace the phones, change tech drivers (SCCP or Skinny), apply chan_sip patches (no support) or accept that numerous features such as certain hard/soft keys (like Hold/Transfer/etc) are not going to work under non-Cisco SIP systems.

Would they have worked in SIP mode, even with CUCM? I would have thought the reason for re-flashing to SIP firmware was to run with non-Cisco kit.

Yes, they would work in SIP mode with the CUCM because the SIP stack they use is a customized stack for their platform. Look at the SIP messages, notice how many X-cisco features are supported? Notice how there are supported features that have nothing to do with RFC based SIP. They are custom for Cisco. Much like how Broadsoft has its own SIP firmware you can install on Broadsoft approved SIP devices.

Cisco UCM phones not working fully on Asterisk or other SIP platforms has been well documented on the Internet for the last decade or so.

For Asterisk both chan_sccp and chan_skinny support those extra features because that is exactly their purpose. They are Asterisk drivers made for Cisco specific protocols. It’s why Gareth started the UCM Asterisk project where Gareth modified chan_sip to work with these custom headers and features.

Now why the hold key is doing something funky, I don’t know. But based on documentation the hold key is configured under Softkey configurations. We haven’t seen a single configuration for these phones so we have no idea with the hold key is actually set to do.

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