cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1309
Views
0
Helpful
5
Replies

FAC LPCOR IS NOT WORKING IN CME SIP PHONES

lajan jaleel
Level 1
Level 1

Dear Team,

 

We are planning to put FAC on SIP (7821) phones for calling long distance.

CME version is 10.0

Please find the config


gw-accounting aaa
aaa new-model
!         
!
aaa authentication login h323 local
aaa authorization exec h323 local 
aaa authorization network h323 local 
!
!
!
!
!
aaa session-id common


voice register global
 mode  cme
 source-address 10.X.X.X port 5060
 timeouts interdigit 5
 max-dn 500
 max-pool 475
 load 7821 sip78xx.10-2-1-12
 authenticate register
 authenticate realm router.local
 timezone 35
 tftp-path flash:
 create profile sync 0003478159444525


voice lpcor enable
voice lpcor custom
 group 1 national-FAC
!         
voice lpcor policy national-FAC
 service fac
 accept national-FAC fac

application
 package auth
  param max-retries 0
  param passwd-prompt flash0:/enter_pin.au
  param abort-digit *
  param user-prompt flash0:/enter_account.au
  param passwd 12345
  param term-digit #
  param max-digits 32
 !
username 1111 password 7 1446435A5D

 


voice register pool  2
 lpcor type local
 lpcor incoming national-FAC
 lpcor outgoing national-FAC
 busy-trigger-per-button 1
 id mac F09E.636F.0F4B
 type 7821
 number 1 dn 2
 template 1
 cor incoming NATIONALACCESS 1 3002
 dtmf-relay rtp-nte sip-notify
 username user2 password cisco
 codec g711ulaw

voice register dn  2
 number 3002
 call-forward b2bua noan 5000 timeout 20
 allow watch
 name 3002
 label 3002

!

dial-peer voice 117 voip
 destination-pattern 905[0256].......$
 lpcor outgoing national-FAC
 session protocol sipv2
 session target ipv4:10.X.X.X
 incoming called-number .
 codec g711ulaw
 no vad

!

 label 3004
CME#dir flash:
Directory of flash0:/

    1  -rw-    96910452  Oct 21 2014 03:35:18 +04:00  c3900e-universalk9-mz.SPA.153-3.M3.bin
    2  -rw-        3064  Oct 21 2014 03:49:06 +04:00  cpconfig-39xx.cfg
    3  drw-           0  Nov 12 2014 14:09:54 +04:00  its
   14  drw-           0  Nov 12 2014 15:16:46 +04:00  GUI
   32  drw-           0  Oct 21 2014 03:49:32 +04:00  ccpexp
  273  -rw-        2464  Oct 21 2014 03:51:18 +04:00  home.shtml
  274  -rw-      116608  Nov 12 2014 15:10:32 +04:00  CME-GUI.rar
  275  -rw-     3090800  Nov 12 2014 16:35:04 +04:00  kern78xx.10-2-1-12.sbn
  276  -rw-    36307280  Nov 12 2014 16:36:00 +04:00  rootfs78xx.10-2-1-12.sbn
  277  -rw-      364072  Nov 12 2014 16:36:10 +04:00  sboot78xx.10-2-1-12.sbn
  278  -rw-        1228  Nov 12 2014 16:36:32 +04:00  sip78xx.10-2-1-12.loads
  279  -rw-      496521  Nov 12 2014 17:01:40 +04:00  music-on-hold.au
  280  -rw-       23660  Nov 19 2014 14:48:40 +04:00  enter_account.au
  281  -rw-       24164  Nov 19 2014 14:48:48 +04:00  enter_pin.au

261324800 bytes total (120594432 bytes free)

But when ever iam trying mobile calls call is disconnecting. please find the debugs

Nov 19 20:04:34.661: //-1/xxxxxxxxxxxx/LPCOR/lpcor_get_index_by_peer:
   peer tag 40001, direction 0
Nov 19 20:04:34.661: //-1/xxxxxxxxxxxx/LPCOR/lpcor_get_index_by_name:
   lpcor International-FAC
Nov 19 20:04:34.661: //-1/xxxxxxxxxxxx/LPCOR/lpcor_get_index_by_name:
   lpcor International-FAC index 1
Nov 19 20:04:34.661: //-1/xxxxxxxxxxxx/LPCOR/lpcor_get_index_by_peer:
   Return Lpcor Index 1 for Peer Tag 40001
DAMAC_AKOYA-CME#
Nov 19 20:04:39.225: //-1/xxxxxxxxxxxx/LPCOR/lpcor_get_index_by_name:
   lpcor International-FAC
Nov 19 20:04:39.225: //-1/xxxxxxxxxxxx/LPCOR/lpcor_get_index_by_name:
   lpcor International-FAC index 1
Nov 19 20:04:39.225: //-1/xxxxxxxxxxxx/LPCOR/lpcor_index_is_valid:
   lpcor index 1 is valid
Nov 19 20:04:39.225: //-1/xxxxxxxxxxxx/LPCOR/lpcor_policy_validate_internal:
   Source LPCOR Index=1, Target LPCOR Policy=International-FAC

