------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=127737
------- Additional Comments From julien.gilli wengo fr 2006-08-22 12:34 -------
Actually, our SIP layer has a very high level of abstraction. Here's a sneak
peak at the current API:
virtual int addVirtualLine(const std::string & displayName,
const std::string & username,
const std::string & identity,
const std::string & password,
const std::string & realm,
const std::string & proxyServer,
const std::string & registerServer) = 0;
/**
* Dials a phone number.
*
* param lineId line to use to dial the phone number
* param phoneNumber SIP address to call (e.g phone number to dial)
* return the phone call id (callId)
*/
virtual int makeCall(int lineId, const std::string & phoneNumber) = 0;
/**
* Accepts a given phone call.
*
* param callId id of the phone call to accept
*/
virtual void acceptCall(int callId) = 0;
/**
* Rejects a given phone call.
*
* param callId id of the phone call to reject
*/
virtual void rejectCall(int callId) = 0;
/**
* Closes a given phone call.
*
* param callId id of the phone call to close
*/
virtual void closeCall(int callId) = 0;
/**
* Holds a given phone call.
*
* param callId id of the phone call to hold
*/
virtual void holdCall(int callId) = 0;
/**
* Resumes a given phone call.
*
* param callId id of the phone call to resume
*/
virtual void resumeCall(int callId) = 0;
/** } */
/**
* Sends a DTMF to a given phone call.
*
* param callId phone call id to send a DTMF
* param tone DTMF tone to send
*/
virtual void playTone(int callId, EnumTone::Tone tone) = 0;
There are more methods in the whole API, but you can get the idea.
It is very easy to use by a client application, and it is not related in any
way to any user interface. There may be some issues with dependent libraries,
though. I think that using this library with Kopete would be definitely worth
trying.
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel