08-19-2011 02:25 AM - edited 03-16-2019 06:34 AM
Hi All,
I need to configure Pin Code dialing for a customer. I have followed the suggestions from other forum users with the After-Hours Blocking process.
Below is the configuration I have implemented to test with :
-------------------------------------------------------------------------------------
!
!
dial-peer voice 83 pots
corlist outgoing Call-Cellphones
description CellPhone Calls
destination-pattern 0[78][^5].......
port 0/2/0:15
forward-digits all
!
!
telephony-service
<ommited>
login timeout 2
after-hours block pattern 1 0831231234
after-hours day Sun 00:01 23:59
after-hours day Sat 00:01 23:59
after-hours day Mon 00:01 23:59
after-hours day Tue 00:01 23:59
after-hours day Wed 00:01 23:59
after-hours day Thu 00:01 23:59
after-hours day Fri 00:01 23:59
create cnf-files version-stamp 7960 Aug 19 2011 10:58:27
!
!
ephone-template 1
softkeys idle Newcall Login Cfwdall Pickup
!
!
ephone 31
mac-address 0026.CB3C.0D3F
ephone-template 1
type 7911
button 1:31
pin 12345
!
!
-------------------------------------------------------------------------------------
Problem is: I press the Login softket and enter the pin number, then, after I dial the last digit of the blocked pattern number, I get a ringout tone with the following debug :
-------------------------------------------------------------------------------------
Aug 19 09:11:56.866: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 1, ConnectionId 1D3D4CABC97A11E09165C0A27B310858, SetupTime 11:11:53.486 ZA Fri Aug 19 2011, PeerAddress 8031, PeerSubAddress , DisconnectCause 3F , DisconnectText service or option not available unspecified (63), ConnectTime 11:11:56.866 ZA Fri Aug 19 2011, DisconnectTime 11:11:56.866 ZA Fri Aug 19 2011, CallOrigin 2, ChargedUnits 0, InfoType 2, TransmitPackets 0, TransmitBytes 0, ReceivePackets 0, ReceiveBytes 0
-------------------------------------------------------------------------------------
If I remove the block pattern command, the call completes successfully.
Can anyone please assist.
Thanks in advance.
Phil
08-27-2011 12:43 AM
Hi Phil,
I did the same config in my lab and it worked fine .
I only didnt have the corlist config under the dial-peer. Can you tell me what is that corlist you are trying to configure. if there isnt any list, please remove the config and test.
Also with the above config: in that specific time and date, you can only dial 0831231234 , unless and until you are logged in.
To verify if you are logged in. After you press Login soft-key and enter pin 12345:
Issue the command show ephone login to check if the phone is logged in. The output will be as below:
ephone x Pin enabled:local Logged-in:TRUE
Hope the above is informative and below is the resource link for configuring call blocking:
Thanks and Regards
Prashanthi Velpula
09-01-2011 04:45 AM
Thank you for the reply.
I upgraded the IOS to 15.1 so that I could use FAC on CME 8.5.
I used this guide to help me get it working :
https://supportforums.cisco.com/message/3425149
Thanks.
Phil
09-01-2011 10:27 PM
Hi Phil,
Thank you for giving the update with current status. Glad to hear that you were able to get resolution on this issue.
Thanks and Regards
Prashanthi Velpula
10-10-2012 07:32 AM
hi guys,
is anybody succedeed with CME 8.6 with after hours block pattern with COR.
i configured COR and For long distance calls i need to use pin to call so i created
after-hours block pattern 1 900 7-24
then each user i created pin
when i login it is working and showing ephone staus also TRUE but no luck to make LD calls.
is this an issue on cme or anyother way to do it.
i seen some LPcor i didnt understand the concept.
can anybody brief me.
thanks
10-10-2012 08:39 AM
Hi Cyril,
Maybe you are seeing this Restriction;
Note that logging in to a phone with a PIN only allows the user to override call blocking that is associated with particular time periods. ***Blocking patterns that are created with the 7-24 keyword in the after-hours block pattern command are in effect 7 days a week, 24 hours a day, and they cannot be overridden by using a PIN.
So you would need to configure something like Philip did in the original post
after-hours day Sun 00:01 23:59
after-hours day Sat 00:01 23:59
after-hours day Mon 00:01 23:59
after-hours day Tue 00:01 23:59
after-hours day Wed 00:01 23:59
after-hours day Thu 00:01 23:59
after-hours day Fri 00:01 23:59
From this good CME doc;
http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeblock.html
Cheers!
Rob
"May your heart always be joyful
May your song always be sung" - Bob Dylan
10-13-2012 07:41 AM
hi rob,
i am attached my COR config and block pattern
i am going to config this lines only . is this config will work for international call with pin?
trunk group ALL_FXO
!
!
trunk group NIDCO
dial-peer cor custom
name PT-EMERGENCY
name PT-CUSTOMER-CARE
name PT-LOCAL
name PT-NATIONAL
name PT-INTERNATIONAL
name NIDCO-Local
name NIDCO-National
name NIDCO-Intl
!
!
dial-peer cor list CSS-EMERGENCY
member PT-EMERGENCY
!
dial-peer cor list CSS-CUSTOMER-CARE
member PT-CUSTOMER-CARE
!
dial-peer cor list CSS-INTERNATIONAL
member PT-INTERNATIONAL
!
dial-peer cor list CSS-LOCAL
member PT-LOCAL
!
dial-peer cor list CSS-NATIONAL
member PT-NATIONAL
!
dial-peer cor list CSS-USER
member PT-EMERGENCY
member PT-CUSTOMER-CARE
member PT-LOCAL
!
dial-peer cor list CSS-EMPLOYEE
member PT-EMERGENCY
member PT-CUSTOMER-CARE
member PT-LOCAL
member PT-NATIONAL
!
dial-peer cor list CSS-EXECUTIVE
member PT-EMERGENCY
member PT-CUSTOMER-CARE
member PT-LOCAL
member PT-NATIONAL
member PT-INTERNATIONAL
!
dial-peer cor list NIDCO-INTERNATIONAL
member NIDCO-Intl
!
dial-peer cor list NIDCO-LOCAL
member NIDCO-Local
!
dial-peer cor list NIDCO-NATIONAL
member NIDCO-National
!
dial-peer cor list NIDCO-USER
member NIDCO-Local
!
dial-peer cor list NIDCO-EMPLOYEE
member NIDCO-Local
member NIDCO-National
!
dial-peer cor list NIDCO-EXECUTIVE
member NIDCO-Local
member NIDCO-National
member NIDCO-Intl
!
!
dial-peer voice 60 pots
trunkgroup ALL_FXO
corlist outgoing CSS-LOCAL
description LOCAL CALLS
destination-pattern 9[^0678]......
!
dial-peer voice 61 pots
trunkgroup ALL_FXO
corlist outgoing CSS-NATIONAL
description NATIONAL CALLS
destination-pattern 90[2-4].......
prefix 0
!
dial-peer voice 62 pots
trunkgroup ALL_FXO
corlist outgoing CSS-NATIONAL
description NATIONAL CALLS
destination-pattern 90[6-9].......
prefix 0
!
dial-peer voice 63 pots
trunkgroup ALL_FXO
corlist outgoing CSS-NATIONAL
description NATIONAL CALLS
destination-pattern 905[056].......
prefix 05
!
dial-peer voice 64 pots
trunkgroup ALL_FXO
corlist outgoing CSS-CUSTOMER-CARE
description EMERGENCY CALL
destination-pattern 91[0-9].
prefix 1
!
dial-peer voice 65 pots
trunkgroup ALL_FXO
corlist outgoing CSS-CUSTOMER-CARE
description EMERGENCY CALL
destination-pattern 99[9].
prefix 9
!
dial-peer voice 66 pots
trunkgroup ALL_FXO
corlist outgoing CSS-LOCAL
description CUSTOMER CARE
destination-pattern 96[0-9]T
prefix 6
!
dial-peer voice 67 pots
trunkgroup ALL_FXO
corlist outgoing CSS-LOCAL
description CUSTOMER CARE
destination-pattern 98[0-9]T
prefix 8
!
dial-peer voice 68 pots
trunkgroup ALL_FXO
corlist outgoing CSS-LOCAL
description CUSTOMER CARE
destination-pattern 97[0-9]T
prefix 7
!
dial-peer voice 150 pots
trunkgroup ALL_FXO
description ** E1 Incoming Dial Peer **
incoming called-number .
direct-inward-dial
!
dial-peer voice 69 pots
trunkgroup ALL_FXO
corlist outgoing CSS-INTERNATIONAL
description INTERNATIONAL CALL
destination-pattern 900[1-9]T
prefix 00
!
dial-peer voice 2000 voip
description ***Incoming Call from LYNC***
b2bua
session protocol sipv2
session target ipv4:192.168.20.7:5068
session transport tcp
incoming called-number .%
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 2001 voip
tone ringback alert-no-PI
description ***Call to LYNC***
translation-profile outgoing LYNC_ADD_PLUS
destination-pattern 1..
rtp payload-type comfort-noise 13
session protocol sipv2
session target ipv4:192.168.20.7:5068
session transport tcp
dtmf-relay rtp-nte
codec g711ulaw
fax protocol none
!
dial-peer voice 70 pots
trunkgroup NIDCO
corlist outgoing NIDCO-LOCAL
description LOCAL CALLS
destination-pattern 9[^0678]......
!
dial-peer voice 71 pots
trunkgroup NIDCO
corlist outgoing NIDCO-NATIONAL
description NATIONAL CALLS
destination-pattern 90[2-4].......
prefix 0
!
dial-peer voice 72 pots
trunkgroup NIDCO
corlist outgoing NIDCO-NATIONAL
description NATIONAL CALLS
destination-pattern 90[6-9].......
prefix 0
!
dial-peer voice 73 pots
trunkgroup NIDCO
corlist outgoing NIDCO-NATIONAL
description NATIONAL CALLS
destination-pattern 905[056].......
prefix 05
!
dial-peer voice 74 pots
trunkgroup NIDCO
corlist outgoing NIDCO-LOCAL
description EMERGENCY CALL
destination-pattern 91[0-9].
prefix 1
!
dial-peer voice 75 pots
trunkgroup NIDCO
corlist outgoing NIDCO-LOCAL
description EMERGENCY CALL
destination-pattern 99[9].
prefix 9
!
dial-peer voice 76 pots
trunkgroup NIDCO
corlist outgoing NIDCO-LOCAL
description CUSTOMER CARE
destination-pattern 96[0-9]T
prefix 6
!
dial-peer voice 77 pots
trunkgroup NIDCO
corlist outgoing NIDCO-LOCAL
description CUSTOMER CARE
destination-pattern 98[0-9]T
prefix 8
!
dial-peer voice 78 pots
trunkgroup NIDCO
corlist outgoing NIDCO-LOCAL
description CUSTOMER CARE
destination-pattern 97[0-9]T
prefix 7
!
dial-peer voice 79 pots
trunkgroup NIDCO
corlist outgoing NIDCO-INTERNATIONAL
description INTERNATIONAL CALL
destination-pattern 900[1-9]T
prefix 00
telephony-service
max-ephones 42
max-dn 100
ip source-address 10.1.1.1 port 2000
after-hours block pattern 1 900
after-hours day Sun 00:01 23:59
after-hours day Sat 00:01 23:59
after-hours day Mon 00:01 23:59
after-hours day Tue 00:01 23:59
after-hours day Wed 00:01 23:59
after-hours day Thu 00:01 23:59
after-hours day Fri 00:01 23:59
ephone-dn 11 dual-line
number 201 no-reg primary
pickup-group 1
label 201
description 201
name 201
corlist incoming CSS-EMPLOYEE
hold-alert 15
ephone 1
mac-address 2C36.F859.497E
type 7911
button 1:11
pin 2580
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide