~vcs-imports/wengophone/trunk

« back to all changes in this revision

Viewing changes to libs/sipwrapper/src/phapi/PhApiWrapper.cpp

  • Committer: mphan
  • Date: 2007-03-14 20:11:17 UTC
  • Revision ID: vcs-imports@canonical.com-20070314201117-461c865130da7f56
adapt to the change in phapi's removal of owplConfigSetAsyncMode

Show diffs side-by-side

added added

removed removed

Lines of Context:
878
878
        phVideoControlSetWebcamCaptureResolution(320, 240);
879
879
#endif
880
880
 
881
 
        //If asynchronous mode = 0 then we have to call phPoll()
882
 
        owplConfigSetAsyncCallbackMode (1);
883
 
 
884
881
        _callbacks->startListeningPhApiEvents();
885
882
 
886
883
        std::string tmp = _sipServer;
887
884
        tmp += ":" + String::fromNumber(_sipServerPort);
888
885
        owplConfigSetOutboundProxy(tmp.c_str());
889
886
 
890
 
        if (owplInit(5060, 0, 0, NULL, 0) == OWPL_RESULT_SUCCESS) {
 
887
        if (owplInit(1, 5060, 0, 0, NULL, 0) == OWPL_RESULT_SUCCESS) {
891
888
                _isInitialized = true;
892
889
                LOG_DEBUG("phApi successfully initialized");
893
890
        } else {