Proof of Concept - no outgoing calls via trunk

Hello,
I have a Free PBX system setup for a demo with 2 x S300 phones and a Sipgate trunk. I can call between phones ok. Incoming calls are setup to ring both phones (successfully).
I have a outgoing route dial pattern set for 9,X. which straight away drops the call.
Looking at the log files I see the following warning message:
2023-10-02 19:30:30] WARNING[8380][C-00000017] pbx.c: No application ‘SipAddHeader’ for extension (macro-dialout-trunk-predial-hook, s, 1
Looking at the configuration file for the extensions_custom.conf, I have the following created as default:
[macro-dialout-trunk-predial-hook]
exten => s,1,SipAddHeader(P-Preferred-Identity:sip:${CALLERID(number)}@sipconnect.sipgate.co.uk)
exten => s,n,MacroExit()

Can anyone provide some next steps/log/configs to check please?
Thanks in advance!
Giles

Is this a PJSIP trunk or chan_sip trunk? In PJSIP you should be adding header like

exten => s,n,Gosub(func-set-sipheader,s,1(header))

Do you have chan_sip built and loaded? Which channel driver are you using for calls.

I think the subroutine copes with both.

1 Like

Hi, I have a PJSIP trunk. I couldn’t see a chan_sip option. Would this need an additional module loaded?

SIP_ADD_HEADER is only for chan_sip. You should use PJSIP equivalent, or use the mentioned procedure, which selects the right one behind your back.

Normally, warnings like this don’t affect call flow. Why do you suspect it is a problem? Look at the next 40 or so lines of the log for a line showing
app_dial.c: Called PJSIP ...
If present, the call did get sent to the trunk and you can use pjsip logger to see why the provider rejected it.

Thanks.
I have attached the complete log for the test call. I cannot see any ‘app_dial.c’ or ‘Called PJSIP’ messages.

560 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:1] Macro(“PJSIP/1001-0000001e”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
561 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/1001-0000001e”, “TOUCH_MONITOR=1696271422.30”) in new stack
562 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/1001-0000001e”, “CHANCONTEXT=”) in new stack
563 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:3] Progress(“PJSIP/1001-0000001e”, “”) in new stack
564 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/1001-0000001e”, “CHANCONTEXT=”) in new stack
565 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/1001-0000001e”, “CHANEXTENCONTEXT=1001-0000001e”) in new stack
566 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:6] Set(“PJSIP/1001-0000001e”, “CHANEXTEN=1001-0000001e”) in new stack
567 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/1001-0000001e”, “CALLERID(number)=1001”) in new stack
568 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:8] Set(“PJSIP/1001-0000001e”, “AMPUSER=1001”) in new stack
569 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:9] Set(“PJSIP/1001-0000001e”, “HOTDESCKCHAN=1001-0000001e”) in new stack
570 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/1001-0000001e”, “HOTDESKEXTEN=1001”) in new stack
571 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/1001-0000001e”, “HOTDESKCALL=0”) in new stack
572 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/1001-0000001e”, “0?Set(HOTDESKCALL=1)”) in new stack
573 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(name)=)”) in new stack
574 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/1001-0000001e”, “0?report”) in new stack
575 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/1001-0000001e”, “1?Set(REALCALLERIDNUM=1001)”) in new stack
576 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:16] Set(“PJSIP/1001-0000001e”, “AMPUSER=1001”) in new stack
577 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/1001-0000001e”, “0?limit”) in new stack
578 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:18] Set(“PJSIP/1001-0000001e”, “AMPUSERCIDNAME=Giles”) in new stack
579 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:19] ExecIf(“PJSIP/1001-0000001e”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
580 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:20] GotoIf(“PJSIP/1001-0000001e”, “0?report”) in new stack
581 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:21] Set(“PJSIP/1001-0000001e”, “AMPUSERCID=1001”) in new stack
582 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:22] Set(“PJSIP/1001-0000001e”, “__DIAL_OPTIONS=HhTtr”) in new stack
583 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:23] Set(“PJSIP/1001-0000001e”, “CALLERID(all)=“Giles” <1001>”) in new stack
584 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CUSDIAL=)”) in new stack
585 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:25] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(all)=“Giles” <1001>)”) in new stack
586 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:26] GotoIf(“PJSIP/1001-0000001e”, “0?limit”) in new stack
587 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/1001-0000001e”, “1?Set(GROUP(concurrency_limit)=1001)”) in new stack
588 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:28] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CHANNEL(language)=)”) in new stack
589 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:29] NoOp(“PJSIP/1001-0000001e”, “Macro Depth is 1”) in new stack
590 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/1001-0000001e”, “1?report2:macroerror”) in new stack
591 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (macro-user-callerid,s,31)
592 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“PJSIP/1001-0000001e”, “1?continue”) in new stack
593 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (macro-user-callerid,s,50)
594 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:50] Set(“PJSIP/1001-0000001e”, “CALLERID(number)=1001”) in new stack
595 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:51] Set(“PJSIP/1001-0000001e”, “CALLERID(name)=Giles”) in new stack
596 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:52] GotoIf(“PJSIP/1001-0000001e”, “0?cnum”) in new stack
597 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:53] Set(“PJSIP/1001-0000001e”, “__MCNUM=1001”) in new stack
598 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:54] Set(“PJSIP/1001-0000001e”, “__MCNAME=Giles”) in new stack
599 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:55] Set(“PJSIP/1001-0000001e”, “__MCEXTEN=1001”) in new stack
600 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:56] Set(“PJSIP/1001-0000001e”, “__MCORGCHAN=PJSIP/1001-0000001e”) in new stack
601 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:57] Set(“PJSIP/1001-0000001e”, “CDR(cnam)=Giles”) in new stack
602 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:58] Set(“PJSIP/1001-0000001e”, “CDR(cnum)=1001”) in new stack
603 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-user-callerid:59] Set(“PJSIP/1001-0000001e”, “CHANNEL(language)=en_GB”) in new stack
604 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:2] Gosub(“PJSIP/1001-0000001e”, “sub-record-check,s,1(out,9DialedNumber,dontcare)”) in new stack
605 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/1001-0000001e”, “0?initialized”) in new stack
606 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/1001-0000001e”, “__REC_STATUS=INITIALIZED”) in new stack
607 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/1001-0000001e”, “NOW=1696271422”) in new stack
608 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/1001-0000001e”, “__DAY=02”) in new stack
609 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/1001-0000001e”, “__MONTH=10”) in new stack
610 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/1001-0000001e”, “__YEAR=2023”) in new stack
611 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/1001-0000001e”, “__TIMESTR=20231002-193022”) in new stack
612 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/1001-0000001e”, “__FROMEXTEN=1001”) in new stack
613 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/1001-0000001e”, “__MON_FMT=wav”) in new stack
614 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/1001-0000001e”, “Recordings initialized”) in new stack
615 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/1001-0000001e”, “0?Set(ARG3=dontcare)”) in new stack
616 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/1001-0000001e”, “REC_POLICY_MODE_SAVE=”) in new stack
617 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/1001-0000001e”, “0?Set(REC_STATUS=NO)”) in new stack
618 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/1001-0000001e”, “3?checkaction”) in new stack
619 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (sub-record-check,s,17)
620 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/1001-0000001e”, “1?sub-record-check,out,1”) in new stack
621 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (sub-record-check,out,1)
622 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/1001-0000001e”, “Outbound Recording Check from 1001 to 9DialedNumber”) in new stack
623 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/1001-0000001e”, “RECMODE=dontcare”) in new stack
624 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/1001-0000001e”, “1?Goto(routewins)”) in new stack
625 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (sub-record-check,out,7)
626 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/1001-0000001e”, “recordcheck,1(dontcare,out,9DialedNumber)”) in new stack
627 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/1001-0000001e”, “Starting recording check against dontcare”) in new stack
628 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/1001-0000001e”, “dontcare”) in new stack
629 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
630 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/1001-0000001e”, “”) in new stack
631 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/1001-0000001e”, “”) in new stack
632 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:3] ExecIf(“PJSIP/1001-0000001e”, “0 ?Set(CDR(accountcode)=)”) in new stack
633 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:4] Set(“PJSIP/1001-0000001e”, “_ROUTEID=1”) in new stack
634 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:5] Set(“PJSIP/1001-0000001e”, “_ROUTENAME=sipgate_out”) in new stack
635 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:6] Set(“PJSIP/1001-0000001e”, “MOHCLASS=default”) in new stack
636 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:7] ExecIf(“PJSIP/1001-0000001e”, “1?Set(TRUNKCIDOVERRIDE=TrunkNumber)”) in new stack
637 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:8] Set(“PJSIP/1001-0000001e”, “_CALLERIDNAMEINTERNAL=Giles”) in new stack
638 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:9] Set(“PJSIP/1001-0000001e”, “_CALLERIDNUMINTERNAL=1001”) in new stack
639 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:10] Set(“PJSIP/1001-0000001e”, “_EMAILNOTIFICATION=FALSE”) in new stack
640 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:11] Set(“PJSIP/1001-0000001e”, “_NODEST=”) in new stack
641 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [9DialedNumber@from-internal:12] Macro(“PJSIP/1001-0000001e”, “dialout-trunk,1,DialedNumber,off”) in new stack
642 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/1001-0000001e”, “DIAL_TRUNK=1”) in new stack
643 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/1001-0000001e”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
644 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/1001-0000001e”, “0?sub-pincheck,s,1()”) in new stack
645 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(num)=1001)”) in new stack
646 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/1001-0000001e”, “0?disabletrunk,1”) in new stack
647 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/1001-0000001e”, “DIAL_NUMBER=DialedNumber”) in new stack
648 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/1001-0000001e”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
649 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/1001-0000001e”, “OUTBOUND_GROUP=OUT_1”) in new stack
650 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/1001-0000001e”, “DIAL_TRUNK_OPTIONS=T”) in new stack
651 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/1001-0000001e”, “0?nomax”) in new stack
652 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf(“PJSIP/1001-0000001e”, “0?chanfull”) in new stack
653 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/1001-0000001e”, “0?skipoutcid”) in new stack
654 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/1001-0000001e”, “outbound-callerid,1”) in new stack
655 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/1001-0000001e”, “1001”) in new stack
656 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/1001-0000001e”, “”) in new stack
657 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/1001-0000001e”, “off”) in new stack
658 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(name-pres)=)”) in new stack
659 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(num-pres)=)”) in new stack
660 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“PJSIP/1001-0000001e”, “HOTDESCKCHAN=1001-0000001e”) in new stack
661 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“PJSIP/1001-0000001e”, “HOTDESKEXTEN=1001”) in new stack
662 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“PJSIP/1001-0000001e”, “HOTDESKCALL=0”) in new stack
663 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/1001-0000001e”, “0?Set(HOTDESKCALL=1)”) in new stack
664 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(name)=)”) in new stack
665 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“PJSIP/1001-0000001e”, “ALLOWTHISROUTE=NO”) in new stack
666 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/1001-0000001e”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
667 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/1001-0000001e”, “0?Hangup()”) in new stack
668 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/1001-0000001e”, “0?Set(REALCALLERIDNUM=1001)”) in new stack
669 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/1001-0000001e”, “0?Set(AMPUSER=1001)”) in new stack
670 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/1001-0000001e”, “1?normcid”) in new stack
671 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
672 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“PJSIP/1001-0000001e”, “USEROUTCID=”) in new stack
673 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“PJSIP/1001-0000001e”, “EMERGENCYCID=”) in new stack
674 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/1001-0000001e”, “0?Set(SCDEXT=YES)”) in new stack
675 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/1001-0000001e”, “0?Set(EMERGENCYCID=)”) in new stack
676 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(name)=)”) in new stack
677 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf(“PJSIP/1001-0000001e”, “0?Set(EMERGENCYCID=)”) in new stack
678 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“PJSIP/1001-0000001e”, “TRUNKOUTCID=TrunkNumber”) in new stack
679 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:27] GotoIf(“PJSIP/1001-0000001e”, “1?trunkcid”) in new stack
680 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (macro-outbound-callerid,s,33)
681 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/1001-0000001e”, “1?Set(CALLERID(all)=TrunkNumber)”) in new stack
682 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(all)=)”) in new stack
683 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“PJSIP/1001-0000001e”, “1?Set(CALLERID(all)=TrunkNumber)”) in new stack
684 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(all)=1001)”) in new stack
685 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(all)=1001)”) in new stack
686 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:38] Set(“PJSIP/1001-0000001e”, “TIOHIDE=no”) in new stack
687 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
688 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:40] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
689 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:41] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
690 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:42] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
691 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:43] Set(“PJSIP/1001-0000001e”, “CDR(outbound_cnum)=TrunkNumber”) in new stack
692 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-outbound-callerid:44] Set(“PJSIP/1001-0000001e”, “CDR(outbound_cnam)=”) in new stack
693 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/1001-0000001e”, “1?sub-flp-1,s,1()”) in new stack
694 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@sub-flp-1:1] ExecIf(“PJSIP/1001-0000001e”, “1?Return()”) in new stack
695 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/1001-0000001e”, “OUTNUM=DialedNumber”) in new stack
696 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/1001-0000001e”, “custom=PJSIP”) in new stack
697 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/1001-0000001e”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
698 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/1001-0000001e”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
699 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf(“PJSIP/1001-0000001e”, “0?AGI(allowlist-autoadd.agi,)”) in new stack
700 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-dialout-trunk:20] Macro(“PJSIP/1001-0000001e”, “dialout-trunk-predial-hook,”) in new stack
701 [2023-10-02 19:30:22] WARNING[8364][C-00000016] pbx.c: No application ‘SipAddHeader’ for extension (macro-dialout-trunk-predial-hook, s, 1)
702 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] app_macro.c: Spawn extension (macro-dialout-trunk-predial-hook, s, 1) exited non-zero on ‘PJSIP/1001-0000001e’ in macro ‘dialout-trunk-predial-hook’
703 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] app_macro.c: Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘PJSIP/1001-0000001e’ in macro ‘dialout-trunk’
704 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Spawn extension (from-internal, 9DialedNumber, 12) exited non-zero on ‘PJSIP/1001-0000001e’
705 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/1001-0000001e”, “hangupcall”) in new stack
706 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-hangupcall:1] Set(“PJSIP/1001-0000001e”, “__MCVMSTATUS=”) in new stack
707 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-hangupcall:2] Gosub(“PJSIP/1001-0000001e”, “app-missedcall-hangup,s,1()”) in new stack
708 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:1] NoOp(“PJSIP/1001-0000001e”, “Dialed: s”) in new stack
709 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:2] NoOp(“PJSIP/1001-0000001e”, “Caller: 1001”) in new stack
710 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:3] GotoIf(“PJSIP/1001-0000001e”, “0?exit”) in new stack
711 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:4] Set(“PJSIP/1001-0000001e”, “EXTENNUM=s”) in new stack
712 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:5] Set(“PJSIP/1001-0000001e”, “FEXTENNUM=s”) in new stack
713 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:6] GotoIf(“PJSIP/1001-0000001e”, “0?exit”) in new stack
714 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:7] AGI(“PJSIP/1001-0000001e”, “agi://127.0.0.1/missedcallnotify.php,s,s,0,PJSIP/1001-0000001e,”) in new stack
715 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] res_agi.c: <PJSIP/1001-0000001e>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
716 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@app-missedcall-hangup:8] Return(“PJSIP/1001-0000001e”, “”) in new stack
717 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-hangupcall:3] GotoIf(“PJSIP/1001-0000001e”, “1?theend”) in new stack
718 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx_builtins.c: Goto (macro-hangupcall,s,5)
719 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-hangupcall:5] ExecIf(“PJSIP/1001-0000001e”, “0?Set(CDR(recordingfile)=)”) in new stack
720 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/1001-0000001e”, “”) in new stack
721 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/1001-0000001e’ in macro ‘hangupcall’
722 [2023-10-02 19:30:22] VERBOSE[8364][C-00000016] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/1001-0000001e’
723 [2023-10-02 19:30:30] VERBOSE[2861] netsock2.c: Using SIP RTP Audio TOS bits 184
724 [2023-10-02 19:30:30] VERBOSE[2861] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
725 [2023-10-02 19:30:30] VERBOSE[2861] netsock2.c: Using SIP RTP Audio CoS mark 5
726 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:1] Macro(“PJSIP/1001-0000001f”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
727 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/1001-0000001f”, “TOUCH_MONITOR=1696271430.31”) in new stack
728 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/1001-0000001f”, “CHANCONTEXT=”) in new stack
729 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:3] Progress(“PJSIP/1001-0000001f”, “”) in new stack
730 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/1001-0000001f”, “CHANCONTEXT=”) in new stack
731 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/1001-0000001f”, “CHANEXTENCONTEXT=1001-0000001f”) in new stack
732 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:6] Set(“PJSIP/1001-0000001f”, “CHANEXTEN=1001-0000001f”) in new stack
733 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/1001-0000001f”, “CALLERID(number)=1001”) in new stack
734 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:8] Set(“PJSIP/1001-0000001f”, “AMPUSER=1001”) in new stack
735 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:9] Set(“PJSIP/1001-0000001f”, “HOTDESCKCHAN=1001-0000001f”) in new stack
736 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/1001-0000001f”, “HOTDESKEXTEN=1001”) in new stack
737 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/1001-0000001f”, “HOTDESKCALL=0”) in new stack
738 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/1001-0000001f”, “0?Set(HOTDESKCALL=1)”) in new stack
739 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(name)=)”) in new stack
740 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/1001-0000001f”, “0?report”) in new stack
741 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/1001-0000001f”, “1?Set(REALCALLERIDNUM=1001)”) in new stack
742 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:16] Set(“PJSIP/1001-0000001f”, “AMPUSER=1001”) in new stack
743 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/1001-0000001f”, “0?limit”) in new stack
744 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:18] Set(“PJSIP/1001-0000001f”, “AMPUSERCIDNAME=Giles”) in new stack
745 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:19] ExecIf(“PJSIP/1001-0000001f”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
746 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:20] GotoIf(“PJSIP/1001-0000001f”, “0?report”) in new stack
747 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:21] Set(“PJSIP/1001-0000001f”, “AMPUSERCID=1001”) in new stack
748 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:22] Set(“PJSIP/1001-0000001f”, “__DIAL_OPTIONS=HhTtr”) in new stack
749 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:23] Set(“PJSIP/1001-0000001f”, “CALLERID(all)=“Giles” <1001>”) in new stack
750 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CUSDIAL=)”) in new stack
751 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:25] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(all)=“Giles” <1001>)”) in new stack
752 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:26] GotoIf(“PJSIP/1001-0000001f”, “0?limit”) in new stack
753 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/1001-0000001f”, “1?Set(GROUP(concurrency_limit)=1001)”) in new stack
754 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:28] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CHANNEL(language)=)”) in new stack
755 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:29] NoOp(“PJSIP/1001-0000001f”, “Macro Depth is 1”) in new stack
756 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/1001-0000001f”, “1?report2:macroerror”) in new stack

757 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (macro-user-callerid,s,31)
758 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“PJSIP/1001-0000001f”, “1?continue”) in new stack
759 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (macro-user-callerid,s,50)
760 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:50] Set(“PJSIP/1001-0000001f”, “CALLERID(number)=1001”) in new stack
761 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:51] Set(“PJSIP/1001-0000001f”, “CALLERID(name)=Giles”) in new stack
762 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:52] GotoIf(“PJSIP/1001-0000001f”, “0?cnum”) in new stack
763 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:53] Set(“PJSIP/1001-0000001f”, “__MCNUM=1001”) in new stack
764 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:54] Set(“PJSIP/1001-0000001f”, “__MCNAME=Giles”) in new stack
765 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:55] Set(“PJSIP/1001-0000001f”, “__MCEXTEN=1001”) in new stack
766 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:56] Set(“PJSIP/1001-0000001f”, “__MCORGCHAN=PJSIP/1001-0000001f”) in new stack
767 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:57] Set(“PJSIP/1001-0000001f”, “CDR(cnam)=Giles”) in new stack
768 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:58] Set(“PJSIP/1001-0000001f”, “CDR(cnum)=1001”) in new stack
769 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-user-callerid:59] Set(“PJSIP/1001-0000001f”, “CHANNEL(language)=en_GB”) in new stack
770 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:2] Gosub(“PJSIP/1001-0000001f”, “sub-record-check,s,1(out,9DialedNumber,dontcare)”) in new stack
771 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/1001-0000001f”, “0?initialized”) in new stack
772 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/1001-0000001f”, “__REC_STATUS=INITIALIZED”) in new stack
773 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/1001-0000001f”, “NOW=1696271430”) in new stack
774 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/1001-0000001f”, “__DAY=02”) in new stack
775 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/1001-0000001f”, “__MONTH=10”) in new stack
776 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/1001-0000001f”, “__YEAR=2023”) in new stack
777 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/1001-0000001f”, “__TIMESTR=20231002-193030”) in new stack
778 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/1001-0000001f”, “__FROMEXTEN=1001”) in new stack
779 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/1001-0000001f”, “__MON_FMT=wav”) in new stack
780 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/1001-0000001f”, “Recordings initialized”) in new stack
781 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/1001-0000001f”, “0?Set(ARG3=dontcare)”) in new stack
782 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/1001-0000001f”, “REC_POLICY_MODE_SAVE=”) in new stack
783 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/1001-0000001f”, “0?Set(REC_STATUS=NO)”) in new stack
784 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/1001-0000001f”, “3?checkaction”) in new stack
785 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (sub-record-check,s,17)
786 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/1001-0000001f”, “1?sub-record-check,out,1”) in new stack
787 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (sub-record-check,out,1)
788 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/1001-0000001f”, “Outbound Recording Check from 1001 to 9DialedNumber”) in new stack
789 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/1001-0000001f”, “RECMODE=dontcare”) in new stack
790 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/1001-0000001f”, “1?Goto(routewins)”) in new stack
791 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (sub-record-check,out,7)
792 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/1001-0000001f”, “recordcheck,1(dontcare,out,9DialedNumber)”) in new stack
793 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/1001-0000001f”, “Starting recording check against dontcare”) in new stack
794 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/1001-0000001f”, “dontcare”) in new stack
795 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
796 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/1001-0000001f”, “”) in new stack
797 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/1001-0000001f”, “”) in new stack
798 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:3] ExecIf(“PJSIP/1001-0000001f”, “0 ?Set(CDR(accountcode)=)”) in new stack
799 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:4] Set(“PJSIP/1001-0000001f”, “_ROUTEID=1”) in new stack
800 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:5] Set(“PJSIP/1001-0000001f”, “_ROUTENAME=sipgate_out”) in new stack
801 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:6] Set(“PJSIP/1001-0000001f”, “MOHCLASS=default”) in new stack
802 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:7] ExecIf(“PJSIP/1001-0000001f”, “1?Set(TRUNKCIDOVERRIDE=TrunkNumber)”) in new stack
803 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:8] Set(“PJSIP/1001-0000001f”, “_CALLERIDNAMEINTERNAL=Giles”) in new stack
804 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:9] Set(“PJSIP/1001-0000001f”, “_CALLERIDNUMINTERNAL=1001”) in new stack
805 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:10] Set(“PJSIP/1001-0000001f”, “_EMAILNOTIFICATION=FALSE”) in new stack
806 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:11] Set(“PJSIP/1001-0000001f”, “_NODEST=”) in new stack
807 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [9DialedNumber@from-internal:12] Macro(“PJSIP/1001-0000001f”, “dialout-trunk,1,DialedNumber,off”) in new stack
808 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/1001-0000001f”, “DIAL_TRUNK=1”) in new stack
809 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/1001-0000001f”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
810 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/1001-0000001f”, “0?sub-pincheck,s,1()”) in new stack
811 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(num)=1001)”) in new stack
812 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/1001-0000001f”, “0?disabletrunk,1”) in new stack
813 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/1001-0000001f”, “DIAL_NUMBER=DialedNumber”) in new stack
814 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/1001-0000001f”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
815 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/1001-0000001f”, “OUTBOUND_GROUP=OUT_1”) in new stack
816 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/1001-0000001f”, “DIAL_TRUNK_OPTIONS=T”) in new stack
817 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/1001-0000001f”, “0?nomax”) in new stack
818 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf(“PJSIP/1001-0000001f”, “0?chanfull”) in new stack
819 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/1001-0000001f”, “0?skipoutcid”) in new stack
820 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/1001-0000001f”, “outbound-callerid,1”) in new stack
821 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/1001-0000001f”, “1001”) in new stack
822 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/1001-0000001f”, “”) in new stack
823 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/1001-0000001f”, “off”) in new stack
824 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(name-pres)=)”) in new stack
825 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(num-pres)=)”) in new stack
826 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“PJSIP/1001-0000001f”, “HOTDESCKCHAN=1001-0000001f”) in new stack
827 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“PJSIP/1001-0000001f”, “HOTDESKEXTEN=1001”) in new stack
828 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“PJSIP/1001-0000001f”, “HOTDESKCALL=0”) in new stack
829 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/1001-0000001f”, “0?Set(HOTDESKCALL=1)”) in new stack
830 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(name)=)”) in new stack
831 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“PJSIP/1001-0000001f”, “ALLOWTHISROUTE=NO”) in new stack
832 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/1001-0000001f”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
833 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/1001-0000001f”, “0?Hangup()”) in new stack
834 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/1001-0000001f”, “0?Set(REALCALLERIDNUM=1001)”) in new stack
835 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/1001-0000001f”, “0?Set(AMPUSER=1001)”) in new stack
836 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/1001-0000001f”, “1?normcid”) in new stack
837 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
838 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“PJSIP/1001-0000001f”, “USEROUTCID=”) in new stack
839 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“PJSIP/1001-0000001f”, “EMERGENCYCID=”) in new stack
840 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/1001-0000001f”, “0?Set(SCDEXT=YES)”) in new stack
841 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/1001-0000001f”, “0?Set(EMERGENCYCID=)”) in new stack
842 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(name)=)”) in new stack
843 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf(“PJSIP/1001-0000001f”, “0?Set(EMERGENCYCID=)”) in new stack
844 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“PJSIP/1001-0000001f”, “TRUNKOUTCID=TrunkNumber”) in new stack
845 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:27] GotoIf(“PJSIP/1001-0000001f”, “1?trunkcid”) in new stack
846 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (macro-outbound-callerid,s,33)
847 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/1001-0000001f”, “1?Set(CALLERID(all)=TrunkNumber)”) in new stack
848 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(all)=)”) in new stack
849 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“PJSIP/1001-0000001f”, “1?Set(CALLERID(all)=TrunkNumber)”) in new stack
850 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(all)=1001)”) in new stack
851 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(all)=1001)”) in new stack
852 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:38] Set(“PJSIP/1001-0000001f”, “TIOHIDE=no”) in new stack
853 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
854 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:40] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
855 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:41] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
856 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:42] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
857 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:43] Set(“PJSIP/1001-0000001f”, “CDR(outbound_cnum)=TrunkNumber”) in new stack
858 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-outbound-callerid:44] Set(“PJSIP/1001-0000001f”, “CDR(outbound_cnam)=”) in new stack
859 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/1001-0000001f”, “1?sub-flp-1,s,1()”) in new stack
860 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@sub-flp-1:1] ExecIf(“PJSIP/1001-0000001f”, “1?Return()”) in new stack
861 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/1001-0000001f”, “OUTNUM=DialedNumber”) in new stack
862 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/1001-0000001f”, “custom=PJSIP”) in new stack
863 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/1001-0000001f”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
864 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/1001-0000001f”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
865 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf(“PJSIP/1001-0000001f”, “0?AGI(allowlist-autoadd.agi,)”) in new stack
866 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-dialout-trunk:20] Macro(“PJSIP/1001-0000001f”, “dialout-trunk-predial-hook,”) in new stack
867 [2023-10-02 19:30:30] WARNING[8380][C-00000017] pbx.c: No application ‘SipAddHeader’ for extension (macro-dialout-trunk-predial-hook, s, 1)
868 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] app_macro.c: Spawn extension (macro-dialout-trunk-predial-hook, s, 1) exited non-zero on ‘PJSIP/1001-0000001f’ in macro ‘dialout-trunk-predial-hook’
869 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] app_macro.c: Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘PJSIP/1001-0000001f’ in macro ‘dialout-trunk’
870 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Spawn extension (from-internal, 9DialedNumber, 12) exited non-zero on ‘PJSIP/1001-0000001f’
871 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/1001-0000001f”, “hangupcall”) in new stack
872 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-hangupcall:1] Set(“PJSIP/1001-0000001f”, “__MCVMSTATUS=”) in new stack
873 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-hangupcall:2] Gosub(“PJSIP/1001-0000001f”, “app-missedcall-hangup,s,1()”) in new stack
874 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:1] NoOp(“PJSIP/1001-0000001f”, “Dialed: s”) in new stack
875 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:2] NoOp(“PJSIP/1001-0000001f”, “Caller: 1001”) in new stack
876 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:3] GotoIf(“PJSIP/1001-0000001f”, “0?exit”) in new stack
877 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:4] Set(“PJSIP/1001-0000001f”, “EXTENNUM=s”) in new stack
878 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:5] Set(“PJSIP/1001-0000001f”, “FEXTENNUM=s”) in new stack
879 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:6] GotoIf(“PJSIP/1001-0000001f”, “0?exit”) in new stack
880 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:7] AGI(“PJSIP/1001-0000001f”, “agi://127.0.0.1/missedcallnotify.php,s,s,0,PJSIP/1001-0000001f,”) in new stack
881 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] res_agi.c: <PJSIP/1001-0000001f>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
882 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@app-missedcall-hangup:8] Return(“PJSIP/1001-0000001f”, “”) in new stack
883 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-hangupcall:3] GotoIf(“PJSIP/1001-0000001f”, “1?theend”) in new stack
884 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx_builtins.c: Goto (macro-hangupcall,s,5)
885 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-hangupcall:5] ExecIf(“PJSIP/1001-0000001f”, “0?Set(CDR(recordingfile)=)”) in new stack
886 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/1001-0000001f”, “”) in new stack
887 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/1001-0000001f’ in macro ‘hangupcall’
888 [2023-10-02 19:30:30] VERBOSE[8380][C-00000017] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/1001-0000001f’

Hi,
I haven’t changed many settings, but found that the SIP Default Driver is chan_pjsip.
Do I need to change this to either ‘chan_sip’ or ‘both’ ? Are the S300 phones not PJSIP compatible?

You need remove all references to SIP_ADD_HEADER and need to call PJSP_HEADER in the b option subroutine of Dial. I’m afraid I can’t find a clear description of how to achieve that in FreePBX without going overt to a completely custom dialplan, but I believe that FreePBX already does this for Alert-Info.

Try replacing this with

exten => s,1,gosub(func-set-sipheader,s,1(P-Preferred-Identity, <sip:${CALLERID(number)}@sipconnect.sipgate.co.uk>))

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