Code example for SipManager

Methods: makeAudioCall

0
	 * @param listener呼叫监听器 
	 * @return 
	 * @throws SipException 
	 */ 
	public SipAudioCall sipStartCalling(String dest, SipAudioCall.Listener listener) throws SipException {
		return mSipManager.makeAudioCall(mSipProfile.getUriString(), dest, listener, 30);
	} 
 
	public void sipAnswerIncomingCall(Intent callIntent) {
		Intent answerIntent = new Intent(this, ActCall.class);
		answerIntent.putExtras(callIntent);
		answerIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_USER_ACTION);
		this.startActivity(answerIntent);
	} 
 
	/** 
	 * 结束通话 
	 *  
	 * @param call 
	 * @throws SipException 
	 */