<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
When you intercept the message and send it again, what happen to the
original message, is it sent to the destination as well?<br>
<br>
I'm trying to implement a small dialplan where i want to be able to
allow only a certain users to chat between them, but i can't make FS
to drop the original message...<br>
<br>
I tried the action stop but no luck... <br>
<br>
You can check the output of my test is here:<br>
<br>
<a class="moz-txt-link-freetext" href="https://pastebin.freeswitch.org/24170">https://pastebin.freeswitch.org/24170</a><br>
<br>
<br>
Thanks,<br>
António<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/17/2015 09:58 PM, David Wafula
wrote:<br>
</div>
<blockquote
cite="mid:CAK9Ws2fW41hjiMmYiXA1gyPRFY9Av+jMx1eHYWFCs2OjsLRFww@mail.gmail.com"
type="cite">
<div dir="ltr">OH cool. Chatplan it is.
<div>Thanks!</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 17, 2015 at 3:06 PM, Brian
West <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">You would use the Chat Plan to accomplish
this, I'm pretty sure examples are on confluence or wiki.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="h5">On Mon, Mar 16, 2015 at 6:29 PM, David
Wafula <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:davidwaf@gmail.com" target="_blank">davidwaf@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div dir="ltr">Dear all,
<div>We are implementing custom messaging system
that is using freeswitch.<br>
<div>I wish to intercept a chat message,
prepend Country Code (or whatever i want)
of the sender, then forward it to receiver.</div>
<div>How does one intercept a chat message ?<br
clear="all">
<div><br>
</div>
<div>Regards,</div>
<span><font color="#888888">-- <br>
<div>David Wafula</div>
</font></span></div>
</div>
</div>
<br>
</div>
</div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org"
target="_blank">http://confluence.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<p><font face="courier new, monospace"><b><i><font
size="4">Brian West</font></i></b><br>
<span style="font-size:x-small"><a
moz-do-not-send="true"
href="mailto:brian@freeswitch.org"
target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font face="courier new, monospace" size="1"><img
moz-do-not-send="true"
src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br>
</font></p>
<p><font face="courier new, monospace"><b><i>Twitter:
@FreeSWITCH , @briankwest</i></b><br>
<a moz-do-not-send="true"
href="http://www.freeswitchbook.com"
target="_blank">http://www.freeswitchbook.com</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchcookbook.com"
target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b><a
moz-do-not-send="true" href="tel:%2B19184209001"
value="+19184209001" target="_blank">+19184209001</a>
| <b>F:</b><a moz-do-not-send="true"
href="tel:%2B19184209002" value="+19184209002"
target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST
(9378)<br>
<b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543
| <b>Skype:</b>briankwest</font></p>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">David Wafula</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
---
António Silva</pre>
</body>
</html>