[sr-dev] git:4.2: corex: fix name in the example for send_data() function
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 16 00:32:14 CEST 2014
Module: sip-router
Branch: 4.2
Commit: f13e739c767ddfbaaddecc92b492bcf37970a2be
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f13e739c767ddfbaaddecc92b492bcf37970a2be
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Thu Oct 16 00:03:22 2014 +0200
corex: fix name in the example for send_data() function
(cherry picked from commit 101af78891607fae2e63d5976c8e13b90334c03f)
---
modules/corex/README | 2 +-
modules/corex/doc/corex_admin.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/corex/README b/modules/corex/README
index 00a7b63..20397c6 100644
--- a/modules/corex/README
+++ b/modules/corex/README
@@ -288,7 +288,7 @@ modparam("corex", "msg_avp", "$avp(msg)")
Example 1.7. send_data usage
...
- send("sip:example.com:5070;transport=sctp", "Message at $Ts");
+ send_data("sip:example.com:5070;transport=sctp", "Message at $Ts");
...
4.5. is_incoming()
diff --git a/modules/corex/doc/corex_admin.xml b/modules/corex/doc/corex_admin.xml
index 31ab300..d2b84c7 100644
--- a/modules/corex/doc/corex_admin.xml
+++ b/modules/corex/doc/corex_admin.xml
@@ -267,7 +267,7 @@ modparam("corex", "msg_avp", "$avp(msg)")
<title><function>send_data</function> usage</title>
<programlisting format="linespecific">
...
- send("sip:example.com:5070;transport=sctp", "Message at $Ts");
+ send_data("sip:example.com:5070;transport=sctp", "Message at $Ts");
...
</programlisting>
</example>
More information about the sr-dev
mailing list