I'm trying to write a simple test client app, and I'm having trouble getting the app to make a call. Here's the setup:
1. I have sipXecs running in a CentOS VM under VirtualBox. 2. I have an X-Lite client set up to receive the call. 3. I have a small Visual C++ app with which I'm trying to make the call. Both the X-Line client and my VC++ app register successfully with the sipX server. However, when the VC++ app calls sipxCallConnect, my callback procedure gets a DISCONNECTED event, with a SMIME_FAILURE cause (after a pause). The pertinent VC++ app code is below: char *sipxServer = "server_ip_address"; char *sipxUser = "vc_app_id"; char *sipPassword = "vc_app_pwd"; char *sipUri = "sip:[EMAIL PROTECTED]"; char *sipRealm = "sipdomain.com"; sipxInitialize(&(m_sipInfo.instance), DEFAULT_UDP_PORT, DEFAULT_TCP_PORT, DEFAULT_TLS_PORT, DEFAULT_RTP_START_PORT, DEFAULT_CONNECTIONS, sipxUser, sipxServer); sipxEventListenerAdd(m_sipInfo.instance, EventCallbackProc, this); sipxLineAdd(m_sipInfo.instance, sipUri, &(m_sipInfo.line)); sipxLineAddCredential(m_sipInfo.line, sipxUser, sipPassword, sipRealm); sipxLineRegister(m_sipInfo.line, true); ... code to make sure registration is successful ... sipxCallCreate(m_sipInfo.instance, m_sipInfo.line, &(m_sipInfo.call)); sipxCallConnect(m_sipInfo.call, "sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>", CONTACT_AUTO); I'm new to SIP development, so I'm sure there's some step I'm missing. The comments in sipXtapiEvents.h for the callstate causes says to check the SECURITY event for information on the SMIME failure, but no SECURITY event is being triggered. Thanks, Joe
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
