Get an ext to use a certain caller ID

We have one sip trunk providers setup in outbound routes.

I have asked the following question to my trunk provider: ( to ensure there a no restrictions at there end )

Hi,

we are using FreePBX incoming and outgoing calls are working fine.

we are testing the following numbers

016xxxx1804
016xxxx1272

Incoming is working fine.

Outgoing is only showing caller ID as 016xxxx1804

If I change the settings within the ext (210) to use caller ID 016xxxx1272 this is ignored and uses caller ID 016xxxx1804

Can you confirm there are no restrictions at your end with ref to using different caller IDs in this context.

Any further help appreciated.

In ext 210 I have tried the following different formats:

Outbound CID +4416xxxx1272 / 016xxxx1272 / 16xxxx1272

Each time I call from this extension to a mobile device the caller ID is 016xxxx1804

Any help appreciated.

What are your trunk and outbound route settings? Make sure your trunk is set to “Allow Any CID” and “Override Extension” is set to “No” in the outbound route.

Here are the settings.

Any syntax wrong here ?

Does your outbound provider allow you to override the caller ID? Are you in a country subject to STIR/SHAKEN?

What does the “pjsip set logger on” output indicate you are actually sending to the wire (a less definitive answer can also be obtained from the full log, at verbosity 3)?

Hi I am in the UK. As far as I know we can change a caller ID as long as we own the number.

I have purchased the extension ‘Extension Routes’

I can now select the outbound route to use in the extension section or add remove extensions in the outbound route.

For ext 200 I have added this ext to outbound route 016xxxxx804
for ext 210 I have added this to outbound route 016xxxxx804272

I call a mobile number and both show caller ID as 016xxxxx804

Is there a specific syntax for the CID in the outbound routes

Log for the ext 210 which should be caller ID 01618261272


