Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

need help to set duration for voice calls

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??

  • Video Over IP

Re: need help to set duration for voice calls

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).

New Member

Re: need help to set duration for voice calls

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


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??



Re: need help to set duration for voice calls

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.

New Member

Re: need help to set duration for voice calls

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

This widget could not be displayed.