Browse code

corex: fix name in the example for send_data() function

(cherry picked from commit 101af78891607fae2e63d5976c8e13b90334c03f)

Daniel-Constantin Mierla authored on 15/10/2014 22:03:22
Showing 2 changed files
... ...
@@ -288,7 +288,7 @@ modparam("corex", "msg_avp", "$avp(msg)")
288 288
 
289 289
    Example 1.7. send_data usage
290 290
 ...
291
-        send("sip:example.com:5070;transport=sctp", "Message at $Ts");
291
+        send_data("sip:example.com:5070;transport=sctp", "Message at $Ts");
292 292
 ...
293 293
 
294 294
 4.5. is_incoming()
... ...
@@ -267,7 +267,7 @@ modparam("corex", "msg_avp", "$avp(msg)")
267 267
 		<title><function>send_data</function> usage</title>
268 268
 		<programlisting format="linespecific">
269 269
 ...
270
-	send("sip:example.com:5070;transport=sctp", "Message at $Ts");
270
+	send_data("sip:example.com:5070;transport=sctp", "Message at $Ts");
271 271
 ...
272 272
 </programlisting>
273 273
 		</example>