hi
i'm trying to make a simple sip client using CSIPExample
the compilation is ok , but when i try to run it on the emulator
i get "system error" and the application does not start.
the sip plug-in was copied from sdk 8.0a (seem like there is
no plug-in package for 8.1a) (my phone is n70 with symbian 8.1a)
for the plug-in i use the nokia ExamplePlugin
the plugin dll & rsc file where add to the pkg file
in the rss file i change the default_data=<application uid>
and the rss file name is like the plugin uid
the problem line seem to be :
CSIPEngine* sipExample = CSIPEngine::NewL(KUidCSIPExampleWrapper);
when i set it in MySipExampleAppUi.cpp
any idea ?
**********MySIPExample.h*******************
#include <sipobserver.h>
#include <sipprofileregistry.h>
#include <sipprofileregistryobserver.h>
#include <sipsubscribedialogassoc.h>
#include <sipconnectionobserver.h>
const TUid KUidCSIPExampleWrapper = {0x039D5DDF};
class CSIPProfileRegistryObserver;
class CSIPObserver;
class CSIPConnectionObserver;
class CSIP;
class CSipProfileRegistry;
class CSIPProfile;
class CSIPConnection;
class CSIPInviteDialogAssoc;
class CSIPFromHeader;
class CSIPToHeader;
class CSIPContactHeader;
class CSIPAddress;
class CSIPClientTransaction;
class CSIPResponseElements;
class CSIPRequestElements;
class CSIPServerTransaction;
class CSIPInviteDialogAssoc;
class CSIPEngine :
public CBase,
public MSIPProfileRegistryObserver,
public MSIPObserver,
public MSIPConnectionObserver
{
public:
static CSIPEngine* NewL(TUid aUid);
~CSIPEngine();
// MSIPProfileRegistryObserver implementation.
// Move to cpp-file if further implementation.
void ProfileCreated(TUint32 /*aSIPProfileId*/){}
void ProfileUpdated(TUint32 /*aSIPProfileId*/){}
void ProfileDestroyed(TUint32 /*aSIPProfileId*/){}
void ProfileRegistryErrorOccurred( TUint32 /*aSIPProfileId*/,TInt /*aError*/){}
void ProfileRegistrationStatusChanged(TUint32) ;
// MSIPObserver implementation.
// Move to cpp-file if further implementation.
void IncomingRequest( TUint32 /*aIapId*/, CSIPServerTransaction* /*aTransaction*/){}
virtual void TimedOut( CSIPServerTransaction& /*aSIPServerTransaction*/){}
// MSIPConnectionObserver implementation.
// Move to cpp-file if further implementation.
void IncomingRequest ( CSIPServerTransaction* /*aTransaction*/, CSIPDialog& /*aDialog*/);
void IncomingResponse ( CSIPClientTransaction& /*aTransaction*/){}
void IncomingResponse ( CSIPClientTransaction& /*aTransaction*/, CSIPInviteDialogAssoc* /*aDialogAssoc*/){}
void IncomingResponse ( CSIPClientTransaction& /*aTransaction*/, CSIPRegistration& /*aRegistration*/){}
void ErrorOccured ( TInt /*aError*/, CSIPTransactionBase& /*aTransaction*/){}
void ErrorOccured ( TInt /*aError*/, CSIPClientTransaction& /*aTransaction*/, CSIPRegistration& /*aRegistration*/){}
void ErrorOccured ( TInt /*aError*/, CSIPTransactionBase& /*aTransaction*/, CSIPDialogAssocBase& /*aDialogAssoc*/){}
void ErrorOccured ( TInt /*aError*/, CSIPRefresh& /*aSIPRefresh*/){}
void ErrorOccured ( TInt /*aError*/, CSIPRegistration& /*aRegistration*/){}
void ErrorOccured ( TInt /*aError*/, CSIPDialogAssocBase& /*aDialogAssoc*/){}
void InviteCompleted ( CSIPClientTransaction& /*aTransaction*/){}
void ConnectionStateChanged ( CSIPConnection::TState /*aState*/){}
CSIPInviteDialogAssoc* CreateSIPInviteDialogAssoc(const TDesC8& user);
CSIPSubscribeDialogAssoc* CreateSIPSubscribeDialogAssoc(const TDesC8& user);
void ExecuteL();
void Invite1();
void Invite2();
void Subscribe1();
void Subscribe2();
void IncomingResponse ( CSIPClientTransaction& , CSIPDialogAssocBase& ) ;
// Move to cpp-file if further implementation.
//void IncomingRequest ( CSIPServerTransaction* /*aTransaction*/, CSIPDialog& /*aDialog*/);
void IncomingRequest ( CSIPServerTransaction* ) ;
//void ConstructL();
private:
CSIPEngine(TUid& aUid) {
iUid = aUid;
}
void ConstructL(){}
TUid iUid;
CSIP* iSIP;
CSIPProfileRegistry* iProfileRegistry;
CSIPProfile* iProfile;
CSIPConnection* iConnection;
CSIPClientTransaction* iSIPClientTransaction;
CSIPInviteDialogAssoc* iSIPInviteDialogAssoc;
CSIPSubscribeDialogAssoc* iSIPSubscribeDialogAssoc;

layer1@10.0.0.1"));
ecodeL(user);


