[telepathy-sofiasip/master] Plug in the audio/telephone-event formatting routines

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Mon Nov 30 05:51:23 PST 2009


---
 tpsip/codec-param-formats.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tpsip/codec-param-formats.c b/tpsip/codec-param-formats.c
index 32847d2..3119def 100644
--- a/tpsip/codec-param-formats.c
+++ b/tpsip/codec-param-formats.c
@@ -300,6 +300,11 @@ tpsip_codec_param_formats_init ()
       codec_param_formats[i] = g_hash_table_new (g_str_hash, g_str_equal);
     }
 
+  tpsip_codec_param_register_format (
+      TP_MEDIA_STREAM_TYPE_AUDIO, "telephone-event",
+      tpsip_codec_param_format_telephone_event,
+      tpsip_codec_param_parse_telephone_event);
+
   fmtp_attr_regex = g_regex_new (
       "(?<" FMTP_MATCH_NAME_PARAM ">" FMTP_TOKEN_PARAM ")"
       "\\s*=\\s*"
-- 
1.5.6.5




More information about the telepathy-commits mailing list