Need help with msclient.

Version 1
    This document was generated from CDN thread

    Created by: Lukasz Olszewski on 22-09-2009 04:02:35 PM
    Hi,
     
    I'm trying to test my msclient build. The problem is I don't know if my commands fail because of wrong syntax/data or because of a faulty build. Could someone post an simple example msclient session dialing a number on an extension, please?
     
    Kind Regards,
    Lukasz Olszewski

    Subject: RE: Need help with msclient.
    Replied by: JAMIP Helpdesk on 06-10-2009 06:39:54 AM
    Hello Lukasz,
     
    If i'm not wrong! Are you looking for the below sample message?
     
    connect -s 192.168.21.1
    openreq -t 120 -v 10 -s 7 -c 258045 -a 16383 -g 15 -i 3039 -p cisco -e 3039 -d Vijay
    setagentstatereq -s 0+2 -e 1 -a 3039 -p cisco -d Vijay
    makecallreq -a 3039 -d 3040
     
    Here,
    cisco=Password.
    Vijay=AgentID.
    3039 =The agent¿s IP phone number.
    3040=The number to be dialed to establish the new call.
     
    Change above parameters as per your requirement.
     
    Hope this will help you.
     
    -Vijay

    Subject: RE: Need help with msclient.
    Replied by: John Dwyer on 14-10-2009 07:57:54 PM
    Trying to build msclient on VC++ 2008
     
    Unable to link msclient
     
    I was able to get msctilib.lib created.
     
    Was there anything extra you had to do to build msclient.exe ?
     
     
     

    rary Debug\msclient.lib and object Debug\msclient.exp
    1>execinput.obj : error LNK2019: unresolved external symbol _closesocket@4 referenced in function "public: __thiscall com_cisco::CExecInput::~CExecInput(void)" (??1CExecInput@com_cisco@@QAE@XZ)
    1>execinput.obj : error LNK2019: unresolved external symbol _send@16 referenced in function "public: void __thiscall com_cisco::CExecInput::execInput(char *,char *)" (?execInput@CExecInput@com_cisco@@QAEXPAD0@Z)
    1>execinput.obj : error LNK2019: unresolved external symbol _ntohl@4 referenced in function "public: void __thiscall com_cisco::CExecInput::execInput(char *,char *)" (?execInput@CExecInput@com_cisco@@QAEXPAD0@Z)
    1>msctilib.lib(unpack.obj) : error LNK2001: unresolved external symbol _ntohl@4
    1>msctilib.lib(floatfield.obj) : error LNK2001: unresolved external symbol _ntohl@4
    1>execinput.obj : error LNK2019: unresolved external symbol _connect@12 referenced in function "private: void __thiscall com_cisco::CExecInput::parseConnect(void)" (?parseConnect@CExecInput@com_cisco@@AAEXXZ)
    1>execinput.obj : error LNK2019: unresolved external symbol _htons@4 referenced in function "private: void __thiscall com_cisco::CExecInput::parseConnect(void)" (?parseConnect@CExecInput@com_cisco@@AAEXXZ)
    1>msctilib.lib(pack.obj) : error LNK2001: unresolved external symbol _htons@4
    1>execinput.obj : error LNK2019: unresolved external symbol _inet_addr@4 referenced in function "private: void __thiscall com_cisco::CExecInput::parseConnect(void)" (?parseConnect@CExecInput@com_cisco@@AAEXXZ)
    1>execinput.obj : error LNK2019: unresolved external symbol _gethostbyname@4 referenced in function "private: void __thiscall com_cisco::CExecInput::parseConnect(void)" (?parseConnect@CExecInput@com_cisco@@AAEXXZ)
    1>execinput.obj : error LNK2019: unresolved external symbol _setsockopt@20 referenced in function "private: void __thiscall com_cisco::CExecInput::parseConnect(void)" (?parseConnect@CExecInput@com_cisco@@AAEXXZ)
    1>execinput.obj : error LNK2019: unresolved external symbol _socket@12 referenced in function "private: void __thiscall com_cisco::CExecInput::parseConnect(void)" (?parseConnect@CExecInput@com_cisco@@AAEXXZ)
    1>execinput.obj : error LNK2019: unresolved external symbol _recv@16 referenced in function "private: static void __cdecl com_cisco::CExecInput::recvMsg(void *)" (?recvMsg@CExecInput@com_cisco@@CAXPAX@Z)
    1>msctilib.lib(unpack.obj) : error LNK2019: unresolved external symbol _ntohs@4 referenced in function "protected: unsigned short __thiscall com_cisco::CUnpack::getUSHORT(unsigned short)" (?getUSHORT@CUnpack@com_cisco@@IAEGG@Z)
    1>msctilib.lib(floatfield.obj) : error LNK2001: unresolved external symbol _ntohs@4
    1>msctilib.lib(pack.obj) : error LNK2019: unresolved external symbol _htonl@4 referenced in function "protected: void __thiscall com_cisco::CPack::addUINT(unsigned int)" (?addUINT@CPack@com_cisco@@IAEXI@Z)
    1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
    1>Debug\msclient.exe : fatal error LNK1120: 13 unresolved externals
    1>msclient - 18 error(s), 29 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Subject: RE: Need help with msclient.
    Replied by: John Dwyer on 29-10-2009 08:13:50 PM
    got it working thanks