[asterisk-commits] mmichelson: branch mmichelson/pubsub_bodies r407013 - /team/mmichelson/pubsub...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 31 15:39:56 CST 2014
Author: mmichelson
Date: Fri Jan 31 15:39:51 2014
New Revision: 407013
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407013
Log:
Change "nonstandard" to "eyebeam".
There are likely to be lots of nonstandard PIDF elements
added in body supplements. Giving a more specific name to
the nonstandard items being added makes it easier to know
what sort of nonstandard items are being added.
Added:
team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_eyebeam_body_supplement.c
- copied, changed from r406916, team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_nonstandard_body_supplement.c
Removed:
team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_nonstandard_body_supplement.c
Copied: team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_eyebeam_body_supplement.c (from r406916, team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_nonstandard_body_supplement.c)
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_eyebeam_body_supplement.c?view=diff&rev=407013&p1=team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_nonstandard_body_supplement.c&r1=406916&p2=team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_eyebeam_body_supplement.c&r2=407013
==============================================================================
--- team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_nonstandard_body_supplement.c (original)
+++ team/mmichelson/pubsub_bodies/res/res_pjsip_pidf_eyebeam_body_supplement.c Fri Jan 31 15:39:51 2014
@@ -44,7 +44,7 @@
* for backward compatability. The original comment stated that Eyebeam
* supports this format.
*/
-static void add_non_standard(pj_pool_t *pool, pj_xml_node *node, const char *pidfstate)
+static void add_eyebeam(pj_pool_t *pool, pj_xml_node *node, const char *pidfstate)
{
static const char *XMLNS_PP = "xmlns:pp";
static const char *XMLNS_PERSON = "urn:ietf:params:xml:ns:pidf:person";
@@ -82,7 +82,7 @@
ast_sip_presence_exten_state_to_str(state_data->exten_state, &statestring,
&pidfstate, &pidfnote, &local_state);
- add_non_standard(state_data->pool, pres, pidfstate);
+ add_eyebeam(state_data->pool, pres, pidfstate);
return 0;
}
@@ -106,7 +106,7 @@
return 0;
}
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "PJSIP PIDF nonstandard supplement",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "PJSIP PIDF Eyebeam supplement",
.load = load_module,
.unload = unload_module,
.load_pri = AST_MODPRI_CHANNEL_DEPEND,
More information about the asterisk-commits
mailing list