24013	[2023-03-25 12:58:24] WARNING[10542] res_pjsip_pubsub.c: No registered publish handler for event presence from 210	
24014	[2023-03-25 12:58:24] WARNING[32423] res_pjsip_pubsub.c: No registered publish handler for event presence from 212	
24015	[2023-03-25 12:58:24] WARNING[22777] res_pjsip_pubsub.c: No registered publish handler for event presence from 205	
24016	[2023-03-25 12:58:24] VERBOSE[10542] netsock2.c: Using SIP RTP Audio TOS bits 184	
24017	[2023-03-25 12:58:24] VERBOSE[10542] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.	
24018	[2023-03-25 12:58:24] VERBOSE[10542] netsock2.c: Using SIP RTP Audio CoS mark 5	
24019	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@from-internal:1] Macro("PJSIP/210-00000178", "user-callerid,LIMIT") in new stack	
24020	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/210-00000178", "TOUCH_MONITOR=1679749104.1074") in new stack	
24021	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/210-00000178", "CHANCONTEXT=") in new stack	
24022	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:3] Progress("PJSIP/210-00000178", "") in new stack	
24023	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:4] Set("PJSIP/210-00000178", "CHANCONTEXT=") in new stack	
24024	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/210-00000178", "CHANEXTENCONTEXT=210-00000178") in new stack	
24025	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:6] Set("PJSIP/210-00000178", "CHANEXTEN=210-00000178") in new stack	
24026	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/210-00000178", "CALLERID(number)=210") in new stack	
24027	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:8] Set("PJSIP/210-00000178", "AMPUSER=210") in new stack	
24028	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:9] Set("PJSIP/210-00000178", "HOTDESCKCHAN=210-00000178") in new stack	
24029	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/210-00000178", "HOTDESKEXTEN=210") in new stack	
24030	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/210-00000178", "HOTDESKCALL=0") in new stack	
24031	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("PJSIP/210-00000178", "0?Set(HOTDESKCALL=1)") in new stack	
24032	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(name)=)") in new stack	
24033	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("PJSIP/210-00000178", "0?report") in new stack	
24034	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/210-00000178", "1?Set(REALCALLERIDNUM=210)") in new stack	
24035	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:16] Set("PJSIP/210-00000178", "AMPUSER=210") in new stack	
24036	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/210-00000178", "0?limit") in new stack	
24037	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:18] Set("PJSIP/210-00000178", "AMPUSERCIDNAME=210Johns Dad Phone") in new stack	
24038	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/210-00000178", "0?Set(__CIDMASQUERADING=TRUE)") in new stack	
24039	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:20] GotoIf("PJSIP/210-00000178", "0?report") in new stack	
24040	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:21] Set("PJSIP/210-00000178", "AMPUSERCID=210") in new stack	
24041	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:22] Set("PJSIP/210-00000178", "__DIAL_OPTIONS=HhTtr") in new stack	
24042	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:23] Set("PJSIP/210-00000178", "CALLERID(all)="210Johns Dad Phone" <210>") in new stack	
24043	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:24] ExecIf("PJSIP/210-00000178", "0?Set(CUSDIAL=)") in new stack	
24044	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:25] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(all)="210Johns Dad Phone" <210>)") in new stack	
24045	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:26] GotoIf("PJSIP/210-00000178", "0?limit") in new stack	
24046	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:27] ExecIf("PJSIP/210-00000178", "1?Set(GROUP(concurrency_limit)=210)") in new stack	
24047	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:28] ExecIf("PJSIP/210-00000178", "0?Set(CHANNEL(language)=)") in new stack	
24048	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:29] NoOp("PJSIP/210-00000178", "Macro Depth is 1") in new stack	
24049	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("PJSIP/210-00000178", "1?report2:macroerror") in new stack	
24050	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (macro-user-callerid,s,31)	
24051	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:31] GotoIf("PJSIP/210-00000178", "1?continue") in new stack	
24052	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (macro-user-callerid,s,50)	
24053	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:50] Set("PJSIP/210-00000178", "CALLERID(number)=210") in new stack	
24054	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:51] Set("PJSIP/210-00000178", "CALLERID(name)=210Johns Dad Phone") in new stack	
24055	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:52] GotoIf("PJSIP/210-00000178", "0?cnum") in new stack	
24056	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:53] Set("PJSIP/210-00000178", "CDR(cnam)=210Johns Dad Phone") in new stack	
24057	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:54] Set("PJSIP/210-00000178", "CDR(cnum)=210") in new stack	
24058	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-user-callerid:55] Set("PJSIP/210-00000178", "CHANNEL(language)=en") in new stack	
24059	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@from-internal:2] Set("PJSIP/210-00000178", "ROUTEUSER=210") in new stack	
24060	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@from-internal:3] Set("PJSIP/210-00000178", "ROUTEUSER=210") in new stack	
24061	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@from-internal:4] GotoIf("PJSIP/210-00000178", "1?notblind") in new stack	
24062	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (from-internal,07861486831,7)	
24063	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@from-internal:7] GotoIf("PJSIP/210-00000178", "1?restrictedroute-e4da3b7fbbce2345d7772b0674a318d5,07861486831,2:outbound-allroutes,07861486831,2") in new stack	
24064	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5,07861486831,2)	
24065	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:2] Gosub("PJSIP/210-00000178", "sub-record-check,s,1(out,07861486831,dontcare)") in new stack	
24066	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/210-00000178", "0?initialized") in new stack	
24067	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/210-00000178", "__REC_STATUS=INITIALIZED") in new stack	
24068	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/210-00000178", "NOW=1679749104") in new stack	
24069	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/210-00000178", "__DAY=25") in new stack	
24070	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/210-00000178", "__MONTH=03") in new stack	
24071	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/210-00000178", "__YEAR=2023") in new stack	
24072	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/210-00000178", "__TIMESTR=20230325-125824") in new stack	
24073	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/210-00000178", "__FROMEXTEN=210") in new stack	
24074	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/210-00000178", "__MON_FMT=wav") in new stack	
24075	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/210-00000178", "Recordings initialized") in new stack	
24076	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/210-00000178", "0?Set(ARG3=dontcare)") in new stack	
24077	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/210-00000178", "REC_POLICY_MODE_SAVE=") in new stack	
24078	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/210-00000178", "0?Set(REC_STATUS=NO)") in new stack	
24079	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/210-00000178", "3?checkaction") in new stack	
24080	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (sub-record-check,s,17)	
24081	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/210-00000178", "1?sub-record-check,out,1") in new stack	
24082	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (sub-record-check,out,1)	
24083	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [out@sub-record-check:1] NoOp("PJSIP/210-00000178", "Outbound Recording Check from 210 to 07861486831") in new stack	
24084	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [out@sub-record-check:2] Set("PJSIP/210-00000178", "RECMODE=dontcare") in new stack	
24085	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [out@sub-record-check:3] ExecIf("PJSIP/210-00000178", "1?Goto(routewins)") in new stack	
24086	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (sub-record-check,out,7)	
24087	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [out@sub-record-check:7] Gosub("PJSIP/210-00000178", "recordcheck,1(dontcare,out,07861486831)") in new stack	
24088	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/210-00000178", "Starting recording check against dontcare") in new stack	
24089	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/210-00000178", "dontcare") in new stack	
24090	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)	
24091	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [recordcheck@sub-record-check:3] Return("PJSIP/210-00000178", "") in new stack	
24092	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [out@sub-record-check:8] Return("PJSIP/210-00000178", "") in new stack	
24093	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:3] ExecIf("PJSIP/210-00000178", "0 ?Set(CDR(accountcode)=)") in new stack	
24094	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:4] Set("PJSIP/210-00000178", "_ROUTEID=5") in new stack	
24095	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:5] Set("PJSIP/210-00000178", "_ROUTENAME=Route1272") in new stack	
24096	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:6] Set("PJSIP/210-00000178", "MOHCLASS=default") in new stack	
24097	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:7] ExecIf("PJSIP/210-00000178", "1?Set(TRUNKCIDOVERRIDE=01618261272)") in new stack	
24098	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:8] Set("PJSIP/210-00000178", "_CALLERIDNAMEINTERNAL=210Johns Dad Phone") in new stack	
24099	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:9] Set("PJSIP/210-00000178", "_CALLERIDNUMINTERNAL=210") in new stack	
24100	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:10] Set("PJSIP/210-00000178", "_EMAILNOTIFICATION=FALSE") in new stack	
24101	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:11] Set("PJSIP/210-00000178", "_NODEST=") in new stack	
24102	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [07861486831@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:12] Macro("PJSIP/210-00000178", "dialout-trunk,1,07861486831,,off") in new stack	
24103	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:1] Set("PJSIP/210-00000178", "DIAL_TRUNK=1") in new stack	
24104	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:2] UserEvent("PJSIP/210-00000178", "zulu-outbound-call,from:210,to:07861486831") in new stack	
24105	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/210-00000178", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack	
24106	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:4] GosubIf("PJSIP/210-00000178", "0?sub-pincheck,s,1()") in new stack	
24107	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:5] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(num)=210)") in new stack	
24108	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:6] GotoIf("PJSIP/210-00000178", "0?disabletrunk,1") in new stack	
24109	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:7] Set("PJSIP/210-00000178", "DIAL_NUMBER=07861486831") in new stack	
24110	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:8] Set("PJSIP/210-00000178", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack	
24111	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:9] Set("PJSIP/210-00000178", "OUTBOUND_GROUP=OUT_1") in new stack	
24112	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:10] Set("PJSIP/210-00000178", "DIAL_TRUNK_OPTIONS=T") in new stack	
24113	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/210-00000178", "1?nomax") in new stack	
24114	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (macro-dialout-trunk,s,13)	
24115	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/210-00000178", "0?skipoutcid") in new stack	
24116	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:14] Macro("PJSIP/210-00000178", "outbound-callerid,1") in new stack	
24117	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/210-00000178", "210") in new stack	
24118	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/210-00000178", "") in new stack	
24119	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/210-00000178", "off") in new stack	
24120	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(name-pres)=)") in new stack	
24121	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(num-pres)=)") in new stack	
24122	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:6] Set("PJSIP/210-00000178", "HOTDESCKCHAN=210-00000178") in new stack	
24123	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:7] Set("PJSIP/210-00000178", "HOTDESKEXTEN=210") in new stack	
24124	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:8] Set("PJSIP/210-00000178", "HOTDESKCALL=0") in new stack	
24125	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/210-00000178", "0?Set(HOTDESKCALL=1)") in new stack	
24126	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(name)=)") in new stack	
24127	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:11] Set("PJSIP/210-00000178", "ALLOWTHISROUTE=NO") in new stack	
24128	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/210-00000178", "0?Set(ALLOWTHISROUTE=YES)") in new stack	
24129	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/210-00000178", "0?Hangup()") in new stack	
24130	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/210-00000178", "0?Set(REALCALLERIDNUM=210)") in new stack	
24131	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/210-00000178", "0?Set(AMPUSER=210)") in new stack	
24132	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/210-00000178", "1?normcid") in new stack	
24133	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)	
24134	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:20] Set("PJSIP/210-00000178", "USEROUTCID=") in new stack	
24135	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:21] Set("PJSIP/210-00000178", "EMERGENCYCID=") in new stack	
24136	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/210-00000178", "0?Set(SCDEXT=YES)") in new stack	
24137	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/210-00000178", "0?Set(EMERGENCYCID=)") in new stack	
24138	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(name)=)") in new stack	
24139	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/210-00000178", "0?Set(EMERGENCYCID=)") in new stack	
24140	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:26] Set("PJSIP/210-00000178", "TRUNKOUTCID=") in new stack	
24141	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/210-00000178", "1?trunkcid") in new stack	
24142	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (macro-outbound-callerid,s,33)	
24143	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(all)=)") in new stack	
24144	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(all)=)") in new stack	
24145	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/210-00000178", "1?Set(CALLERID(all)=01618261272)") in new stack	
24146	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(all)=210)") in new stack	
24147	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(all)=210)") in new stack	
24148	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:38] Set("PJSIP/210-00000178", "TIOHIDE=no") in new stack	
24149	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack	
24150	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack	
24151	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack	
24152	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/210-00000178", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack	
24153	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:43] Set("PJSIP/210-00000178", "CDR(outbound_cnum)=01618261272") in new stack	
24154	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-outbound-callerid:44] Set("PJSIP/210-00000178", "CDR(outbound_cnam)=") in new stack	
24155	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:15] GosubIf("PJSIP/210-00000178", "0?sub-flp-1,s,1()") in new stack	
24156	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:16] Set("PJSIP/210-00000178", "OUTNUM=07861486831") in new stack	
24157	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:17] Set("PJSIP/210-00000178", "custom=PJSIP") in new stack	
24158	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/210-00000178", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack	
24159	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/210-00000178", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack	
24160	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/210-00000178", "1?gocall") in new stack	
24161	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx_builtins.c: Goto (macro-dialout-trunk,s,22)	
24162	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:22] Macro("PJSIP/210-00000178", "dialout-trunk-predial-hook,") in new stack	
24163	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/210-00000178", "") in new stack	
24164	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:23] GotoIf("PJSIP/210-00000178", "0?skipcrm") in new stack	
24165	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:24] Set("PJSIP/210-00000178", "__CRM_DIRECTION=OUTBOUND") in new stack	
24166	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:25] Set("PJSIP/210-00000178", "__CRM_DESTINATION=07861486831") in new stack	
24167	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:26] Set("PJSIP/210-00000178", "__CRM_SOURCE=210") in new stack	
24168	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:27] AGI("PJSIP/210-00000178", "agi://127.0.0.1/sangomacrm.agi") in new stack	
24169	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] res_agi.c: <PJSIP/210-00000178>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0	
24170	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:28] Set("PJSIP/210-00000178", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack	
24171	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:29] NoOp("PJSIP/210-00000178", "CRM Finished") in new stack	
24172	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:30] GotoIf("PJSIP/210-00000178", "0?bypass,1") in new stack	
24173	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:31] ExecIf("PJSIP/210-00000178", "1?Set(CONNECTEDLINE(num,i)=07861486831)") in new stack	
24174	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/210-00000178", "1?Set(CONNECTEDLINE(name,i)=CID:01618261272)") in new stack	
24175	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/210-00000178", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)01618261272)") in new stack	
24176	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:34] GotoIf("PJSIP/210-00000178", "0?customtrunk") in new stack	
24177	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:35] ExecIf("PJSIP/210-00000178", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack	

Second section

24178	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:36] Set("PJSIP/210-00000178", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack	
24179	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@macro-dialout-trunk:37] Dial("PJSIP/210-00000178", "PJSIP/[email protected],300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^07861486831^07861486831^1^1679749104^^01618261272)") in new stack	
24180	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] app_stack.c: PJSIP/xinix.com-00000179 Internal Gosub(func-apply-sipheaders,s,1(1)) start	
24181	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/xinix.com-00000179", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack	
24182	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/xinix.com-00000179", "Applying SIP Headers to channel PJSIP/xinix.com-00000179") in new stack	
24183	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/xinix.com-00000179", "TECH=PJSIP") in new stack	
24184	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:4] Set("PJSIP/xinix.com-00000179", "SIPHEADERKEYS=Alert-Info") in new stack	
24185	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:5] While("PJSIP/xinix.com-00000179", "1") in new stack	
24186	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:6] Set("PJSIP/xinix.com-00000179", "sipheader=unset") in new stack	
24187	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/xinix.com-00000179", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack	
24188	[2023-03-25 12:58:24] ERROR[14414] res_pjsip_header_funcs.c: No headers had been previously added to this session.	
24189	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/xinix.com-00000179", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack	
24190	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/xinix.com-00000179", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack	
24191	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/xinix.com-00000179", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack	
24192	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:11] EndWhile("PJSIP/xinix.com-00000179", "") in new stack	
24193	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:5] While("PJSIP/xinix.com-00000179", "0") in new stack	
24194	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] pbx.c: Executing [s@func-apply-sipheaders:12] Return("PJSIP/xinix.com-00000179", "") in new stack	
24195	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] app_stack.c: Spawn extension (from-pstn, 07861486831, 1) exited non-zero on 'PJSIP/xinix.com-00000179'	
24196	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] app_stack.c: PJSIP/xinix.com-00000179 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=	
24197	[2023-03-25 12:58:24] VERBOSE[8573][C-000000de] app_dial.c: Called PJSIP/[email protected]	
24198	[2023-03-25 12:58:26] VERBOSE[8573][C-000000de] app_dial.c: PJSIP/xinix.com-00000179 is making progress passing it to PJSIP/210-00000178	
24199	[2023-03-25 12:58:26] NOTICE[17291] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '<sip:[email protected]>' failed for '103.137.165.42:5060' (callid: e5f4a964895481e4f7a467) - Failed to authenticate	
24200	[2023-03-25 12:58:26] NOTICE[22777] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '<sip:[email protected]>' failed for '103.137.165.42:5060' (callid: e5f4a964895481e4f7a467) - Failed to authenticate	
24201	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] app_macro.c: Spawn extension (macro-dialout-trunk, s, 37) exited non-zero on 'PJSIP/210-00000178' in macro 'dialout-trunk'	
24202	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Spawn extension (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5, 07861486831, 12) exited non-zero on 'PJSIP/210-00000178'	
24203	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [h@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:1] Hangup("PJSIP/210-00000178", "") in new stack	
24204	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Spawn extension (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5, h, 1) exited non-zero on 'PJSIP/210-00000178'	
24205	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] app_stack.c: PJSIP/210-00000178 Internal Gosub(crm-hangup,s,1) start	
24206	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:1] NoOp("PJSIP/210-00000178", "Sending Hangup to CRM") in new stack	
24207	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:2] NoOp("PJSIP/210-00000178", "HANGUP CAUSE: 127") in new stack	
24208	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:3] ExecIf("PJSIP/210-00000178", "0?Set(__CRM_VOICEMAIL=)") in new stack	
24209	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:4] NoOp("PJSIP/210-00000178", "MASTER CHANNEL: 1679749104.1074 = 1679749104.1074") in new stack	
24210	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:5] GotoIf("PJSIP/210-00000178", "0?return") in new stack	
24211	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:6] Set("PJSIP/210-00000178", "__CRM_HANGUP=1") in new stack	
24212	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:7] AGI("PJSIP/210-00000178", "agi://127.0.0.1/sangomacrm.agi") in new stack	
24213	[2023-03-25 12:58:28] WARNING[22777] res_pjsip_pubsub.c: No registered publish handler for event presence from 210	
24214	[2023-03-25 12:58:28] WARNING[30781] res_pjsip_pubsub.c: No registered publish handler for event presence from 212	
24215	[2023-03-25 12:58:28] WARNING[10810] res_pjsip_pubsub.c: No registered publish handler for event presence from 205	
24216	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] res_agi.c: <PJSIP/210-00000178>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0	
24217	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] pbx.c: Executing [s@crm-hangup:8] Return("PJSIP/210-00000178", "") in new stack	
24218	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] app_stack.c: Spawn extension (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5, h, 1) exited non-zero on 'PJSIP/210-00000178'	
24219	[2023-03-25 12:58:28] VERBOSE[8573][C-000000de] app_stack.c: PJSIP/210-00000178 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=	
24220	[2023-03-25 12:58:30] NOTICE[22777] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '<sip:[email protected]>' failed for '103.137.165.42:5060' (callid: e5f4a964895481e4f7a467) - Failed to authenticate	
24221	[2023-03-25 12:58:32] NOTICE[30781] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '<sip:[email protected]>' failed for '103.137.165.42:5060' (callid: e5f4a964895481e4f7a467) - Failed to authenticate	
24222	[2023-03-25 12:58:34] NOTICE[10542] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '<sip:[email protected]>' failed for '103.137.165.42:5060' (callid: e5f4a964895481e4f7a467) - Failed to authenticate	
24223	[2023-03-25 12:58:36] NOTICE[10810] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '<sip:[email protected]>' failed for '103.137.165.42:5060' (callid: e5f4a964895481e4f7a467) - Failed to authenticate

