Why TExtension.TRegister() can return T_FAIL

Hi people, this is my first post, new in genesys world…

My problem… im using Activex Desktop Toolkit 7.2 in Visual Studio 2005 in a C# project, i have a form acting as container of TConnection, TExtension, etc..

I succesfully connect to T-Server :

    private void InicializarConexion(String host, String port)
    {
        axTConnection.THost = host;
        axTConnection.TPort = port;
        if (!axTConnection.TConnect())
            throw new InicializarException(host, port);

And the succesfully verify link to the switch receiving:

private void axTConnection_TEventLinkConnected(object sender, _DConnectionEvents_TEventLinkConnectedEvent e)

Then i try to register the DN, and it returns T_FAIL ???

    private void InicializarRegistrarDN(String dn)
    {
        axTExtension.TDN = dn;

        TStatus estado = axTExtension.TRegister();

        if (estado == TStatus.T_FAIL)
            throw new InicializarException(axTConnection.THost, axTConnection.TPort, dn);

Why can this happen ???

If i try from the SoftPhone example app in VB6 i correctly register and login.

Thanks for any help…

E. Ferreyra

The problem was an incorrect value at the ConnectionName attribute of the TExtension control.

Thanks anyway.

3 Likes

I am glad you were able to resolve it! How did you figure out that ConnectionName was the culprit?
I could not see ConnectionName anywhere…

Vic