Ok, I got my test application to actually make the connection. Well, partially.
I had to add the following call before trying to make the connection: sipxConfigSetAudioCodecByName(m_sipInfo.instance, "PCMU PCMA TELEPHONE-EVENT"); Now the call goes through and my X-Lite client rings. However, as soon as the call goes through my test app starts throwing this exception: Unhandled exception at 0x100bcc90 in siptest2.exe: 0xC0000005: Access violation reading location 0x00000058. The exception only crops up when I make the sipxCallConnect() call, but given the kind of exception it is, I suppose it's possible the problem actually lies elsewhere. The last event I receive at my test app before the failure is MEDIA::REMOTE_START::AUDIO. Any ideas here? I'm comparing my code to the code for sipXezPhone, but as it so happens sipXezPhone is also throwing these exceptions. I found a message board post from someone having a similar problem with the PlaceCall application, and it was "fixed" by getting pre-compiled versions of PlaceCall and sipxtapi.dll from SipFoundry. However, I can't find pre-compiled versions on the site anymore. Thanks, Joe
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
