No calls with Inboud Route DID PJSIP Trunk

siptrunk
Tags: #<Tag:0x00007f7022840aa0>

(Patrick Kuijt) #1

Hello, I have a Freepbx 15.0.16.72 installation.
I configured a PJSIP Trunk.
This trunk is working OK, I can make and receive calls.
When I create a Inbound Route with a Any DID to an ext the call is working.
But when I create a DID with a specific telephone number the call cannot be finished. The phone number is the pilot user in the sip trunk
For test i’m using Zoiper sip client with CHAN SIP Extensions.


(Patrick Kuijt) #2

Failed call log
Caller 0612345678 TO 0712077820 In the inbound Route the DID 0712077820 configured with destination 201 (zoiper)

2321 [2020-10-15 07:47:53] VERBOSE[19725] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘85.107.56.232’
2322 [2020-10-15 07:47:53] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:1] NoOp(“PJSIP/Routit2-00000007”, “No DID or CID Match”) in new stack
2323 [2020-10-15 07:47:53] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:2] Answer(“PJSIP/Routit2-00000007”, “”) in new stack
2324 [2020-10-15 07:47:54] WARNING[32252][C-00000008] chan_sip.c: This function can only be used on SIP channels.
2325 [2020-10-15 07:47:54] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:3] Log(“PJSIP/Routit2-00000007”, "WARNING,Friendly Scanner from ") in new stack
2326 [2020-10-15 07:47:54] WARNING[32252][C-00000008] Ext. s: Friendly Scanner from
2327 [2020-10-15 07:47:54] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:4] Wait(“PJSIP/Routit2-00000007”, “2”) in new stack
2328 [2020-10-15 07:47:56] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:5] Playback(“PJSIP/Routit2-00000007”, “ss-noservice”) in new stack
2329 [2020-10-15 07:47:56] VERBOSE[32252][C-00000008] file.c: <PJSIP/Routit2-00000007> Playing ‘ss-noservice.ulaw’ (language ‘nl’)
2330 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:6] SayAlpha(“PJSIP/Routit2-00000007”, “”) in new stack
2331 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@from-pstn:7] Hangup(“PJSIP/Routit2-00000007”, “”) in new stack
2332 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Spawn extension (from-pstn, s, 7) exited non-zero on ‘PJSIP/Routit2-00000007’
2333 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [h@from-pstn:1] Macro(“PJSIP/Routit2-00000007”, “hangupcall,”) in new stack
2334 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/Routit2-00000007”, “1?theend”) in new stack
2335 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx_builtins.c: Goto (macro-hangupcall,s,3)
2336 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/Routit2-00000007”, “0?Set(CDR(recordingfile)=)”) in new stack
2337 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/Routit2-00000007”, " montior file= ") in new stack
2338 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/Routit2-00000007”, “1?skipagi”) in new stack
2339 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx_builtins.c: Goto (macro-hangupcall,s,7)
2340 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/Routit2-00000007”, “”) in new stack
2341 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/Routit2-00000007’ in macro ‘hangupcall’
2342 [2020-10-15 07:48:03] VERBOSE[32252][C-00000008] pbx.c: Spawn extension (from-pstn, h, 1) exited non-zero on ‘PJSIP/Routit2-00000007’
FreePBX®FreePBX is a registered trademark of


(Patrick Kuijt) #3

Good Call
Caller 0612345678 TO 0712077820 In the inbound Route no DID configured with destination 201 (zoiper)