This will depend as much on the provider as on the country. You are likely to have to prove that you own the number, and some providers may not offer the service.

The syntax is determined by the provider, not by FreePBX. It is typically the same as inbound caller ID for that provider.

As I already said you need to look at the actual INVITE being sent. That will quickly tell you if this is something within FreePBX’s control.

The dialplan has set the caller ID that you wanted. That leaves the possibility that you are setting the From user in your PJSIP settings, and not providing an acceptable alternative method for providing the caller ID, or that the provider isn’t accepting caller IDs, or at least that caller ID.

If I call my mobile from a sip client (UK 3 network) the call goes through.

If I call another number (Sky mobile ) I get the destination dialed is not supported. This is from the network operator.

So there must be some configuration that Sky does not like.

Presumably the caller ID.

I have set ext 210 CID as 01618261804
And also in the outbound route.

Ext 210 is set to only use outbound route ( Route1804) with CID set to 01618261804

When I dial my mobile (3 network) from a sip phone logged into ext 210 the caller ID is 01618261804

So the caller ID seems correct.

So why is the call being rejected on my Sky mobile number.

Another anomaly

If I set ext 202 to only use another outbound route 0161 826 1272

When I call no matter what CID setting the CID is always 0161 826 1804

Hi Guys,

I have spoke to our trunk provider and our trunk id now set to Trusted CID.

