Explorar o código

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 ([email protected]) for pointing this out.

Carsten Bock %!s(int64=13) %!d(string=hai) anos
pai
achega
31d651479c

+ 0 - 14
modules_k/pua_reginfo/doc/pua_reginfo_admin.xml

@@ -101,20 +101,6 @@
 ...
 modparam("pua_bla", "default_domain", "kamailio.org")
 ...
-</programlisting>
-		</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>

+ 0 - 5
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));