Wednesday, 9 April 2014

Configure FAC on Your CME Router



Download audio files



upload to your router

2901#show flash | i enter
248      23660 Dec 18 2013 17:55:00 +08:00 enter_account.au
249      24164 Dec 18 2013 17:55:20 +08:00 enter_pin.au

Configure the following

AAA
aaa new-model
aaa authentication login default local
aaa authentication login h323 local
aaa authorization exec h323 local
aaa authorization network h323 local

aaa session-id common
gw-accounting aaa

create LPCOR for end-user AND PSTNTrunk
voice lpcor enable
voice lpcor custom
group 10 end-users
group 11 PSTNTrunk
!
voice lpcor policy end-users
service fac
accept end-users fac
accept PSTNTrunk fac
!
voice lpcor policy PSTNTrunk
service fac
accept end-users fac
accept PSTNTrunk fac
\

Create FAC script
application
package auth
  param passwd-prompt flash:enter_pin.au
  param max-retries 0
  param user-prompt flash:enter_account.au
  param term-digit #
  param passwd 12345
  (optional)
  param abort-digit *
  param max-digits 32

configure PIN number
username 666 password 0 12345


configure ur phones

configure for SCCP phones
ephone 1
 button 1:1
 lpcor type local
 lpcor incoming


configure SIP phones
voice register pool  1
 lpcor type local
 lpcor incoming end-users











Dial-peer

Assign your configure to pots dp

trunk group  SZ-E1
hunt-scheme least-idle
trunk group lpcor outgoing PSTNTrunk
controller E1 0/0/0
framing NO-CRC4
 trunk-group SZ-E1 timeslots 1
!
dial-peer voice 4 pots
trunkgroup SZ-E1
description International calls
destination-pattern 900T
prefix 00

NOTEif port is already configured under the dialpeer, such as port 0/0/0:15please delete port first then configure trunkgroup. Ohterwise there will be an ERROR: voice port exists



assgin your configuration to voip dp

dial-peer voice 2000 voip
destination-pattern 900T
lpcor outgoing PSTNTrunk
no vad


after matching dp promot will remainder you to enable account number : 666# and pin number: 12345#
if any thing miss entered, your call hangs up.

4 comments:

  1. NOTE:if port is already configured under the dialpeer, such as port 0/0/0:15,please delete port first then configure trunkgroup. Ohterwise there will be an ERROR: voice port exists:

    How will dial peer route call without port.??

    ReplyDelete
  2. Hello Colin,
    you config works perfectly on my CME router. My CME router is running on SIP for outbound PSTN International call. but I can't capture lpcor userID in my syslog server.
    Your input is highly appreciated

    Best regards
    Brian

    ReplyDelete
    Replies
    1. Hello Colin,

      I didn't enable trunk group as I didn't use E1. The rest of the config I follow exactly. Thanks in advanced for your help.

      Delete