07-01-2014 05:53 AM - edited 03-16-2019 11:16 PM
Hello,
I'm having problems with LPCOR in a CME 10 with SIP Phones 3905 and 4 FXO connected to PSTN analog lines. I have 14 users that can make calls to local numbers and long distance numbers. The onother users can only make calls between extensions. To provide the facility to managers and supervisors transiting to the factory environment and at any time hold a long distance call from any phone, we have created the LPCOR where only 14 users have a specific code with permission. When the LPCOR is applied to user they cannot make call each others (between extensions). I belevie that has something wrong in the configuration, Does anybody knows if need something more to be configured?
trunk group FXO_OUVIDOR
description ***CALLS LCL & SERV & EMERG***
hunt-scheme longest-idle both
translation-profile outgoing CalledNumber
!
!
trunk group FXO_LPCOR
description ***CALLS LD & INT***
hunt-scheme longest-idle both
lpcor outgoing Trunk-PSTN
translation-profile outgoing CalledNumber
!
voice translation-rule 1
rule 1 /^00800/ /0800/
rule 2 /^00300/ /0300/
rule 3 /^000/ /0015/
rule 4 /^00/ /015/
rule 5 /^0/ //
!
voice translation-rule 2
rule 1 /^11/ //
!
!
voice translation-profile CalledNumber
translate called 1
!
voice translation-profile VoIP-SP
translate called 2
!
voice lpcor enable
voice lpcor custom
group 1 end-user
group 2 Trunk-PSTN
!
voice lpcor policy end-user
service fac
accept end-user fac
accept Trunk-PSTN fac
!
voice lpcor policy Trunk-PSTN
service fac
accept end-user fac
accept Trunk-PSTN fac
!
application
package auth
param max-retries 2
param passwd-prompt flash:enter_pin.au
param term-digit #
param abort-digit *
param user-prompt flash:enter_account.au
param max-digits 32
!
username 525 password 7 <removed>
username 526 password 7 <removed>
username 527 password 7 <removed>
username 528 password 7 <removed>
username 529 password 7 <removed>
username 520 password 7 <removed>
username 521 password 7 <removed>
username 522 password 7 <removed>
username 523 password 7 <removed>
username 520 password 7 <removed>
username 521 password 7 <removed>
username 522 password 7 <removed>
username 523 password 7 <removed>
username 524 password 7 <removed>
!
voice register pool 1
lpcor type local
lpcor incoming end-user
lpcor outgoing end-user
id mac B000.B4D8.XXXX
type 3905
number 1 dn 1
dtmf-relay sip-notify
username user1 password 1234
codec g711ulaw
!
voice register pool 2
lpcor type local
lpcor incoming end-user
lpcor outgoing end-user
id mac B000.B4D8.TTTT
type 3905
number 1 dn 2
dtmf-relay sip-notify
username user2 password 1234
codec g711ulaw
!
voice-port 0/0/0
trunk-group FXO_OUVIDOR
supervisory disconnect dualtone mid-call
no battery-reversal
cptone BR
timeouts call-disconnect 1
timeouts wait-release 3
connection plar xxxx
caller-id enable
!
voice-port 0/0/1
trunk-group FXO_OUVIDOR
supervisory disconnect dualtone mid-call
no battery-reversal
cptone BR
timeouts call-disconnect 1
timeouts wait-release 3
connection plar xxxx
caller-id enable
!
voice-port 0/1/0
trunk-group FXO_LPCOR
supervisory disconnect dualtone mid-call
no battery-reversal
cptone BR
timeouts call-disconnect 1
timeouts wait-release 3
connection plar xxxx
caller-id enable
!
voice-port 0/1/1
trunk-group FXO_LPCOR
supervisory disconnect dualtone mid-call
no battery-reversal
cptone BR
timeouts call-disconnect 1
timeouts wait-release 3
connection plar xxxx
caller-id enable
!
dial-peer voice 10 pots
trunkgroup FXO_OUVIDOR
description LOCAL-FIXO
destination-pattern 0[2-5].......
no digit-strip
!
dial-peer voice 11 pots
trunkgroup FXO_OUVIDOR
description LOCAL-MOBILE
destination-pattern 0[6-9].......
no digit-strip
!
dial-peer voice 12 pots
trunkgroup FXO_LPCOR
description LDL-FIXO
destination-pattern 00..[2-5].......
no digit-strip
!
dial-peer voice 13 pots
trunkgroup FXO_LPCOR
description LDL-MOBILE-8-DIGITS
destination-pattern 00..[6-9].......
no digit-strip
!
dial-peer voice 14 pots
trunkgroup FXO_LPCOR
description LDL-MOBILE-9-DIGITS
destination-pattern 00[12][1-9][6-9].......
no digit-strip
Best regards,
Daniel
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