Module: sip-router
Branch: master
Commit: 31d651479c210e4b1d181fc34b10aae67e716bb7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=31d6514…
Author: Carsten Bock <carsten(a)ng-voice.com>
Committer: Carsten Bock <carsten(a)ng-voice.com>
Date: Tue Jul 17 10:15:46 2012 -0400
Remove duplicate entry of "default_domain" in docs.
Remove double occurance of the CSeq Attribute in the XML.
(closes FS#246 - pua_reginfo adds duplicate cseq field in XML body on the Bugtracker)
Thanks to Andrew Pogrebennyk (apogrebennyk(a)sipwise.com) for pointing this out.
---
modules_k/pua_reginfo/doc/pua_reginfo_admin.xml | 14 --------------
modules_k/pua_reginfo/usrloc_cb.c | 5 -----
2 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/modules_k/pua_reginfo/doc/pua_reginfo_admin.xml
b/modules_k/pua_reginfo/doc/pua_reginfo_admin.xml
index 797fc49..b651f44 100644
--- a/modules_k/pua_reginfo/doc/pua_reginfo_admin.xml
+++ b/modules_k/pua_reginfo/doc/pua_reginfo_admin.xml
@@ -105,20 +105,6 @@ modparam("pua_bla", "default_domain",
"kamailio.org")
</example>
</section>
<section>
- <title><varname>default_domain</varname>(str)</title>
- <para>
- The domain to be used to publish information about a user.
- </para>
- <example>
- <title>Set <varname>default_domain</varname> parameter</title>
- <programlisting format="linespecific">
-...
-modparam("pua_reginfo", "default_domain", "kamailio.org")
-...
-</programlisting>
- </example>
- </section>
- <section>
<title><varname>publish_reginfo</varname>(int)</title>
<para>
Whether or not to generate PUBLISH requests.
diff --git a/modules_k/pua_reginfo/usrloc_cb.c b/modules_k/pua_reginfo/usrloc_cb.c
index 1833034..6b1a590 100644
--- a/modules_k/pua_reginfo/usrloc_cb.c
+++ b/modules_k/pua_reginfo/usrloc_cb.c
@@ -162,11 +162,6 @@ str* build_reginfo_full(urecord_t * record, str uri, ucontact_t* c,
int type) {
memset(buf, 0, sizeof(buf));
buf_len = snprintf(buf, sizeof(buf), "%.*s", ptr->user_agent.len,
ptr->user_agent.s);
xmlNewProp(contact_node, BAD_CAST "user_agent", BAD_CAST buf);
-
- /* CSeq Attribute */
- memset(buf, 0, sizeof(buf));
- buf_len = snprintf(buf, sizeof(buf), "%d", ptr->cseq);
- xmlNewProp(contact_node, BAD_CAST "cseq", BAD_CAST buf);
/* URI-Node */
memset(buf, 0, sizeof(buf));