1
我已經爲Android創建了自己的SIP客戶端。我正面臨一個問題。我已經在SipDroid上做了測試:如果我打電話給某人並在他脫鉤之前掛斷電話,雙方的通話結束。 與我的客戶,當我掛斷電話時,接收器的通話不會結束,導致一方通信。在接收器解除綁定之前結束呼叫
這裏是我的結束通話代碼:
if (call != null)
{
Log.i(TAG, "Trying to end call");
try
{
call.endCall();
}
catch (SipException e)
{
Log.i(TAG, "Service failed to end the call", e);
}
call.close();
updateStatus("Call Ended");
}
如果呼叫是SipAudioCall。 我的電話如下: call = manager.makeAudioCall(profile.getUriString(),sipAddressToCall,listener,_Params.callWait);
謝謝,但我不知道如何使用本地SIP Android API發送請求 – Eko