Skip to Content
0
Jun 24, 2016 at 08:25 PM

Error to invoke a Customstate Python - IVR

42 Views

Hello,

I am using the Customstate element to invoke a Python customizer method, but when I tested the IVR calling the Customstate I got the error below.

>>>> ERR> <type 'exceptions.AttributeError'> : ICustomize instance has no attribute 'getQueueById'

My code, where I set the method name to call.

from Env import *

from ICustomize import *

from IVRUtil import *

from ADO import *

class Get_Queue_Number(ICustomize):

# NOTE: Keep name, Filename and class name identical.

# ========================================================================

def __init__(self, AppConf):

# Call the base class constructor

ICustomize.__init__(self, AppConf)

def getQueueById(self, params):

BR

Rodrigo