Warnings on incoming calls

On incoming calls via this trunk I receive allways lots of warnings.
However, only warnings and the trunk, inbound-route, and incoming calls work.
Anyone who can give me a hint, where to look for any of my misconfigurations in place? Just to avoid these warnings an make the full-log look better. I seems like I’m using an old sip-funktion on pjsip-trunk.

[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-user-callerid:52] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “CDR(cnam)=+49xxxxxxxxxxx”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-user-callerid:53] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “CDR(cnum)=+49xxxxxxxxxx”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-user-callerid:54] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “CHANNEL(language)=de_DE”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:2] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “RingGroupMethod=none”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:3] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “__EXTTOCALL=24”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:4] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “__PICKUPMARK=24”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:5] Set(“PJSIP/AnlagenA_PJSIP-0000052c”, “RT=”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:6] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:7] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?MacroExit()”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:8] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:9] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?MacroExit()”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:10] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?ChanSpy(PJSIP/###,q)”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:11] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?MacroExit()”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:12] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?ChanSpy(PJSIP/###,q)”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:13] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?MacroExit()”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:14] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?Gosub(ext-intercom,*80###,1())”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:15] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?MacroExit()”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:16] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?Gosub(ext-intercom,*80###,1())”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:17] ExecIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “0?MacroExit()”) in new stack
[2023-08-25 18:00:26] WARNING[27484][C-000002c5] chan_sip.c: This function can only be used on SIP channels.
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@macro-exten-vm:18] Gosub(“PJSIP/AnlagenA_PJSIP-0000052c”, “sub-record-check,s,1(exten,###,dontcare)”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/AnlagenA_PJSIP-0000052c”, “###?initialized”) in new stack
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx_builtins.c: Goto (sub-record-check,s,10)
[2023-08-25 18:00:26] VERBOSE[27484][C-000002c5] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/AnlagenA_PJSIP-0000052c”, “Recordings initialized”) in new stack

This is expected behaviour for FreePBX

ok thanks so far david. similar behaviour on a second trunk for incoming calls for me.
Therefore you are saying “don’t mind”? Nothing specific I made wrong?

Exactly. The code calls functions without checking whether they are right for the channel type, on the basis that, if what you are trying to do is possible, it will try all ways.

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