Generic selectors
Exact matches only
Search in title
Search in content

Reply To: Call clearing after certain mins

Yan Kurniawan

Hi All,
I’m trying to make tcl script to handle authentication based on ani. Incoming call comes with CAS signalling.
Here is the configuration:
controller E1 1
framing NO-CRC4
clock source line primary
ds0-group 0 timeslots 1-15,17-31 type r2-pulse r2-semi-compelled ani
cas-custom 0
invert-abcd 1 0 0 0
country indonesia
category 2

I built tcl script that handle call setup: (this is a test script without ani authentication)

proc act_Setup { } {
global dnis
leg setupack leg_incoming
leg proceeding leg_incoming

set dnis [infotag get leg_dnis]
leg setup $dnis callInfo leg_incoming
fsm setstate PLACECALL

The call setup always failed.
Anyone can help me ???