Module: sip-router Branch: 3.3 Commit: 32e67eb8ebe8e1ef1190b03151962412ad41dbd3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=32e67eb8...
Author: Carsten Bock carsten@ng-voice.com Committer: Carsten Bock carsten@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@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));