Module: sip-router Branch: master Commit: d0809a64c34389d82ed1e023aa79372f721a6bbe URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d0809a64...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Jun 12 11:24:39 2009 +0300
presence_xml: documentation for xml_ns parameter
- parameter that allow registering namespace prefixes for XPath handling
---
modules_k/presence_xml/README | 14 ++++++++++++++ modules_k/presence_xml/doc/presence_xml_admin.xml | 14 ++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/modules_k/presence_xml/README b/modules_k/presence_xml/README index d9fafe5..e38262c 100644 --- a/modules_k/presence_xml/README +++ b/modules_k/presence_xml/README @@ -36,6 +36,7 @@ Anca-Maria Vamanu 3.8. integrated_xcap_server (int) 3.9. xcap_server (str) 3.10. passive_mode(int) + 3.11. xml_ns (str)
4. Exported Functions 5. Installation @@ -55,6 +56,7 @@ Anca-Maria Vamanu 1.8. Set integrated_xcap_server parameter 1.9. Set xcap_server parameter 1.10. Set passive_mode parameter + 1.11. Set xml_ns parameter
Chapter 1. Admin Guide
@@ -78,6 +80,7 @@ Chapter 1. Admin Guide 3.8. integrated_xcap_server (int) 3.9. xcap_server (str) 3.10. passive_mode(int) + 3.11. xml_ns (str)
4. Exported Functions 5. Installation @@ -129,6 +132,7 @@ Chapter 1. Admin Guide 3.8. integrated_xcap_server (int) 3.9. xcap_server (str) 3.10. passive_mode(int) + 3.11. xml_ns (str)
3.1. db_url(str)
@@ -271,6 +275,16 @@ modparam("presence_xml", "xcap_server", "xcap_server.ag.org") modparam("presence_xml", "passive_mode", 1) ...
+3.11. xml_ns (str) + + Register xml namespace prefix. Parameter value must have the format: + 'prefix=uri'. + + Example 1.11. Set xml_ns parameter +... +modparam("presence_xml", "xml_ns", "rpid=urn:ietf:params:xml:ns:pidf:rpid") +... + 4. Exported Functions
None to be used in configuration file. diff --git a/modules_k/presence_xml/doc/presence_xml_admin.xml b/modules_k/presence_xml/doc/presence_xml_admin.xml index 16a22bd..cefadf0 100644 --- a/modules_k/presence_xml/doc/presence_xml_admin.xml +++ b/modules_k/presence_xml/doc/presence_xml_admin.xml @@ -297,6 +297,20 @@ modparam("presence_xml", "passive_mode", 1) </programlisting> </example> </section> + <section> + <title><varname>xml_ns</varname> (str)</title> + <para> + Register xml namespace prefix. Parameter value must have the format: + 'prefix=uri'.</para> + <example> + <title>Set <varname>xml_ns</varname> parameter</title> + <programlisting format="linespecific"> +... +modparam("presence_xml", "xml_ns", "rpid=urn:ietf:params:xml:ns:pidf:rpid") +... +</programlisting> + </example> + </section> </section> <section> <title>Exported Functions</title>
Hi all
i follow the giude: http://sip-router.org/wiki/migration/kamailio-3.0-config
when i compile "make all" i run into the error
functions.c:25:23: error: curl/curl.h: No such file or directory functions.c: In function âwrite_functionâ: functions.c:50: error: âCURLE_WRITE_ERRORâ undeclared (first use in this function) functions.c:50: error: (Each undeclared identifier is reported only once functions.c:50: error: for each function it appears in.) functions.c: In function âhttp_queryâ: functions.c:68: error: âCURLâ undeclared (first use in this function) functions.c:68: error: âcurlâ undeclared (first use in this function) functions.c:69: error: âCURLcodeâ undeclared (first use in this function) functions.c:69: error: expected â;â before âresâ functions.c:82: warning: implicit declaration of function âcurl_easy_initâ functions.c:90: warning: implicit declaration of function âcurl_easy_cleanupâ functions.c:96: warning: implicit declaration of function âcurl_easy_setoptâ functions.c:96: error: âCURLOPT_URLâ undeclared (first use in this function) functions.c:98: error: âCURLOPT_NOSIGNALâ undeclared (first use in this function) functions.c:99: error: âCURLOPT_TIMEOUTâ undeclared (first use in this function) functions.c:102: error: âCURLOPT_WRITEFUNCTIONâ undeclared (first use in this function) functions.c:103: error: âCURLOPT_WRITEDATAâ undeclared (first use in this function) functions.c:105: error: âresâ undeclared (first use in this function) functions.c:105: warning: implicit declaration of function âcurl_easy_performâ functions.c:109: error: âCURLE_OKâ undeclared (first use in this function) functions.c:114: warning: implicit declaration of function âcurl_easy_getinfoâ functions.c:114: error: âCURLINFO_HTTP_CODEâ undeclared (first use in this function) make[1]: *** [functions.o] Error 1 make[1]: Leaving directory `/usr/local/src/sr/sip-router/modules/utils' make: *** [modules] Error 1
On Dienstag, 16. Juni 2009, Do Nguyen Ha wrote:
i follow the giude: http://sip-router.org/wiki/migration/kamailio-3.0-config
Hi Do Nguyen Ha,
when i compile "make all" i run into the error
functions.c:25:23: error: curl/curl.h: No such file or directory [..] make[1]: Leaving directory `/usr/local/src/sr/sip-router/modules/utils' make: *** [modules] Error 1
It seems that you missing the curl development dependencies, which are needed in order to compile the utils module. You could just install them, or disable the compilation of the utils module.
Henning
Thank you for the tips Ha` ----- Original Message ----- From: Henning Westerholt To: sr-dev@lists.sip-router.org Cc: Do Nguyen Ha Sent: Tuesday, June 16, 2009 5:58 PM Subject: Re: [sr-dev] compile error on Linux debian 2.6.26-2-686
On Dienstag, 16. Juni 2009, Do Nguyen Ha wrote:
i follow the giude: http://sip-router.org/wiki/migration/kamailio-3.0-config
Hi Do Nguyen Ha,
when i compile "make all" i run into the error
functions.c:25:23: error: curl/curl.h: No such file or directory [..] make[1]: Leaving directory `/usr/local/src/sr/sip-router/modules/utils' make: *** [modules] Error 1
It seems that you missing the curl development dependencies, which are needed in order to compile the utils module. You could just install them, or disable the compilation of the utils module.
Henning