usage of msclient

Version 1
    This document was generated from CDN thread

    Created by: Stephan Steiner on 01-10-2010 04:58:42 PM
    I can't quite figure out msclient.
    For starters.. what are optional and what are mandatory parameters for each ccommand?
    Then specifically for the openreq command - how do you use the bitmasks? I figure they're hex, right... does the client need it converted to decimal? So, to use bridge mode, -v would be 16, correct? And to receive CALL_DELIVERED, CALL_ESTABLISHED and CALL_TRANSFERED and CALL_DIVERTED, you'd end up with 0x00000601 so it would be -c 259, correct?
    Then, when using the sample found in another thread
    openreq -t 120 -v 10 -s 7 -c 258045 -a 16383 -g 15 -i 3039 -p cisco -e 3039 -d Vijay
    Shouldn't I be getting some events? I'd expect to see something if I call 3039 yet nothing happens. But I need to figure what data I get when a call comes in to the agent so that I can try to figure out how to translate caller identificators to JTAPI values and see if I get the original calling number and not only the CTI port number.
    Does anyone have a working openreq line that allows me to see call events (specifically delivered and established events) for a given agent/extension?

    Subject: RE: usage of msclient
    Replied by: Stephan Steiner on 07-10-2010 04:17:39 PM
    I managed to get some events at last
    openreq -t 120 -v 10 -s 16
    That seems to successfully get me into bridge mode. Still no lock using agent mode though.