summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2013-02-19 16:22:31 +0000
committerNanang Izzuddin <nanang@teluu.com>2013-02-19 16:22:31 +0000
commit5899bdad96a27be0b0cbf5db1b6351a3513684bf (patch)
tree2d3bedd7d9a36dec136d8b8081262878ac6a6c6c
parente39e25134d3595d4fc4cf39d804bd0a9d986c02a (diff)
Misc (re #1559): Added INFO into Allow header for PJSUA.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4354 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/src/pjsua-lib/pjsua_call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c
index 0ff545e5..c2052132 100644
--- a/pjsip/src/pjsua-lib/pjsua_call.c
+++ b/pjsip/src/pjsua-lib/pjsua_call.c
@@ -187,6 +187,10 @@ pj_status_t pjsua_call_subsys_init(const pjsua_config *cfg)
pjsip_endpt_add_capability(pjsua_var.endpt, NULL, PJSIP_H_SUPPORTED,
NULL, 1, &str_norefersub);
+ /* Add "INFO" in Allow header, for DTMF and video key frame request. */
+ pjsip_endpt_add_capability(pjsua_var.endpt, NULL, PJSIP_H_ALLOW,
+ NULL, 1, &pjsip_info_method.name);
+
return status;
}