cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
420
Views
10
Helpful
4
Replies

need help to set duration for voice calls

j.bien
Level 1
Level 1

hi guys, can we set on the gateway the maximum time for a voice call?? say 15 mins? is there a way to do this without a billing server and just by using tcl scripts and radius??

4 Replies 4

teodorgeorgiev
Level 4
Level 4

It can be done via TCL abd via a Radius server. I would prefer using a Radius server.

Just setup some (like Cistron, FreeRadius), configure Cisco for Radius authentication on the h323, and then in the Radius server configure a Radius reply attribute "Session-Timeout" to be sent with a fixed value (15 * 60 = 900).

hi theodore..

thanks for the reply .will the session-timeout be applicable if i'm using app_clid_authen_collect.tcl from cisco tclware?? i also have ACS doing the radius...

by the way i'm trying to authenticate my incoming voip call before i send the call to outgoing pstn.. basically what i did on my as5400 was

application

service test flash:app_clid_authen_collect.tcl

and, on my dial-peer....

dial-peer voice 1 pots

trunkgroup 1001

description ***OUTGOING TO PSTN****

voice cut-through alert

destination-pattern .T

incoming called-number .

forward-digits all

no register e164

dial-peer voice 10 voip

service test

description ***INCOMING VOIP***

voice-class codec 1

session protocol sipv2

session target sip-server

incoming called-number .

dtmf-relay h245-alphanumeric

is this the right way to implement this??

Sincerly,

j.bien

Yes, the "Session-Timeout" attribute will be applicable.

You have to configure though Radius AAA authentication for the H323 services.

I think, you have to remove the "incoming called-number" from the pots dial-peer.

Turn your Radius debug to see the attributes exchange between ACS and the voice gateway.

thanks for these information... 'twas a great help...Cheers.