I have (I think ) all settings to set the CID to 01618261804 but the callerID is showing an 020xxxxxxx number. Which means they ate not getting a caller ID.

In the logs I see

12505	[2023-03-27 17:19:33] VERBOSE[27284][C-00000187] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/200-000002a4", "1?Set(CONNECTEDLINE(name,i)=CID:01618261804)") in new stack	
12506	[2023-03-27 17:19:33] VERBOSE[27284][C-00000187] pbx.c: Executing [s@macro-dialout-trunk:33] ExecIf("PJSIP/200-000002a4", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)01618261804)") in new stack	
12507	[2023-03-27 17:20:47] VERBOSE[27865] pbx_variables.c: Setting global variable 'OUTCID_1' to '01618261804'	
12508	[2023-03-27 17:20:47] VERBOSE[27865] pbx_variables.c: Setting global variable 'OUTKEEPCID_1' to 'all'	
12509	[2023-03-27 17:20:47] VERBOSE[27865] pbx_variables.c: Setting global variable 'FORCEDOUTCID_1' to '01618261804'	

Where would this come from in the GUI settings ?

One step further… :grin:

Check your outbound routes and Trunk(s)

I can’t see anywhere that doesn’t send the CID correctly.

I have added

Outgoing CallerID number: {{OUTGOINGCALLERIDNUMBER}}

