Hi,

When you intercept the message and send it again, what happen to the original message, is it sent to the destination as well?

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...

I tried the action stop but no luck...

You can  check the  output of my test is here:

https://pastebin.freeswitch.org/24170


Thanks,
António


On 03/17/2015 09:58 PM, David Wafula wrote:
OH cool. Chatplan it is.
Thanks!

On Tue, Mar 17, 2015 at 3:06 PM, Brian West <brian@freeswitch.org> wrote:
You would use the Chat Plan to accomplish this, I'm pretty sure examples are on confluence or wiki.

On Mon, Mar 16, 2015 at 6:29 PM, David Wafula <davidwaf@gmail.com> wrote:
Dear all,
We are implementing custom messaging system that is using freeswitch.
I wish to intercept a chat message, prepend Country Code (or whatever i want)  of the sender, then forward it to receiver.
How does one intercept a chat message ?

Regards,
--
David Wafula

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
David Wafula


_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-- 
---
António Silva