Module: kamailio
Branch: master
Commit: a412047b1fab70931f69a799ab12f97d1f545e78
URL:
https://github.com/kamailio/kamailio/commit/a412047b1fab70931f69a799ab12f97…
Author: Andrew Pogrebennyk <apogrebennyk(a)sipwise.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-04-27T14:47:53+02:00
dispatcher: update doc after 121cb0f4 and fix missing ds_is_from_list function name
Fixes: #143
---
Modified: modules/dispatcher/doc/dispatcher_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/a412047b1fab70931f69a799ab12f97…
Patch:
https://github.com/kamailio/kamailio/commit/a412047b1fab70931f69a799ab12f97…
---
diff --git a/modules/dispatcher/doc/dispatcher_admin.xml
b/modules/dispatcher/doc/dispatcher_admin.xml
index 8b730ca..8edb8c6 100644
--- a/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1141,7 +1141,7 @@ if(ds_list_exist("10")) {
This function can be used from ANY_ROUTE.
</para>
<example>
- <title><function>ds_mark_dst</function> usage</title>
+ <title><function>ds_is_from_list</function> usage</title>
<programlisting format="linespecific">
...
if(ds_is_from_list()) {
@@ -1150,7 +1150,10 @@ if(ds_is_from_list()) {
if(ds_is_from_list("10")) {
...
}
-if(ds_is_from_list("10", "sip:127.0.0.1:5080", "3")) {
+if(ds_is_from_list("10", "3")) {
+ ...
+}
+if(ds_is_from_list("10", "3", "sip:127.0.0.1:5080")) {
...
}
...