[telepathy-sofiasip/master] Extend the call state-aware treatment of 404 to 480

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Tue Apr 14 09:49:34 PDT 2009


Same logic applies, as evidenced by proxy behavior observed at voip.japo.fi.
---
 src/sip-media-channel.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/sip-media-channel.c b/src/sip-media-channel.c
index 3d38bb5..df95fec 100644
--- a/src/sip-media-channel.c
+++ b/src/sip-media-channel.c
@@ -973,10 +973,8 @@ tpsip_media_channel_peer_error (TpsipMediaChannel *self,
     case 408:
       reason = TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER;
       break;
-    case 480:
-      reason = TP_CHANNEL_GROUP_CHANGE_REASON_OFFLINE;
-      break;
     case 404:
+    case 480:
       reason = (tpsip_media_channel_get_call_state (self, peer)
              & (TP_CHANNEL_CALL_STATE_RINGING | TP_CHANNEL_CALL_STATE_QUEUED))
           ? TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER
-- 
1.5.6.5



More information about the telepathy-commits mailing list