To the outgoing email and this shows 01618261804

Time : 03-27-2023 5:19:33 PM BST
Caller : 200OfficePhone
To : 07861486831
CallerID : 200

CallID : 1679933973.1431
Route : Route1804
01618261804 - Outgoing CallerID number




I have set all extensions to use the 01618261804 route only.

What doe this mean and where does it originate please.

Hi David

The trunk provider has set the service to Trusted. Therefore the caller ID should work.

The 0? in the full line indicates that the condition was false and that line was not executed.

You still haven’t provided the pjsip set logger on output for the actual INVITE, which will show if and how the caller ID was passed to the provider. I would say you are either overriding with an explicit from_user setting, or it is not being passed in a form acceptable to the provider.

I used pjsip set logger on then

[global]
endpoint_custom_post.log_invites = yes
endpoint_custom_post.log_request_responses = yes

23098	[2023-03-28 14:43:24] VERBOSE[14414] netsock2.c: Using SIP RTP Audio TOS bits 184	
23099	[2023-03-28 14:43:24] VERBOSE[14414] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.	
23100	[2023-03-28 14:43:24] VERBOSE[14414] netsock2.c: Using SIP RTP Audio CoS mark 5	
23101	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@from-internal:1] Macro("PJSIP/200-00000300", "user-callerid,LIMIT") in new stack	
23102	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/200-00000300", "TOUCH_MONITOR=1680011004.1826") in new stack	
23103	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/200-00000300", "CHANCONTEXT=") in new stack	
23104	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:3] Progress("PJSIP/200-00000300", "") in new stack	
23105	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:4] Set("PJSIP/200-00000300", "CHANCONTEXT=") in new stack	
23106	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/200-00000300", "CHANEXTENCONTEXT=200-00000300") in new stack	
23107	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:6] Set("PJSIP/200-00000300", "CHANEXTEN=200-00000300") in new stack	
23108	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/200-00000300", "CALLERID(number)=200") in new stack	
23109	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:8] Set("PJSIP/200-00000300", "AMPUSER=200") in new stack	
23110	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:9] Set("PJSIP/200-00000300", "HOTDESCKCHAN=200-00000300") in new stack	
23111	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/200-00000300", "HOTDESKEXTEN=200") in new stack	
23112	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/200-00000300", "HOTDESKCALL=0") in new stack	
23113	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("PJSIP/200-00000300", "0?Set(HOTDESKCALL=1)") in new stack	
23114	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(name)=)") in new stack	
23115	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("PJSIP/200-00000300", "0?report") in new stack	
23116	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/200-00000300", "1?Set(REALCALLERIDNUM=200)") in new stack	
23117	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:16] Set("PJSIP/200-00000300", "AMPUSER=200") in new stack	
23118	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/200-00000300", "0?limit") in new stack	
23119	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:18] Set("PJSIP/200-00000300", "AMPUSERCIDNAME=200OfficePhone") in new stack	
23120	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/200-00000300", "0?Set(__CIDMASQUERADING=TRUE)") in new stack	
23121	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:20] GotoIf("PJSIP/200-00000300", "0?report") in new stack	
23122	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:21] Set("PJSIP/200-00000300", "AMPUSERCID=200") in new stack	
23123	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:22] Set("PJSIP/200-00000300", "__DIAL_OPTIONS=HhTtr") in new stack	
23124	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:23] Set("PJSIP/200-00000300", "CALLERID(all)="200OfficePhone" <200>") in new stack	
23125	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:24] ExecIf("PJSIP/200-00000300", "0?Set(CUSDIAL=)") in new stack	
23126	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:25] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(all)="200OfficePhone" <200>)") in new stack	
23127	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:26] GotoIf("PJSIP/200-00000300", "0?limit") in new stack	
23128	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:27] ExecIf("PJSIP/200-00000300", "1?Set(GROUP(concurrency_limit)=200)") in new stack	
23129	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:28] ExecIf("PJSIP/200-00000300", "0?Set(CHANNEL(language)=)") in new stack	
23130	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:29] NoOp("PJSIP/200-00000300", "Macro Depth is 1") in new stack	
23131	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("PJSIP/200-00000300", "1?report2:macroerror") in new stack	
23132	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (macro-user-callerid,s,31)	
23133	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:31] GotoIf("PJSIP/200-00000300", "1?continue") in new stack	
23134	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (macro-user-callerid,s,50)	
23135	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:50] Set("PJSIP/200-00000300", "CALLERID(number)=200") in new stack	
23136	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:51] Set("PJSIP/200-00000300", "CALLERID(name)=200OfficePhone") in new stack	
23137	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:52] GotoIf("PJSIP/200-00000300", "0?cnum") in new stack	
23138	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:53] Set("PJSIP/200-00000300", "CDR(cnam)=200OfficePhone") in new stack	
23139	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:54] Set("PJSIP/200-00000300", "CDR(cnum)=200") in new stack	
23140	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-user-callerid:55] Set("PJSIP/200-00000300", "CHANNEL(language)=en") in new stack	
23141	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@from-internal:2] Set("PJSIP/200-00000300", "ROUTEUSER=200") in new stack	
23142	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@from-internal:3] Set("PJSIP/200-00000300", "ROUTEUSER=200") in new stack	
23143	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@from-internal:4] GotoIf("PJSIP/200-00000300", "1?notblind") in new stack	
23144	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (from-internal,07861486831,7)	
23145	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@from-internal:7] GotoIf("PJSIP/200-00000300", "1?restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3,07861486831,2:outbound-allroutes,07861486831,2") in new stack	
23146	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3,07861486831,2)	
23147	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:2] Gosub("PJSIP/200-00000300", "sub-record-check,s,1(out,07861486831,dontcare)") in new stack	
23148	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/200-00000300", "0?initialized") in new stack	
23149	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/200-00000300", "__REC_STATUS=INITIALIZED") in new stack	
23150	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/200-00000300", "NOW=1680011004") in new stack	
23151	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/200-00000300", "__DAY=28") in new stack	
23152	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/200-00000300", "__MONTH=03") in new stack	
23153	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/200-00000300", "__YEAR=2023") in new stack	
23154	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/200-00000300", "__TIMESTR=20230328-144324") in new stack	
23155	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/200-00000300", "__FROMEXTEN=200") in new stack	
23156	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/200-00000300", "__MON_FMT=wav") in new stack	
23157	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/200-00000300", "Recordings initialized") in new stack	
23158	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/200-00000300", "0?Set(ARG3=dontcare)") in new stack	
23159	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/200-00000300", "REC_POLICY_MODE_SAVE=") in new stack	
23160	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/200-00000300", "0?Set(REC_STATUS=NO)") in new stack	
23161	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/200-00000300", "3?checkaction") in new stack	
23162	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (sub-record-check,s,17)	
23163	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/200-00000300", "1?sub-record-check,out,1") in new stack	
23164	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (sub-record-check,out,1)	
23165	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [out@sub-record-check:1] NoOp("PJSIP/200-00000300", "Outbound Recording Check from 200 to 07861486831") in new stack	
23166	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [out@sub-record-check:2] Set("PJSIP/200-00000300", "RECMODE=yes") in new stack	
23167	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [out@sub-record-check:3] ExecIf("PJSIP/200-00000300", "0?Goto(routewins)") in new stack	
23168	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [out@sub-record-check:4] ExecIf("PJSIP/200-00000300", "0?Goto(routewins)") in new stack	
23169	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [out@sub-record-check:5] Gosub("PJSIP/200-00000300", "recordcheck,1(yes,out,07861486831)") in new stack	
23170	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/200-00000300", "Starting recording check against yes") in new stack	
23171	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/200-00000300", "yes") in new stack	
23172	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (sub-record-check,recordcheck,9)	
23173	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:9] ExecIf("PJSIP/200-00000300", "0?Return()") in new stack	
23174	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:10] Set("PJSIP/200-00000300", "__REC_POLICY_MODE=YES") in new stack	
23175	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:11] Goto("PJSIP/200-00000300", "startrec") in new stack	
23176	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)	
23177	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/200-00000300", "Starting recording: out, 07861486831") in new stack	
23178	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:17] Set("PJSIP/200-00000300", "__CALLFILENAME=out-07861486831-200-20230328-144324-1680011004.1826") in new stack	
23179	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:18] MixMonitor("PJSIP/200-00000300", "2023/03/28/out-07861486831-200-20230328-144324-1680011004.1826.wav,abi(),") in new stack	
23180	[2023-03-28 14:43:24] VERBOSE[20322][C-000001b0] app_mixmonitor.c: Begin MixMonitor Recording PJSIP/200-00000300	
23181	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:19] Set("PJSIP/200-00000300", "__MIXMON_ID=") in new stack	
23182	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:20] Set("PJSIP/200-00000300", "__RECORD_ID=PJSIP/200-00000300") in new stack	
23183	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:21] Set("PJSIP/200-00000300", "__REC_STATUS=RECORDING") in new stack	
23184	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:22] Set("PJSIP/200-00000300", "CDR(recordingfile)=out-07861486831-200-20230328-144324-1680011004.1826.wav") in new stack	
23185	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [recordcheck@sub-record-check:23] Return("PJSIP/200-00000300", "") in new stack	
23186	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [out@sub-record-check:6] Return("PJSIP/200-00000300", "") in new stack	
23187	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:3] ExecIf("PJSIP/200-00000300", "0 ?Set(CDR(accountcode)=)") in new stack	
23188	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:4] Set("PJSIP/200-00000300", "_ROUTEID=3") in new stack	
23189	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:5] Set("PJSIP/200-00000300", "_ROUTENAME=Route1804") in new stack	
23190	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:6] Set("PJSIP/200-00000300", "MOHCLASS=default") in new stack	
23191	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:7] ExecIf("PJSIP/200-00000300", "0?Set(TRUNKCIDOVERRIDE=01618261804)") in new stack	
23192	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:8] Set("PJSIP/200-00000300", "_CALLERIDNAMEINTERNAL=200OfficePhone") in new stack	
23193	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:9] Set("PJSIP/200-00000300", "_CALLERIDNUMINTERNAL=200") in new stack	
23194	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:10] Set("PJSIP/200-00000300", "_EMAILNOTIFICATION=TRUE") in new stack	
23195	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:11] Set("PJSIP/200-00000300", "_NODEST=") in new stack	
23196	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [07861486831@restrictedroute-eccbc87e4b5ce2fe28308fd9f2a7baf3:12] Macro("PJSIP/200-00000300", "dialout-trunk,1,07861486831,,off") in new stack	
23197	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:1] Set("PJSIP/200-00000300", "DIAL_TRUNK=1") in new stack	
23198	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:2] UserEvent("PJSIP/200-00000300", "zulu-outbound-call,from:200,to:07861486831") in new stack	
23199	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/200-00000300", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack	
23200	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:4] GosubIf("PJSIP/200-00000300", "0?sub-pincheck,s,1()") in new stack	
23201	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:5] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(num)=200)") in new stack	
23202	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:6] GotoIf("PJSIP/200-00000300", "0?disabletrunk,1") in new stack	
23203	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:7] Set("PJSIP/200-00000300", "DIAL_NUMBER=07861486831") in new stack	
23204	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:8] Set("PJSIP/200-00000300", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack	
23205	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:9] Set("PJSIP/200-00000300", "OUTBOUND_GROUP=OUT_1") in new stack	
23206	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:10] Set("PJSIP/200-00000300", "DIAL_TRUNK_OPTIONS=T") in new stack	
23207	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/200-00000300", "1?nomax") in new stack	
23208	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (macro-dialout-trunk,s,13)	
23209	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/200-00000300", "0?skipoutcid") in new stack	
23210	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:14] Macro("PJSIP/200-00000300", "outbound-callerid,1") in new stack	
23211	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/200-00000300", "200") in new stack	
23212	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/200-00000300", "") in new stack	
23213	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/200-00000300", "all") in new stack	
23214	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(name-pres)=)") in new stack	
23215	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(num-pres)=)") in new stack	
23216	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:6] Set("PJSIP/200-00000300", "HOTDESCKCHAN=200-00000300") in new stack	
23217	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:7] Set("PJSIP/200-00000300", "HOTDESKEXTEN=200") in new stack	
23218	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:8] Set("PJSIP/200-00000300", "HOTDESKCALL=0") in new stack	
23219	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/200-00000300", "0?Set(HOTDESKCALL=1)") in new stack	
23220	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(name)=)") in new stack	
23221	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:11] Set("PJSIP/200-00000300", "ALLOWTHISROUTE=NO") in new stack	
23222	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/200-00000300", "0?Set(ALLOWTHISROUTE=YES)") in new stack	
23223	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/200-00000300", "0?Hangup()") in new stack	
23224	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/200-00000300", "0?Set(REALCALLERIDNUM=200)") in new stack	
23225	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/200-00000300", "0?Set(AMPUSER=200)") in new stack	
23226	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/200-00000300", "1?normcid") in new stack	
23227	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)	
23228	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:20] Set("PJSIP/200-00000300", "USEROUTCID=01618261804") in new stack	
23229	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:21] Set("PJSIP/200-00000300", "EMERGENCYCID=") in new stack	
23230	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/200-00000300", "0?Set(SCDEXT=YES)") in new stack	
23231	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/200-00000300", "0?Set(EMERGENCYCID=)") in new stack	
23232	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(name)=)") in new stack	
23233	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/200-00000300", "0?Set(EMERGENCYCID=)") in new stack	
23234	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:26] Set("PJSIP/200-00000300", "TRUNKOUTCID=01618261804") in new stack	
23235	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/200-00000300", "1?trunkcid") in new stack	
23236	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (macro-outbound-callerid,s,33)	
23237	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/200-00000300", "1?Set(CALLERID(all)=01618261804)") in new stack	
23238	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/200-00000300", "1?Set(CALLERID(all)=01618261804)") in new stack	
23239	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/200-00000300", "1?Set(CALLERID(all)=01618261804)") in new stack	
23240	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(all)=200)") in new stack	
23241	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(all)=200)") in new stack	
23242	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:38] Set("PJSIP/200-00000300", "TIOHIDE=no") in new stack	
23243	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack	
23244	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack	
23245	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack	
23246	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/200-00000300", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack	
23247	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:43] Set("PJSIP/200-00000300", "CDR(outbound_cnum)=01618261804") in new stack	
23248	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-outbound-callerid:44] Set("PJSIP/200-00000300", "CDR(outbound_cnam)=") in new stack	
23249	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:15] GosubIf("PJSIP/200-00000300", "0?sub-flp-1,s,1()") in new stack	
23250	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:16] Set("PJSIP/200-00000300", "OUTNUM=07861486831") in new stack	
23251	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:17] Set("PJSIP/200-00000300", "custom=PJSIP") in new stack	
23252	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/200-00000300", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack	
23253	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/200-00000300", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack	
23254	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/200-00000300", "1?gocall") in new stack	
23255	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx_builtins.c: Goto (macro-dialout-trunk,s,22)	
23256	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:22] Macro("PJSIP/200-00000300", "dialout-trunk-predial-hook,") in new stack	
23257	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/200-00000300", "") in new stack	
23258	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:23] GotoIf("PJSIP/200-00000300", "0?skipcrm") in new stack	
23259	[2023-03-28 14:43:24] VERBOSE[20321][C-000001b0] pbx.c: Executing [s@macro-dialout-trunk:24] Set("PJSIP/200-00000300", "__CRM_DIRECTION=OUTBOUND") in new stack