summaryrefslogtreecommitdiff
path: root/tpsip
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2009-11-10 17:21:29 +0200
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2009-11-10 17:21:29 +0200
commite3ddb746648c5b58eff1ac78080e39710797d786 (patch)
tree0db9060a1ef103f812772fd2b6b842696eb36316 /tpsip
parentd5c7ff32132dd5ce40b633bbdd54d0352b441582 (diff)
Plug in the audio/telephone-event formatting routines
Diffstat (limited to 'tpsip')
-rw-r--r--tpsip/codec-param-formats.c5
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*"