im pretty sure my provider wants P-Preferred-Identity. The second after i posted the former post i changed that already. Issue is the same.
116 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
117 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:20] Set("PJSIP/107-0000000a", "USEROUTCID=<494491xxxxxxx>") in new stack
118 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:21] Set("PJSIP/107-0000000a", "EMERGENCYCID=") in new stack
119 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/107-0000000a", "0?Set(EMERGENCYCID=)") in new stack
120 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:23] Set("PJSIP/107-0000000a", "TRUNKOUTCID=") in new stack
121 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/107-0000000a", "1?trunkcid") in new stack
122 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)
123 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERID(all)=)") in new stack
124 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/107-0000000a", "1?Set(CALLERID(all)=<494491xxxxxxx>)") in new stack
125 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERID(all)=)") in new stack
126 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERID(all)=107)") in new stack
127 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:34] Set("PJSIP/107-0000000a", "TIOHIDE=no") in new stack
128 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
129 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
130 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
131 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/107-0000000a", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
132 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:39] Set("PJSIP/107-0000000a", "CDR(outbound_cnum)=494491xxxxxxx") in new stack
133 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:40] Set("PJSIP/107-0000000a", "CDR(outbound_cnam)=") in new stack
134 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/107-0000000a", "0?sub-flp-3,s,1()") in new stack
135 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:15] Set("PJSIP/107-0000000a", "OUTNUM=0151xxxxxxx") in new stack
136 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:16] Set("PJSIP/107-0000000a", "custom=PJSIP") in new stack
137 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/107-0000000a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)B(macro-dialout-trunk-predial-hook^s^1))") in new stack
138 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/107-0000000a", "0?Set(DIAL_TRUNK_OPTIONS=B(macro-dialout-trunk-predial-hook^s^1)M(confirm))") in new stack
139 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:19] Macro("PJSIP/107-0000000a", "dialout-trunk-predial-hook,") in new stack
140 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] Gosub("PJSIP/107-0000000a", "func-set-sipheader,s,1(P-Preferred-Identity,sip:[email protected])") in new stack
141 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-set-sipheader:1] NoOp("PJSIP/107-0000000a", "Sip Add Header function called. Adding P-Preferred-Identity = sip:[email protected]") in new stack
142 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-set-sipheader:2] Set("PJSIP/107-0000000a", "HASH(__SIPHEADERS,P-Preferred-Identity)=sip:[email protected]") in new stack
143 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-set-sipheader:3] Return("PJSIP/107-0000000a", "") in new stack
144 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:2] MacroExit("PJSIP/107-0000000a", "") in new stack
145 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/107-0000000a", "0?skipcrm") in new stack
146 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:21] Set("PJSIP/107-0000000a", "__CRM_DIRECTION=OUTBOUND") in new stack
147 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:22] Set("PJSIP/107-0000000a", "__CRM_DESTINATION=0151xxxxxxx") in new stack
148 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:23] Set("PJSIP/107-0000000a", "__CRM_SOURCE=107") in new stack
149 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:24] AGI("PJSIP/107-0000000a", "sangomacrm.agi") in new stack
150 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
151 [2021-01-18 19:38:52] VERBOSE[7927][C-00000006] app_mixmonitor.c: Begin MixMonitor Recording PJSIP/107-0000000a
152 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] res_agi.c: <PJSIP/107-0000000a>AGI Script sangomacrm.agi completed, returning 0
153 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:25] Set("PJSIP/107-0000000a", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
154 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp("PJSIP/107-0000000a", "CRM Finished") in new stack
155 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf("PJSIP/107-0000000a", "0?bypass,1") in new stack
156 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf("PJSIP/107-0000000a", "1?Set(CONNECTEDLINE(num,i)=0151xxxxxxx)") in new stack
157 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf("PJSIP/107-0000000a", "1?Set(CONNECTEDLINE(name,i)=CID:494491xxxxxxx)") in new stack
158 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf("PJSIP/107-0000000a", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)494491xxxxxxx)") in new stack
159 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/107-0000000a", "0?customtrunk") in new stack
160 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/107-0000000a", "0?Set(DIAL_TRUNK_OPTIONS=B(macro-dialout-trunk-predial-hook^s^1))") in new stack
161 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:33] Set("PJSIP/107-0000000a", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
162 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:34] Dial("PJSIP/107-0000000a", "PJSIP/0151xxxxxxx@PLACETEL_PJSIP,300,B(macro-dialout-trunk-predial-hook^s^1)b(func-apply-sipheaders^s^1,(3))U(sub-send-obroute-email^0151xxxxxxx^0151xxxxxxx^3^1610998732^^494491xxxxxxx)") in new stack
163 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_stack.c: PJSIP/107-0000000a Internal Gosub(macro-dialout-trunk-predial-hook,s,1) start
164 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] Gosub("PJSIP/107-0000000a", "func-set-sipheader,s,1(P-Preferred-Identity,sip:[email protected])") in new stack
165 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-set-sipheader:1] NoOp("PJSIP/107-0000000a", "Sip Add Header function called. Adding P-Preferred-Identity = sip:[email protected]") in new stack
166 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-set-sipheader:2] Set("PJSIP/107-0000000a", "HASH(__SIPHEADERS,P-Preferred-Identity)=sip:[email protected]") in new stack
167 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-set-sipheader:3] Return("PJSIP/107-0000000a", "") in new stack
168 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:2] MacroExit("PJSIP/107-0000000a", "") in new stack
169 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_stack.c: Spawn extension (macro-dialout-trunk-predial-hook, s, 2) exited non-zero on 'PJSIP/107-0000000a'
170 [2021-01-18 19:38:52] NOTICE[7926][C-00000006] app_stack.c: PJSIP/107-0000000a Abnormal 'Gosub(macro-dialout-trunk-predial-hook,s,1)' exit. Popping routine return locations.
171 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_stack.c: PJSIP/PLACETEL_PJSIP-0000000b Internal Gosub(func-apply-sipheaders,s,1(3)) start
172 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
173 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/PLACETEL_PJSIP-0000000b", "Applying SIP Headers to channel PJSIP/PLACETEL_PJSIP-0000000b") in new stack
174 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/PLACETEL_PJSIP-0000000b", "TECH=PJSIP") in new stack
175 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:4] Set("PJSIP/PLACETEL_PJSIP-0000000b", "SIPHEADERKEYS=P-Preferred-Identity,Alert-Info") in new stack
176 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:5] While("PJSIP/PLACETEL_PJSIP-0000000b", "1") in new stack
177 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:6] Set("PJSIP/PLACETEL_PJSIP-0000000b", "sipheader=sip:[email protected]") in new stack
178 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(PJSIP_HEADER(remove,P-Preferred-Identity)=)") in new stack
179 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(sipheader=<http://127.0.0.1>;info=sip:[email protected])") in new stack
180 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(sipheader=<http://127.0.0.1>sip:[email protected])") in new stack
181 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "1?Set(PJSIP_HEADER(add,P-Preferred-Identity)=sip:[email protected])") in new stack
182 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:11] EndWhile("PJSIP/PLACETEL_PJSIP-0000000b", "") in new stack
183 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:5] While("PJSIP/PLACETEL_PJSIP-0000000b", "1") in new stack
184 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:6] Set("PJSIP/PLACETEL_PJSIP-0000000b", "sipheader=unset") in new stack
185 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
186 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
187 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
188 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/PLACETEL_PJSIP-0000000b", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
189 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:11] EndWhile("PJSIP/PLACETEL_PJSIP-0000000b", "") in new stack
190 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:5] While("PJSIP/PLACETEL_PJSIP-0000000b", "0") in new stack
191 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:12] Return("PJSIP/PLACETEL_PJSIP-0000000b", "") in new stack
192 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_stack.c: Spawn extension (from-trunk, 0151xxxxxxx, 1) exited non-zero on 'PJSIP/PLACETEL_PJSIP-0000000b'
193 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_stack.c: PJSIP/PLACETEL_PJSIP-0000000b Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
194 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_dial.c: Called PJSIP/0151xxxxxxx@PLACETEL_PJSIP
195 [2021-01-18 19:38:52] VERBOSE[7926][C-00000006] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)