1291 [2020-10-15 07:41:11] VERBOSE[19725] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘85.107.56.232’
1292 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:1] Set(“PJSIP/Routit2-00000005”, “__DIRECTION=INBOUND”) in new stack
1293 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:2] Set(“PJSIP/Routit2-00000005”, “CHANNEL(tonezone)=us”) in new stack
1294 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:3] ExecIf(“PJSIP/Routit2-00000005”, “1?Set(__FROM_DID=s)”) in new stack
1295 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:4] Set(“PJSIP/Routit2-00000005”, “returnhere=1”) in new stack
1296 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:5] Gosub(“PJSIP/Routit2-00000005”, “app-blacklist-check,s,1()”) in new stack
1297 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@app-blacklist-check:1] GotoIf(“PJSIP/Routit2-00000005”, “0?blacklisted”) in new stack
1298 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@app-blacklist-check:2] Set(“PJSIP/Routit2-00000005”, “CALLED_BLACKLIST=1”) in new stack
1299 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@app-blacklist-check:3] Return(“PJSIP/Routit2-00000005”, “”) in new stack
1300 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:6] Set(“PJSIP/Routit2-00000005”, “CDR(did)=s”) in new stack
1301 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:7] GotoIf(“PJSIP/Routit2-00000005”, “0?”) in new stack
1302 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:8] ExecIf(“PJSIP/Routit2-00000005”, “0 ?Set(CALLERID(name)=0612345678)”) in new stack
1303 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:9] Set(“PJSIP/Routit2-00000005”, “__MOHCLASS=”) in new stack
1304 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:10] Set(“PJSIP/Routit2-00000005”, “__REVERSAL_REJECT=FALSE”) in new stack
1305 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:11] GotoIf(“PJSIP/Routit2-00000005”, “1?post-reverse-charge”) in new stack
1306 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (from-pstn,s,13)
1307 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:13] NoOp(“PJSIP/Routit2-00000005”, “”) in new stack
1308 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:14] Set(“PJSIP/Routit2-00000005”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
1309 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:15] Set(“PJSIP/Routit2-00000005”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
1310 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:16] Set(“PJSIP/Routit2-00000005”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
1311 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:17] Set(“PJSIP/Routit2-00000005”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
1312 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:18] NoOp(“PJSIP/Routit2-00000005”, “CallerID Entry Point”) in new stack
1313 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@from-pstn:19] Goto(“PJSIP/Routit2-00000005”, “from-did-direct,201,1”) in new stack
1314 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (from-did-direct,201,1)
1315 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [201@from-did-direct:1] GotoIf(“PJSIP/Routit2-00000005”, “1?ext-local,201,1:followme-check,201,1”) in new stack
1316 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (ext-local,201,1)
1317 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [201@ext-local:1] Set(“PJSIP/Routit2-00000005”, “__RINGTIMER=15”) in new stack
1318 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [201@ext-local:2] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(__CWIGNORE=)”) in new stack
1319 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [201@ext-local:3] Macro(“PJSIP/Routit2-00000005”, “exten-vm,novm,201,0,0,0”) in new stack
1320 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:1] Macro(“PJSIP/Routit2-00000005”, “user-callerid,”) in new stack
1321 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/Routit2-00000005”, “TOUCH_MONITOR=1602747671.9”) in new stack
1322 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/Routit2-00000005”, “AMPUSER=0612345678”) in new stack
1323 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:3] Set(“PJSIP/Routit2-00000005”, “HOTDESCKCHAN=Routit2-00000005”) in new stack
1324 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/Routit2-00000005”, “HOTDESKEXTEN=Routit2”) in new stack
1325 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/Routit2-00000005”, “HOTDESKCALL=0”) in new stack
1326 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(HOTDESKCALL=1)”) in new stack
1327 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(CALLERID(name)=)”) in new stack
1328 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“PJSIP/Routit2-00000005”, “0?report”) in new stack
1329 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“PJSIP/Routit2-00000005”, “1?Set(REALCALLERIDNUM=0612345678)”) in new stack
1330 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/Routit2-00000005”, “AMPUSER=”) in new stack
1331 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“PJSIP/Routit2-00000005”, “0?limit”) in new stack
1332 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/Routit2-00000005”, “AMPUSERCIDNAME=”) in new stack
1333 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
1334 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/Routit2-00000005”, “1?report”) in new stack
1335 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-user-callerid,s,23)
1336 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:23] NoOp(“PJSIP/Routit2-00000005”, “Macro Depth is 2”) in new stack
1337 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:24] GotoIf(“PJSIP/Routit2-00000005”, “1?report2:macroerror”) in new stack
1338 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-user-callerid,s,25)
1339 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:25] GotoIf(“PJSIP/Routit2-00000005”, “0?continue”) in new stack
1340 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:26] ExecIf(“PJSIP/Routit2-00000005”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
1341 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:27] Set(“PJSIP/Routit2-00000005”, “__TTL=64”) in new stack
1342 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:28] GotoIf(“PJSIP/Routit2-00000005”, “1?continue”) in new stack
1343 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-user-callerid,s,44)
1344 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:44] Set(“PJSIP/Routit2-00000005”, “CALLERID(number)=0612345678”) in new stack
1345 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:45] Set(“PJSIP/Routit2-00000005”, “CALLERID(name)=0612345678”) in new stack
1346 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:46] GotoIf(“PJSIP/Routit2-00000005”, “0?cnum”) in new stack
1347 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:47] Set(“PJSIP/Routit2-00000005”, “CDR(cnam)=0612345678”) in new stack
1348 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:48] Set(“PJSIP/Routit2-00000005”, “CDR(cnum)=0612345678”) in new stack
1349 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-user-callerid:49] Set(“PJSIP/Routit2-00000005”, “CHANNEL(language)=nl”) in new stack
1350 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:2] Set(“PJSIP/Routit2-00000005”, “RingGroupMethod=none”) in new stack
1351 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:3] Set(“PJSIP/Routit2-00000005”, “__EXTTOCALL=201”) in new stack
1352 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:4] Set(“PJSIP/Routit2-00000005”, “__PICKUPMARK=201”) in new stack
1353 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:5] Set(“PJSIP/Routit2-00000005”, “RT=”) in new stack
1354 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1355 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:6] ExecIf(“PJSIP/Routit2-00000005”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
1356 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1357 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1358 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:7] ExecIf(“PJSIP/Routit2-00000005”, “0?MacroExit()”) in new stack
1359 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1360 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1361 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:8] ExecIf(“PJSIP/Routit2-00000005”, “0?Gosub(ext-intercom,*80201,1())”) in new stack
1362 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1363 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1364 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:9] ExecIf(“PJSIP/Routit2-00000005”, “0?MacroExit()”) in new stack
1365 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1366 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1367 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:10] ExecIf(“PJSIP/Routit2-00000005”, “0?ChanSpy(SIP/201,q)”) in new stack
1368 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1369 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1370 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:11] ExecIf(“PJSIP/Routit2-00000005”, “0?MacroExit()”) in new stack
1371 [2020-10-15 07:41:11] WARNING[30736][C-00000006] chan_sip.c: This function can only be used on SIP channels.
1372 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:12] ExecIf(“PJSIP/Routit2-00000005”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
1373 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:13] ExecIf(“PJSIP/Routit2-00000005”, “0?MacroExit()”) in new stack
1374 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:14] ExecIf(“PJSIP/Routit2-00000005”, “0?Gosub(ext-intercom,*80201,1())”) in new stack
1375 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:15] ExecIf(“PJSIP/Routit2-00000005”, “0?MacroExit()”) in new stack
1376 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:16] ExecIf(“PJSIP/Routit2-00000005”, “0?ChanSpy(SIP/201,q)”) in new stack
1377 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:17] ExecIf(“PJSIP/Routit2-00000005”, “0?MacroExit()”) in new stack
1378 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:18] Gosub(“PJSIP/Routit2-00000005”, “sub-record-check,s,1(exten,201,dontcare)”) in new stack
1379 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/Routit2-00000005”, “0?initialized”) in new stack
1380 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/Routit2-00000005”, “__REC_STATUS=INITIALIZED”) in new stack
1381 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/Routit2-00000005”, “NOW=1602747671”) in new stack
1382 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/Routit2-00000005”, “__DAY=15”) in new stack
1383 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/Routit2-00000005”, “__MONTH=10”) in new stack
1384 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/Routit2-00000005”, “__YEAR=2020”) in new stack
1385 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/Routit2-00000005”, “__TIMESTR=20201015-074111”) in new stack
1386 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/Routit2-00000005”, “__FROMEXTEN=0612345678”) in new stack
1387 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/Routit2-00000005”, “__MON_FMT=wav”) in new stack
1388 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/Routit2-00000005”, “Recordings initialized”) in new stack
1389 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(ARG3=dontcare)”) in new stack
1390 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/Routit2-00000005”, “REC_POLICY_MODE_SAVE=”) in new stack
1391 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(REC_STATUS=NO)”) in new stack
1392 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/Routit2-00000005”, “5?checkaction”) in new stack
1393 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (sub-record-check,s,17)
1394 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/Routit2-00000005”, “1?sub-record-check,exten,1”) in new stack
1395 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (sub-record-check,exten,1)
1396 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:1] NoOp(“PJSIP/Routit2-00000005”, “Exten Recording Check between 0612345678 and 201”) in new stack
1397 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:2] Set(“PJSIP/Routit2-00000005”, “CALLTYPE=external”) in new stack
1398 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:3] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(CALLTYPE=)”) in new stack
1399 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:4] Set(“PJSIP/Routit2-00000005”, “CALLEE=dontcare”) in new stack
1400 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:5] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(CALLEE=dontcare)”) in new stack
1401 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:6] GotoIf(“PJSIP/Routit2-00000005”, “1?callee”) in new stack
1402 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (sub-record-check,exten,11)
1403 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:11] Gosub(“PJSIP/Routit2-00000005”, “recordcheck,1(dontcare,external,201)”) in new stack
1404 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/Routit2-00000005”, “Starting recording check against dontcare”) in new stack
1405 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/Routit2-00000005”, “dontcare”) in new stack
1406 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
1407 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/Routit2-00000005”, “”) in new stack
1408 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [exten@sub-record-check:12] Return(“PJSIP/Routit2-00000005”, “”) in new stack
1409 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:19] GotoIf(“PJSIP/Routit2-00000005”, “1?macrodial”) in new stack
1410 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-exten-vm,s,25)
1411 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:25] GosubIf(“PJSIP/Routit2-00000005”, “0?clrheader,1()”) in new stack
1412 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-exten-vm:26] Macro(“PJSIP/Routit2-00000005”, “dial-one,HhTtr,201”) in new stack
1413 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:1] Set(“PJSIP/Routit2-00000005”, “DEXTEN=201”) in new stack
1414 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:2] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(__EXTTOCALL=201)”) in new stack
1415 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:3] Set(“PJSIP/Routit2-00000005”, “DIALSTATUS_CW=”) in new stack
1416 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:4] GosubIf(“PJSIP/Routit2-00000005”, “0?screen,1()”) in new stack
1417 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:5] GosubIf(“PJSIP/Routit2-00000005”, “0?cf,1()”) in new stack
1418 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:6] GotoIf(“PJSIP/Routit2-00000005”, “1?skip1”) in new stack
1419 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-dial-one,s,9)
1420 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:9] GotoIf(“PJSIP/Routit2-00000005”, “0?nodial”) in new stack
1421 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:10] GotoIf(“PJSIP/Routit2-00000005”, “0?continue”) in new stack
1422 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:11] Set(“PJSIP/Routit2-00000005”, “EXTHASCW=ENABLED”) in new stack
1423 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:12] GotoIf(“PJSIP/Routit2-00000005”, “0?next1:cwinusebusy”) in new stack
1424 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-dial-one,s,24)
1425 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:24] GotoIf(“PJSIP/Routit2-00000005”, “0?next3:continue”) in new stack
1426 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-dial-one,s,26)
1427 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:26] GotoIf(“PJSIP/Routit2-00000005”, “0?nodial”) in new stack
1428 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:27] GosubIf(“PJSIP/Routit2-00000005”, “1?dstring,1():dlocal,1()”) in new stack
1429 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:1] Set(“PJSIP/Routit2-00000005”, “DSTRING=”) in new stack
1430 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:2] Set(“PJSIP/Routit2-00000005”, “DEVICES=201”) in new stack
1431 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf(“PJSIP/Routit2-00000005”, “0?Return()”) in new stack
1432 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(DEVICES=01)”) in new stack
1433 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:5] Set(“PJSIP/Routit2-00000005”, “LOOPCNT=1”) in new stack
1434 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:6] Set(“PJSIP/Routit2-00000005”, “ITER=1”) in new stack
1435 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:7] Set(“PJSIP/Routit2-00000005”, “THISDIAL=SIP/201”) in new stack
1436 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:8] GotoIf(“PJSIP/Routit2-00000005”, “1?docheck”) in new stack
1437 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-dial-one,dstring,14)
1438 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:14] GotoIf(“PJSIP/Routit2-00000005”, “0?skipset”) in new stack
1439 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:15] Set(“PJSIP/Routit2-00000005”, “DSTRING=SIP/201&”) in new stack
1440 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:16] Set(“PJSIP/Routit2-00000005”, “ITER=2”) in new stack
1441 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:17] GotoIf(“PJSIP/Routit2-00000005”, “0?begin”) in new stack
1442 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:18] ExecIf(“PJSIP/Routit2-00000005”, “0?Return()”) in new stack
1443 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:19] Set(“PJSIP/Routit2-00000005”, “DSTRING=SIP/201”) in new stack
1444 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [dstring@macro-dial-one:20] Return(“PJSIP/Routit2-00000005”, “”) in new stack
1445 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:28] GotoIf(“PJSIP/Routit2-00000005”, “0?nodial”) in new stack
1446 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:29] GotoIf(“PJSIP/Routit2-00000005”, “0?skiptrace”) in new stack
1447 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:30] GosubIf(“PJSIP/Routit2-00000005”, “1?ctset,1():ctclear,1()”) in new stack
1448 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [ctset@macro-dial-one:1] Set(“PJSIP/Routit2-00000005”, “DB(CALLTRACE/201)=0612345678”) in new stack
1449 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [ctset@macro-dial-one:2] Return(“PJSIP/Routit2-00000005”, “”) in new stack
1450 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:31] Set(“PJSIP/Routit2-00000005”, “D_OPTIONS=HhTtr”) in new stack
1451 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:32] GosubIf(“PJSIP/Routit2-00000005”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
1452 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:33] NoOp(“PJSIP/Routit2-00000005”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
1453 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:34] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(ALERT_INFO=)”) in new stack
1454 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:35] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(ALERT_INFO=)”) in new stack
1455 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:36] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(ALERT_INFO=)”) in new stack
1456 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:37] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
1457 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:38] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
1458 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:39] GosubIf(“PJSIP/Routit2-00000005”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
1459 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:40] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(CHANNEL(musicclass)=)”) in new stack
1460 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:41] GosubIf(“PJSIP/Routit2-00000005”, “0?qwait,1()”) in new stack
1461 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:42] Set(“PJSIP/Routit2-00000005”, “__CWIGNORE=”) in new stack
1462 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:43] Set(“PJSIP/Routit2-00000005”, “__KEEPCID=TRUE”) in new stack
1463 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:44] GotoIf(“PJSIP/Routit2-00000005”, “0?usegoto,1”) in new stack
1464 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:45] GotoIf(“PJSIP/Routit2-00000005”, “1?godial”) in new stack
1465 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-dial-one,s,50)
1466 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:50] Macro(“PJSIP/Routit2-00000005”, “dialout-one-predial-hook,”) in new stack
1467 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“PJSIP/Routit2-00000005”, “”) in new stack
1468 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:51] ExecIf(“PJSIP/Routit2-00000005”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
1469 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:52] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(CWRING=r(callwaiting)):Set(CWRING=)”) in new stack
1470 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:53] NoOp(“PJSIP/Routit2-00000005”, “”) in new stack
1471 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:54] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(D_OPTIONS=HhtrIg)”) in new stack
1472 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-dial-one:55] Dial(“PJSIP/Routit2-00000005”, “SIP/201,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
1473 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] netsock2.c: Using SIP RTP TOS bits 184
1474 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] netsock2.c: Using SIP RTP CoS mark 5
1475 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] app_stack.c: SIP/201-00000004 Internal Gosub(func-apply-sipheaders,s,1) start
1476 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp(“SIP/201-00000004”, “Applying SIP Headers to channel SIP/201-00000004”) in new stack
1477 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:2] Set(“SIP/201-00000004”, “TECH=SIP”) in new stack
1478 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/201-00000004”, “SIPHEADERKEYS=”) in new stack
1479 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:4] While(“SIP/201-00000004”, “0”) in new stack
1480 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] app_while.c: Jumping to priority 12
1481 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] pbx.c: Executing [s@func-apply-sipheaders:13] Return(“SIP/201-00000004”, “”) in new stack
1482 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] app_stack.c: Spawn extension (from-internal, 201, 1) exited non-zero on ‘SIP/201-00000004’
1483 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] app_stack.c: SIP/201-00000004 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
1484 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] app_dial.c: Called SIP/201
1485 [2020-10-15 07:41:11] VERBOSE[30736][C-00000006] app_dial.c: Connected line update to PJSIP/Routit2-00000005 prevented.
1486 [2020-10-15 07:41:12] VERBOSE[30736][C-00000006] app_dial.c: SIP/201-00000004 is ringing
1487 [2020-10-15 07:41:16] VERBOSE[30736][C-00000006] app_dial.c: Connected line update to PJSIP/Routit2-00000005 prevented.
1488 [2020-10-15 07:41:16] VERBOSE[30736][C-00000006] app_dial.c: SIP/201-00000004 answered PJSIP/Routit2-00000005
1489 [2020-10-15 07:41:16] VERBOSE[30800][C-00000006] bridge_channel.c: Channel SIP/201-00000004 joined ‘simple_bridge’ basic-bridge <337fd005-9916-4d2a-8a20-3bf6e7f69e1c>


