I have a PRI30 (on line group 0) and client wishes to restrict international dialing with a code.
I thought force account code on a System Account code would work, I setup the code International with CLI = 10777.
I have setup system wide shortcodes of 9N, N, to an ARS (Main) that has call bar on 00 (this is the general users call bar) to block all general calls to international numbers, this is working OK.
I then created a second ARS (called International), and for specific users setup user short codes of Code = 9N, Number = N, to International ARS.
On the International ARS I have:
Code = 0N; Number = 0N, Feature=Dial, Line Group ID = 0 (Force Account Code = Disabled)
Code = 00N; Number = 00N, Feature=Dial, Line Group ID = 0, Force Account Code = Enabled
But this doesn't work, it seems the account code (10777) is being added to the dialed number (00447973100240), log snip below:
If I remove the Force Account Code tick box it works OK - I have included the full log below, any idea what I am doing wrong please?
I thought force account code on a System Account code would work, I setup the code International with CLI = 10777.
I have setup system wide shortcodes of 9N, N, to an ARS (Main) that has call bar on 00 (this is the general users call bar) to block all general calls to international numbers, this is working OK.
I then created a second ARS (called International), and for specific users setup user short codes of Code = 9N, Number = N, to International ARS.
On the International ARS I have:
Code = 0N; Number = 0N, Feature=Dial, Line Group ID = 0 (Force Account Code = Disabled)
Code = 00N; Number = 00N, Feature=Dial, Line Group ID = 0, Force Account Code = Enabled
But this doesn't work, it seems the account code (10777) is being added to the dialed number (00447973100240), log snip below:
Code:
18:02:53 146236mS CD: CALL: 345.1003.0 BState=Disconnecting Cut=3 Music=0.0 Aend="Cp JackSparrow(795)" (0.0) Bend="" [] (0.0) CalledNum=90044797310024010777 () CallingNum=795 (Cp JackSparrow) Internal=1 Time=49367 AState=Disconnecting
If I remove the Force Account Code tick box it works OK - I have included the full log below, any idea what I am doing wrong please?
Code:
18:02:12 105825mS CMARS: FORM: Main - Received Number: 05538
18:02:12 105825mS CMARS: CMARSTargetingPending
18:02:13 106162mS CMARS: Case 1 - dial_delay_time: 3000 has expired - Resolve what we might have - Called Number: 00447973100240 Addr: f482d7a8
18:02:13 106162mS CMARS: FORM: International - Received Number: 00447973100240
18:02:13 106162mS CMARS: FOUND A SHORT CODE - short_code: 00N; - Tel: 00N - Called_Party: 00447973100240 - Line Group Id: 0
18:02:13 106163mS CMARS: FindActiveARSByGroupID GroupID=0 - Not Found
18:02:13 106163mS CMLRQ: FindActiveLRQByGroupID GroupID=0 - Not Found
18:02:13 106163mS CMMap: a=0.1 b=0.0 Mapper::AllocateCodec allocated CMRTVocoder resource busy 1, total 32
18:02:13 106163mS CMCallEvt: 0.1009.0 -1 BaseEP: NEW CMEndpoint f481f660 TOTAL NOW=5 CALL_LIST=2
18:02:13 106164mS CMARS: FOUND LINE - Line Id: 1 - using line group id: 0 - Called Number: 00447973100240 - Calling Number: 795
18:02:13 106164mS CMARS: SEND Setup TO LINE
18:02:13 106165mS CMCallEvt: 0.1009.0 1 Q931 Trunk:1 CHAN=-1: StateChange: END=child CMCSIdle->CMCSOffering
18:02:13 106165mS CMLineTx: v=1
CMSetup
Line: type=Q931Line 1 Call: lid=0 id=1009 in=0
Called[] Type=Unknown (0) Reason=CMDRdirect Calling[045034795] Type=Unknown Plan=Default
BC: CMTC=Speech CMTM=Circuit CMTR=64 CMST=Default CMU1=ALaw
Locale: aru
18:02:13 106166mS CD: CALL: 345.1003.0 BState=Idle Cut=2 Music=0.0 Aend="Cp JackSparrow(795)" (0.0) Bend="" [Line 1] (0.0) CalledNum=900447973100240 () CallingNum=795 (Cp JackSparrow) Internal=1 Time=9297 AState=Dialling
18:02:13 106246mS CMExtnTx: v=795, p1=0
CMProgress
Line: type=IPLine 250 Call: lid=345 id=1003 in=0
IE CMIEProgressIndicator (30) cs=CMCSITUT (0), loc=CMLUser (0), pd=CMPDInbandPattern (8)
Display [ENTER ACCOUNT]
Timed: 19/08/14 18:02
18:02:13 106246mS CD: CALL: 345.1003.0 BState=Ringing Cut=3 Music=0.0 Aend="Cp JackSparrow(795)" (0.0) Bend="" [Line 1] (0.0) CalledNum=900447973100240 () CallingNum=795 (Cp JackSparrow) Internal=1 Time=9377 AState=Ringing
18:02:13 106248mS CMMap: a=21.11 b=0.0 DTMF::AllocateRAS allocated CMRTVoicemail resource busy 2, total 45
18:02:13 106248mS CMMap: a=21.11 b=1.65535 T
18:02:13 106248mS CMMap: PCG::MapBChan pcp[119]b0r1 cp_b f5470a88 other_cp_b f5462ea8 type CGTypeDTMF
18:02:13 106248mS CMMap: a=21.11 b=0.1 M22
18:02:13 106248mS CMMap: PlatformConnectionAudioSAP::Bind pcp[119]b0r1 to 0.1
18:02:13 106248mS CMMap: PlatformConnectionAudioSAP::ConnectVoice pcp[119]b0r1 Configure 0.1
18:02:13 106249mS CMMap: PlatformConnectionAudioSAP::ConnectVoice pcp[119]b0r1 ConnectIndication 0.1
18:02:13 106249mS H323Evt: SetOperational 1 10.0.50.4:49152 to 1
18:02:13 106249mS CMMap: DTMF::PlayTones g A[11] ,W,,,,,,,,
18:02:13 106383mS PRN: 858: Digit Pressed 2
18:02:23 116233mS ISDNL3Evt: v=1 stacknum=1 State, new=DiscInd, old=OverlapSend id=1009
18:02:23 116234mS CMLineRx: v=1
CMDisconnect
Line: type=Q931Line 1 Call: lid=0 id=1009 in=0
IE CMIEProgressIndicator (30) cs=CMCSITUT (0), loc=CMLPublicNetLocalUser (2), pd=CMPDInbandPattern (8)
Cause=21, Call rejected
18:02:23 116234mS CMARS: LINE ep Received: CMDisconnect - child->state = CMCSRinging - ARS Call State = CMCSAccept
18:02:23 116234mS CMCallEvt: 0.1005.0 1 ARS for International: StateChange: END=B CMCSAccept->CMCSDisconnecting
18:02:23 116235mS CMCallEvt: 345.1003.0 1 Cp JackSparrow.0: StateChange: END=A CMCSRingBack->CMCSICDisconnecting
18:02:23 116235mS CMExtnEvt: v=87 State, new=CMESCompleted old=Alerting,0,0,Cp JackSparrow
18:02:23 116236mS CMExtnTx: v=795, p1=0
CMDisconnect
Line: type=IPLine 250 Call: lid=345 id=1003 in=0
IE CMIEProgressIndicator (30) cs=CMCSITUT (0), loc=CMLPublicNetLocalUser (2), pd=CMPDInbandPattern (8)
IE CMIERespondingPartyNumber (230)(P:100 S:100 T:0 N:100 R:4) number=900447973100240
IE CMIEDeviceDetail (231) LOCALE=aru HW=15 VER=9 class=CMDeviceISDNTrunk type=0 number=1 channel=1 features=0x1 rx_gain=32 tx_gain=32 ep_callid=1009 ipaddr=10.0.50.4 apps=0 loc=0 em_loc=0 features2=0x0
Cause=21, Call rejected
Timed: 19/08/14 18:02
18:02:23 116236mS CD: CALL: 345.1003.0 BState=Disconnecting Cut=3 Music=0.0 Aend="Cp JackSparrow(795)" (0.0) Bend="" [Line 1] (0.0) CalledNum=90044797310024010777 () CallingNum=795 (Cp JackSparrow) Internal=1 Time=19367 AState=Disconnecting
18:02:23 116554mS RES: Tue 19/8/2014 18:02:23 FreeMem=48219112 47889976(1) CachedMem=329136 CMMsg=6(6) Buff=5200 1361 989 7419 5 Links=23806 BTree=12806 CPU=03.53% CPUStats=1/4/5901/19966/591628/0/0 MCR=0 MCW=0
18:02:23 116554mS RES2: IP 500 V2 9.0.3.0 build 941 Tasks=49 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=177 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=2 SSA=1 TCP=257(TLS=4) TAPI=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
18:02:23 116554mS RES4: XML MemObjs=61 PoolMem=2097152(1) FreeMem=2081872(1)
18:02:52 145586mS H323Evt: Recv: RegistrationRequest 10.0.50.144; Endpoints registered: 120; Endpoints in registration: 0
18:02:53 146235mS CMCallEvt: 0.1005.0 1 ARS for International: TimerExpired State=CMCSDisconnecting
18:02:53 146235mS CMARS: 0.1005.0 1 ARS for International: DropCall() - ABOUT TO SEND CMReleaseComp
18:02:53 146236mS CMLOGGING: CALL:2014/08/1918:02,00:00:39,000,795,O,90044797310024010777,900447973100240,DavidMiles,,,1,,""n/a,0
18:02:53 146236mS CD: CALL: 345.1003.0 BState=Disconnecting Cut=3 Music=0.0 Aend="Cp JackSparrow(795)" (0.0) Bend="" [] (0.0) CalledNum=90044797310024010777 () CallingNum=795 (Cp JackSparrow) Internal=1 Time=49367 AState=Disconnecting
18:02:53 146236mS CD: CALL: 345.1003.0 Deleted
18:02:53 146239mS CMExtnEvt: Cp JackSparrow: CALL LOST (CMCauseCallRejected)
18:02:53 146239mS CMExtnEvt: Cp JackSparrow: Extn(795) Calling Party Number(795) Type(CMNTypeInternal)
18:02:53 146239mS CMCallEvt: 345.1003.0 -1 Cp JackSparrow.0: StateChange: END=X CMCSICDisconnecting->CMCSCompleted
18:02:53 146240mS CMExtnTx: v=795, p1=0
CMFacility
Line: type=IPLine 250 Call: lid=345 id=1003 in=0
IE CMIEFastStartInfoData (6) 2 item(s)
Timed: 19/08/14 18:02