Nov 19 20:04:39.225: -Traceback= 19E34D6z 581A4DCz 581AC7Fz 55B3588z 55B3063z 55AEA34z 55B6A53z 55B7255z 55B649Bz 55F5AF5z 5583EEFz 55894B6z 5589734z 55F5AF5z 558A44Az 55CF04Ez
DAMAC_AKOYA-CME#
Nov 19 20:04:39.225: //-1/xxxxxxxxxxxx/LPCOR/lpcor_policy_validate_internal:
   Validate Pass; lpcor (source[1] target[1])
Nov 19 20:04:39.225: //-1/xxxxxxxxxxxx/LPCOR/lpcor_policy_validate_get_service:
   FAC is enabled; lpcor (source[1] target[1])

 

 

Please advise. If iam missing any steps in this.

 

Thanks,

LAJAN JALEEL

5 Replies 5

Amit Kumar
Cisco Employee
Cisco Employee

Hello Lajan,

 

I guess, the  LPCOR policy applied in dial-peer, do not exists in configuration:

 

dial-peer voice 117 voip
 destination-pattern 905[0256].......$
 lpcor outgoing national-FAC
 session protocol sipv2
 session target ipv4:10.X.X.X
 incoming called-number .
 codec g711ulaw
 no vad

!

As per configuration snip pasted above, and what applied in voice register pool it should be, International-FAC

 

 

voice register pool  2
 lpcor type local
 lpcor incoming International-FAC
 lpcor outgoing International-FAC

It should work, after updating correct policy on dial-peer.

 

Thanks,

Amit

Dear Amit,

 

Thanks for your reply.

 

That was a mistake while pasting the config.

voice register pool  2
 lpcor type local
 lpcor incoming national-FAC
 lpcor outgoing national-FAC
 busy-trigger-per-button 1
 id mac F09E.636F.0F4B
 type 7821

|This is the real config. this config is not working.

 

Kindly advise.

Thanks

Hi ,

 

It should be lpcor incoming , tag should be exactly same what you have configured while defining LPCOR policy:

 

if this is real config for lpcor policy:

 

voice lpcor policy International-FAC
 service fac
 accept national-FAC fac

 

then both dial-peer and voice register pool should be having same TAG, which is " International-FAC"

 

if that's same and still its failing, then please collect below said debug in addition to what you have collected already:

 

debug voip application auth

 

Thanks,

Amit

Dear Amit,

 

Will try the same and update.

So that means iam not missing any steps right? What ever i was doing is right only some things needs to be changed right?

 

Thanks,

Dear Amit,

The configuration is working fine. We find out what is the exact issue.

*****Issue******

Debug voice application auth was giving an out put that 

user prompt url is not found , Even though the exact directory was there under flash0:

CME#dir flash:
Directory of flash0:/

    1  -rw-    96910452  Oct 21 2014 03:35:18 +04:00  c3900e-universalk9-mz.SPA.153-3.M3.bin
    2  -rw-        3064  Oct 21 2014 03:49:06 +04:00  cpconfig-39xx.cfg
    3  drw-           0  Nov 12 2014 14:09:54 +04:00  its
   14  drw-           0  Nov 12 2014 15:16:46 +04:00  GUI
   32  drw-           0  Oct 21 2014 03:49:32 +04:00  ccpexp
  273  -rw-        2464  Oct 21 2014 03:51:18 +04:00  home.shtml
  274  -rw-      116608  Nov 12 2014 15:10:32 +04:00  CME-GUI.rar
  275  -rw-     3090800  Nov 12 2014 16:35:04 +04:00  kern78xx.10-2-1-12.sbn
  276  -rw-    36307280  Nov 12 2014 16:36:00 +04:00  rootfs78xx.10-2-1-12.sbn
  277  -rw-      364072  Nov 12 2014 16:36:10 +04:00  sboot78xx.10-2-1-12.sbn
  278  -rw-        1228  Nov 12 2014 16:36:32 +04:00  sip78xx.10-2-1-12.loads
  279  -rw-      496521  Nov 12 2014 17:01:40 +04:00  music-on-hold.au
  280  -rw-       23660  Nov 19 2014 14:48:40 +04:00  enter_account.au
  281  -rw-       24164  Nov 19 2014 14:48:48 +04:00  enter_pin.au

261324800 bytes total (120594432 bytes free)

my application configuration was like this:

application
package auth
  param passwd-prompt flash0:/enter_pin.au
  param max-retries 0
  param term-digit #
  param user-prompt flash0:/enter_account.au
  param abort-digit *
  param passwd 12345
  param max-digits 32

 

*****Resolution*****

changed user prompt and password prompt from flash0:/ to flash:/

application
package auth
  param passwd-prompt flash:/enter_pin.au
  param max-retries 0
  param term-digit #
  param user-prompt flash:/enter_account.au
  param abort-digit *
  param passwd 12345
  param max-digits 32

 

Right now lpcor is working fine for Long Distance calls with the same config.

 

Thanks All