cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
481
Views
0
Helpful
2
Replies

Pre-paid IVR Problem

rrisco
Level 1
Level 1

We have one AS5350 conected to the local pstn and I would like to test its prepaid features, I have followed all the instructions of the "Cisco Pre-Paid and OSP Config Guide" but I have some doubts because we always receive the en_invalid_digits.au message ("You have entered an invalid number of digits, please reenter your card number...) after enter a correct card number 3 times and then the call is disconnected, why?

I am using several scripst for test:

debitcard-multi-lang-Cisco.1.1.0.2.tcl

debitcard.1.1.3.tcl

app_debitcard.2.0.0.tcl

I don´t known if I have to configure other issues in radius server like some other attributes in my users file... to test this freeradius configuration I am using "clid_authen_collect" and "app_debitcard.2.0.0.tcl" scripts and the authentication works well with those scripts!!!

PS: config details:

(C5350-IS-M), Version 12.2(2)XB6

...

!

no boot startup-test

aaa new-model

!

!

aaa authentication login h323 group radius

aaa authentication login NONE none

aaa authorization exec h323 group radius

aaa accounting connection h323 start-stop group radius

aaa session-id common

enable secret xxxxx

!

username xxx password xxxx

!

....

!

gw-accounting h323

gw-accounting h323 vsa

gw-accounting voip

!

interface FastEthernet0/0

ip address x.x.x.x 255.255.255.224

duplex auto

speed auto

h323-gateway voip interface

h323-gateway voip id GKMain ipaddr y.y.y.y 1719

h323-gateway voip h323-id micpegw01

h323-gateway voip tech-prefix 9

h323-gateway voip tech-prefix 044

h323-gateway voip tech-prefix 074

.

.

.

!

!

radius-server host 172.16.2.20 auth-port 1812 acct-port 1813

radius-server retransmit 0

radius-server key xxxx

radius-server vsa send accounting

radius-server vsa send authentication

call rsvp-sync

!

call application voice debit tftp://172.16.2.20/debitcard/debitcard-multi-lang-Cisco.1.1.0.2.tcl

call application voice debit uid-len 9

call application voice debit pin-len 7

call application voice debit language 1 en

call application voice debit language 2 sp

call application voice debit set-location en 0 tftp://200.110.2.130/debitcard/prompts/en/

call application voice debit set-location sp 0 tftp://200.110.2.130/debitcard/prompts/sp/

!

call application voice callc tftp://172.16.2.20/TCLware201/app_clid_authen_collect_cli.2.0.0.tcl

call application voice callc language 0 sp

call application voice callc set-location sp 0 tftp://200.110.2.130/TCLware201/prompts/sp/

!

voice-port 3/0:0

compand-type a-law

!

!

mgcp profile default

!

dial-peer cor custom

!

!

!

dial-peer voice 1000 voip

destination-pattern 660....

session target ras

codec g723r63

!

dial-peer voice 1 pots

destination-pattern .T

translate-outgoing calling 1

direct-inward-dial

port 3/0:0

!

dial-peer voice 2 pots

application debit

incoming called-number 6601997

destination-pattern 6601997

port 3/0:0

!

dial-peer voice 3 pots

application callc

incoming called-number 6605001

destination-pattern 6605001

port 3/0:0

!

dial-peer voice 1002 voip

description ld->USA

huntstop

destination-pattern 001..........

session target ipv4:65.200.X.Y

tech-prefix 550#

codec g723r63

!

dial-peer voice 1001 voip

description CALLCENTER

destination-pattern 10.

session target ras

codec g723r63

.

.

.

2 Replies 2

irisrios
Level 6
Level 6

When there is not enough money or no money in an account, the as5300 will still place the call and then immediately disconnect. Is this why you are facing the problem. there is also one related bug on this CSCdp67360. Check out the details.

santoshk
Level 1
Level 1

It expects specified number of digits (i.e UIDLen + pinLen), In your case it expects 16 digits. It won't forward to radius, until it receives all 16 digits.

Santosh