(Patrick Kuijt) #4

1490 [2020-10-15 07:41:16] VERBOSE[30736][C-00000006] bridge_channel.c: Channel PJSIP/Routit2-00000005 joined ‘simple_bridge’ basic-bridge <337fd005-9916-4d2a-8a20-3bf6e7f69e1c>
1491 [2020-10-15 07:41:20] VERBOSE[30800][C-00000006] bridge_channel.c: Channel SIP/201-00000004 left ‘simple_bridge’ basic-bridge <337fd005-9916-4d2a-8a20-3bf6e7f69e1c>
1492 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] bridge_channel.c: Channel PJSIP/Routit2-00000005 left ‘simple_bridge’ basic-bridge <337fd005-9916-4d2a-8a20-3bf6e7f69e1c>
1493 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] app_macro.c: Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘PJSIP/Routit2-00000005’ in macro ‘dial-one’
1494 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] app_macro.c: Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘PJSIP/Routit2-00000005’ in macro ‘exten-vm’
1495 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Spawn extension (ext-local, 201, 3) exited non-zero on ‘PJSIP/Routit2-00000005’
1496 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Executing [h@ext-local:1] Macro(“PJSIP/Routit2-00000005”, “hangupcall,”) in new stack
1497 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/Routit2-00000005”, “1?theend”) in new stack
1498 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-hangupcall,s,3)
1499 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/Routit2-00000005”, “0?Set(CDR(recordingfile)=)”) in new stack
1500 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/Routit2-00000005”, "SIP/201-00000004 montior file= ") in new stack
1501 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/Routit2-00000005”, “1?skipagi”) in new stack
1502 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx_builtins.c: Goto (macro-hangupcall,s,7)
1503 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/Routit2-00000005”, “”) in new stack
1504 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/Routit2-00000005’ in macro ‘hangupcall’
1505 [2020-10-15 07:41:20] VERBOSE[30736][C-00000006] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘PJSIP/Routit2-00000005’
1506 [2020-10-15 07:43:54] VERBOSE[2062] res_pjsip_logger.c: <— Received SIP request (942 bytes) from UDP:145.128.246.3:5060 —>
1507 INVITE sip:s@85.107.56.232:5061;line=gutqkmr SIP/2.0
1508 Via: SIP/2.0/UDP 145.128.246.3:5060;branch=z9hG4bK6d1r8q201gklo4hs4vh0.1
1509 From: "0612345678"sip:0612345678@cjvianen.bmp.voipit.nl;user=phone;tag=2007916537-1602747834459-
1510 To: "0712077820 0712077820"sip:712077820@cjvianen.bmp.voipit.nl;line=gutqkmr
1511 Call-ID: BW0943544581510201378655284@172.31.80.205
1512 CSeq: 362516526 INVITE
1513 Contact: sip:0612345678@145.128.246.3:5060;transport=udp
1514 Supported: 100rel
1515 Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE
1516 Recv-Info: x-broadworks-client-session-info
1517 Accept: application/btbc-session-info,application/media_control+xml,application/sdp,multipart/mixed
1518 Max-Forwards: 29
1519 Content-Type: application/sdp
1520 Content-Length: 191
1521
1522 v=0
1523 o=BroadWorks 197971404 1 IN IP4 145.128.246.3
1524 s=-
1525 c=IN IP4 145.128.246.3
1526 t=0 0
1527 m=audio 60300 RTP/AVP 8 110
1528 a=rtpmap:110 telephone-event/8000
1529 a=sendrecv
1530 a=maxptime:20
1531 a=ptime:20
1532
1533 [2020-10-15 07:43:54] VERBOSE[19725] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘85.107.56.232’
1534 [2020-10-15 07:43:54] VERBOSE[19725] res_pjsip_logger.c: <— Transmitting SIP response (442 bytes) to UDP:145.128.246.3:5060 —>
1535 SIP/2.0 100 Trying
1536 Via: SIP/2.0/UDP 145.128.246.3:5060;rport=5060;received=145.128.246.3;branch=z9hG4bK6d1r8q201gklo4hs4vh0.1
1537 Call-ID: BW0943544581510201378655284@172.31.80.205
1538 From: “0612345678” sip:0612345678@cjvianen.bmp.voipit.nl;user=phone;tag=2007916537-1602747834459-
1539 To: “0712077820 0712077820” sip:712077820@cjvianen.bmp.voipit.nl;line=gutqkmr
1540 CSeq: 362516526 INVITE
1541 Server: FPBX-15.0.16.72(16.11.1)
1542 Content-Length: 0
1543


(Lorne Gaetz) #5

Incoming calls arrive without a DID in the SIP INVITE, that’s why you see an s. It’s possible that the provider puts the DID in the SIP To: header, and if so you might see some success by using the trunk context from-pstn-toheader

Here is a To header, is that your DID?


(Patrick Kuijt) #6

When I add 0712077820 0712077820 to the DID a error appears: DID can only be numbers, A-D, * and #. DID may also start with a +. Patterns must begin with an _

I think it has something to do with the space?


#7

With from-pstn-toheader as the context, try 712077820 for the DID. Provider apparently sends it without the leading zero.


(Patrick Kuijt) #8

I changed the context in the pjsip settings to from-pstn-toheader.
Then I changed the DID to 712077820 but that didn’t solve the problem


#9

When you receive a call (with Any DID for the route), what appears in the DID field of the CDRs?


(Patrick Kuijt) #10

It shows only the letter s


(Patrick Kuijt) #11

Hi Stewart, I changed the context again to from-pstn-toheader.
Then I rebooted the Virtual Machine.
That fixed the problem.
The inbound trunk is working correctly.
Thanks for your help.