[telepathy-sofiasip/master] Don't append user=phone parameter to SIP URIs normalized from telephone number-like strings

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Tue Apr 7 09:15:34 PDT 2009


---
 src/sip-connection-helpers.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sip-connection-helpers.c b/src/sip-connection-helpers.c
index 7bf84b0..5767250 100644
--- a/src/sip-connection-helpers.c
+++ b/src/sip-connection-helpers.c
@@ -814,8 +814,8 @@ priv_strip_whitespace (su_home_t *home, const gchar *string)
 
 gchar *
 tpsip_conn_normalize_uri (TpsipConnection *conn,
-                        const gchar *sipuri,
-                        GError **error)
+                          const gchar *sipuri,
+                          GError **error)
 {
   TpsipConnectionPrivate *priv = TPSIP_CONNECTION_GET_PRIVATE (conn);
   su_home_t home[1] = { SU_HOME_INIT (home) };
@@ -837,7 +837,7 @@ tpsip_conn_normalize_uri (TpsipConnection *conn,
 
       if (priv_is_tel_num (sipuri))
         {
-          url = url_format (home, "sip:%s@%s;user=phone",
+          url = url_format (home, "sip:%s@%s",
               priv_strip_whitespace (home, sipuri),
               priv->account_url->url_host);
         }
-- 
1.5.6.5




More information about the telepathy-commits mailing list