-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 13
-
Component/s: Class of Service (Commercial)
-
Labels:None
-
Bug Tracker:QA Testing
-
Distro Version:13,14
-
Distro:FreePBX Distro
Created a class of service included an extension under it and denied the Contact Manager Sped Dials *10 option and dialed *10XX(*10speeddial prefix) but the COS allows to dial and connects to destination. Attached Call log for reference.
- Executing [*1011@from-internal:1] Answer("SIP/1992-00000035", "") in new stack
> 0x7ff7cc0910c0 -- Probation passed - setting RTP source address to 192.168.3.132:12112
-- Executing [*1011@from-internal:2] Macro("SIP/1992-00000035", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1992-00000035", "TOUCH_MONITOR=1500025947.244") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/1992-00000035", "AMPUSER=1992") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/1992-00000035", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/1992-00000035", "1?Set(__REALCALLERIDNUM=1992)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1992-00000035", "AMPUSER=1992") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1992-00000035", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1992-00000035", "AMPUSERCIDNAME=Sandesh 1992") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/1992-00000035", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/1992-00000035", "AMPUSERCID=1992") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/1992-00000035", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1992-00000035", "CALLERID(all)="Sandesh 1992" <1992>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1992-00000035", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/1992-00000035", "0?Set(GROUP(concurrency_limit)=1992)") in new stack
-- Executing [s@macro-user-callerid:14] GosubIf("SIP/1992-00000035", "7?sub-ccss,s,1(from-internal,*1011)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/1992-00000035", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/1992-00000035", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/1992-00000035", "0?monitor_config,1(from-internal,*1011):monitor_default,1(from-internal,*1011)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1992-00000035", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1992-00000035", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("SIP/1992-00000035", "FALSE") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("SIP/1992-00000035", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/1992-00000035", "0?continue") in new stack
-- Executing [s@macro-user-callerid:17] ExecIf("SIP/1992-00000035", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:18] Set("SIP/1992-00000035", "__TTL=6") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("SIP/1992-00000035", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("SIP/1992-00000035", "CALLERID(number)=1992") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/1992-00000035", "CALLERID(name)=Sandesh 1992") in new stack
-- Executing [s@macro-user-callerid:32] GotoIf("SIP/1992-00000035", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/1992-00000035", "CDR(cnam)=Sandesh 1992") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/1992-00000035", "CDR(cnum)=1992") in new stack
-- Executing [s@macro-user-callerid:35] Set("SIP/1992-00000035", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-user-callerid:36] ExecIf("SIP/1992-00000035", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:37] GosubIf("SIP/1992-00000035", "0?app-check-classofservce,s,1()") in new stack
-- Executing [*1011@from-internal:3] GotoIf("SIP/1992-00000035", "1?from-internal,4011,1") in new stack
-- Goto (from-internal,4011,1)
-- Executing [4011@from-internal:1] Macro("SIP/1992-00000035", "user-callerid,LIMIT") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1992-00000035", "TOUCH_MONITOR=1500025947.244") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/1992-00000035", "AMPUSER=1992") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/1992-00000035", "12?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/1992-00000035", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("SIP/1992-00000035", "CALLERID(number)=1992") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/1992-00000035", "CALLERID(name)=Sandesh 1992") in new stack
-- Executing [s@macro-user-callerid:32] GotoIf("SIP/1992-00000035", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/1992-00000035", "CDR(cnam)=Sandesh 1992") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/1992-00000035", "CDR(cnum)=1992") in new stack
-- Executing [s@macro-user-callerid:35] Set("SIP/1992-00000035", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-user-callerid:36] ExecIf("SIP/1992-00000035", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:37] GosubIf("SIP/1992-00000035", "0?app-check-classofservce,s,1()") in new stack
-- Executing [4011@from-internal:2] Set("SIP/1992-00000035", "ROUTEUSER=1992") in new stack
-- Executing [4011@from-internal:3] Set("SIP/1992-00000035", "ROUTEUSER=1992") in new stack
-- Executing [4011@from-internal:4] GotoIf("SIP/1992-00000035", "1?notblind") in new stack
-- Goto (from-internal,4011,7)
-- Executing [4011@from-internal:7] GotoIf("SIP/1992-00000035", "1?restrictedroute-0639c93e59002417686fd46382dd11f5,4011,2:outbound-allroutes,4011,2") in new stack
-- Goto (restrictedroute-0639c93e59002417686fd46382dd11f5,4011,2)
-- Executing [4011@restrictedroute-0639c93e59002417686fd46382dd11f5:2] Gosub("SIP/1992-00000035", "sub-record-check,s,1(out,4011,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/1992-00000035", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/1992-00000035", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/1992-00000035", "NOW=1500025947") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/1992-00000035", "__DAY=14") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/1992-00000035", "__MONTH=07") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/1992-00000035", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/1992-00000035", "__TIMESTR=20170714-152227") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/1992-00000035", "__FROMEXTEN=1992") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/1992-00000035", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/1992-00000035", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/1992-00000035", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/1992-00000035", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/1992-00000035", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/1992-00000035", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/1992-00000035", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/1992-00000035", "Outbound Recording Check from 1992 to 4011") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/1992-00000035", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/1992-00000035", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("SIP/1992-00000035", "recordcheck,1(dontcare,out,4011)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/1992-00000035", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/1992-00000035", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/1992-00000035", "") in new stack
-- Executing [out@sub-record-check:8] Return("SIP/1992-00000035", "") in new stack
-- Executing [4011@restrictedroute-0639c93e59002417686fd46382dd11f5:3] ExecIf("SIP/1992-00000035", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [4011@restrictedroute-0639c93e59002417686fd46382dd11f5:4] Set("SIP/1992-00000035", "MOHCLASS=sandtestmoh") in new stack
-- Executing [4011@restrictedroute-0639c93e59002417686fd46382dd11f5:5] Set("SIP/1992-00000035", "_NODEST=") in new stack
-- Executing [4011@restrictedroute-0639c93e59002417686fd46382dd11f5:6] Macro("SIP/1992-00000035", "dialout-trunk,1,4011,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1992-00000035", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1992-00000035", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1992-00000035", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1992-00000035", "DIAL_NUMBER=4011") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1992-00000035", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1992-00000035", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1992-00000035", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1992-00000035", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1992-00000035", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1992-00000035", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1992-00000035", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1992-00000035", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:3] ExecIf("SIP/1992-00000035", "0?Set(REALCALLERIDNUM=1992)") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/1992-00000035", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1992-00000035", "USEROUTCID="testsand" <212121>") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1992-00000035", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] Set("SIP/1992-00000035", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/1992-00000035", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1992-00000035", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1992-00000035", "1?Set(CALLERID(all)="testsand" <212121>)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1992-00000035", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:18] ExecIf("SIP/1992-00000035", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/1992-00000035", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:20] ExecIf("SIP/1992-00000035", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("SIP/1992-00000035", "CDR(outbound_cnum)=212121") in new stack
-- Executing [s@macro-outbound-callerid:22] Set("SIP/1992-00000035", "CDR(outbound_cnam)=testsand") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1992-00000035", "1?sub-flp-1,s,1()") in new stack
-- Executing [s@sub-flp-1:1] ExecIf("SIP/1992-00000035", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1992-00000035", "OUTNUM=4011") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1992-00000035", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1992-00000035", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^sandtestmoh)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1992-00000035", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^sandtestmoh)TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/1992-00000035", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1992-00000035", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1992-00000035", "0?skipcrm") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("SIP/1992-00000035", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [s@macro-dialout-trunk:20] Set("SIP/1992-00000035", "__CRM_DESTINATION=4011") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("SIP/1992-00000035", "__CRM_SOURCE=1992") in new stack
-- Executing [s@macro-dialout-trunk:22] AGI("SIP/1992-00000035", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
sangomacrm.agi: LINKEDID: 1500025947.244
sangomacrm.agi: SOURCE: 1992
sangomacrm.agi: DESTINATION: 4011
sangomacrm.agi: DIRECTION: OUTBOUND
sangomacrm.agi: EXTTOCALL:
sangomacrm.agi: START
sangomacrm.agi: SCRIPT: php /var/www/html/admin/modules/sangomacrm/importOne.php 'eyJ1dWlkIjoiMTUwMDAyNTk0Ny4yNDQiLCJzb3VyY2UiOiIxOTkyIiwiZGVzdGluYXRpb24iOiI0MDExIiwiZGlyZWN0aW9uIjoiT1VUQk9VTkQiLCJ0eXBlIjoiU1RBUlQiLCJ6dWx1X3R5cGUiOiIiLCJleHR0b2NhbGwiOiIiLCJjbnVtIjoiMjEyMTIxIiwiY25hbSI6InRlc3RzYW5kIiwiY2FsbHBvcCI6ZmFsc2UsInZvaWNlbWFpbCI6IiJ9' > /dev/null 2>&1 &
-- <SIP/1992-00000035>AGI Script sangomacrm.agi completed, returning 0
-- Executing [s@macro-dialout-trunk:23] Set("SIP/1992-00000035", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [s@macro-dialout-trunk:24] NoOp("SIP/1992-00000035", "CRM Finished") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/1992-00000035", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:26] ExecIf("SIP/1992-00000035", "1?Set(CONNECTEDLINE(num,i)=4011)") in new stack
-- Executing [s@macro-dialout-trunk:27] ExecIf("SIP/1992-00000035", "1?Set(CONNECTEDLINE(name,i)=CID:212121)") in new stack
-- Executing [s@macro-dialout-trunk:28] ExecIf("SIP/1992-00000035", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)212121)") in new stack
-- Executing [s@macro-dialout-trunk:29] GotoIf("SIP/1992-00000035", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:30] Dial("SIP/1992-00000035", "PJSIP/4011@pjsiptrunk,300,M(setmusic^sandtestmoh)T") in new stack
-- Called PJSIP/4011@pjsiptrunk
> 0x7ff7cc0910c0 -- Probation passed - setting RTP source address to 192.168.3.132:12112
-- PJSIP/pjsiptrunk-00000008 is ringing
-- PJSIP/pjsiptrunk-00000008 is ringing
== Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'SIP/1992-00000035' in macro 'dialout-trunk'
== Spawn extension (restrictedroute-0639c93e59002417686fd46382dd11f5, 4011, 6) exited non-zero on 'SIP/1992-00000035'
-- Executing [h@restrictedroute-0639c93e59002417686fd46382dd11f5:1] Hangup("SIP/1992-00000035", "") in new stack
== Spawn extension (restrictedroute-0639c93e59002417686fd46382dd11f5, h, 1) exited non-zero on 'SIP/1992-00000035'
-- SIP/1992-00000035 Internal Gosub(crm-hangup,s,1) start
-- Executing [s@crm-hangup:1] NoOp("SIP/1992-00000035", "Sending Hangup to CRM") in new stack
-- Executing [s@crm-hangup:2] NoOp("SIP/1992-00000035", "HANGUP CAUSE: 16") in new stack
-- Executing [s@crm-hangup:3] ExecIf("SIP/1992-00000035", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [s@crm-hangup:4] NoOp("SIP/1992-00000035", "MASTER CHANNEL: 1500025947.244 = 1500025947.244") in new stack
-- Executing [s@crm-hangup:5] GotoIf("SIP/1992-00000035", "0?return") in new stack
-- Executing [s@crm-hangup:6] Set("SIP/1992-00000035", "__CRM_HANGUP=1") in new stack
-- Executing [s@crm-hangup:7] AGI("SIP/1992-00000035", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
sangomacrm.agi: LINKEDID: 1500025947.244
sangomacrm.agi: SOURCE: 1992
sangomacrm.agi: DESTINATION: 4011
sangomacrm.agi: DIRECTION: OUTBOUND
sangomacrm.agi: EXTTOCALL:
sangomacrm.agi: START
sangomacrm.agi: SCRIPT: php /var/www/html/admin/modules/sangomacrm/importOne.php 'eyJ1dWlkIjoiMTUwMDAyNTk0Ny4yNDQiLCJzb3VyY2UiOiIxOTkyIiwiZGVzdGluYXRpb24iOiI0MDExIiwiZGlyZWN0aW9uIjoiT1VUQk9VTkQiLCJ0eXBlIjoiRU5EIiwienVsdV90eXBlIjoiIiwiZXh0dG9jYWxsIjoiIiwiY251bSI6IjIxMjEyMSIsImNuYW0iOiJ0ZXN0c2FuZCIsImNhbGxwb3AiOmZhbHNlLCJ2b2ljZW1haWwiOiIifQ==' > /dev/null 2>&1 &
-- <SIP/1992-00000035>AGI Script sangomacrm.agi completed, returning 0
-- Executing [s@crm-hangup:8] Return("SIP/1992-00000035", "") in new stack
== Spawn extension (restrictedroute-0639c93e59002417686fd46382dd11f5, h, 1) exited non-zero on 'SIP/1992-00000035'
-- SIP/1992-00000035 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
- relates to
-
FREEPBX-15378 Class of service Deny feature code option for Park to your Assigned Lot, Force park into Private Lot and Pickup Parked Call prefix are not working.
-
- Closed
-