Module: kamailio
Branch: master
Commit: 706a72f14362d4bfb609ec45856de6b4339c9563
URL:
https://github.com/kamailio/kamailio/commit/706a72f14362d4bfb609ec45856de6b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-04T08:24:29+02:00
corex: documentation for sendx() function
---
Modified: src/modules/corex/doc/corex_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/706a72f14362d4bfb609ec45856de6b…
Patch:
https://github.com/kamailio/kamailio/commit/706a72f14362d4bfb609ec45856de6b…
---
diff --git a/src/modules/corex/doc/corex_admin.xml
b/src/modules/corex/doc/corex_admin.xml
index bada400b9f..bee0ec4791 100644
--- a/src/modules/corex/doc/corex_admin.xml
+++ b/src/modules/corex/doc/corex_admin.xml
@@ -272,7 +272,32 @@ modparam("corex", "msg_avp",
"$avp(msg)")
</programlisting>
</example>
</section>
- <section id="corex.f.is_incoming">
+
+ <section id="corex.f.sendx">
+ <title>
+ <function moreinfo="none">sendx(uri, sock, data)</function>
+ </title>
+ <para>
+ Send the data to address specified by uri using a specific local
+ socket. All parameters can contain pseudo-variables. The uri
+ parameter has to be a valid SIP URI. The sock parameter has to be
+ a valid socket specifier (like values assigned to $fs). The data
+ parameter can by any arbitrary content.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>sendx</function> usage</title>
+ <programlisting format="linespecific">
+...
+sendx("sip:example.com:5070;transport=sctp", "sctp:2.3.4.5:5060",
"Message at $Ts");
+...
+</programlisting>
+ </example>
+ </section>
+
+ <section id="corex.f.is_incoming">
<title>
<function moreinfo="none">is_incoming()</function>
</title>