Remove duplicate entry of "default_domain" in docs.
authorCarsten Bock <carsten@ng-voice.com>
Tue, 17 Jul 2012 14:15:46 +0000 (10:15 -0400)
committerCarsten Bock <carsten@ng-voice.com>
Tue, 17 Jul 2012 14:20:59 +0000 (10:20 -0400)
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@sipwise.com) for pointing this out.

modules_k/pua_reginfo/doc/pua_reginfo_admin.xml
modules_k/pua_reginfo/usrloc_cb.c

index 797fc49..b651f44 100644 (file)
@@ -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.
index 1833034..6b1a590 100644 (file)
@@ -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));