Hi Abdul, yes of course, this is what i m doing: I m creating an application that processes text messages from users, my application checks if a user has balance or not and depending on the case it allows or not the message to be delivered, so i have enabled mod_sms, and configured the chat plan as follows: <extension name="demo"> <condition field="to" expression="^(.*)$"> <action application="set" data="skip_global_process=true" /> <action application="set" data="final_delivery=true" /> <action application="smartvoip_sms" data="${from_user} ${to_user} ${_body}" /> <action application="stop" data=""/> </condition> </extension> smartvoip_sms is my application and as you can see that is how i set the 'final_delivery' flag, i could have done programmatically too but so far that works for me. tell me if this is what you need. regards!! From: alhakeem@gmail.com To: freeswitch-users@lists.freeswitch.org Date: Tue, 20 Oct 2015 22:28:40 +0100 Subject: Re: [Freeswitch-users] sip simple delivery Juan,Are you able to share how you added the ‘final delivery’ header to the message ?Cheers,Abdul Hakeem From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Juan Pablo L. Sent: Tuesday, October 20, 2015 9:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] sip simple delivery just wanted to confirm that this was what i was looking for, thank you very much!Date: Fri, 16 Oct 2015 18:43:48 +0000 From: jpablolorenzetti@hotmail.com To: freeswitch-users@lists.freeswitch.org; freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] sip simple deliveryI will try .. thank you very much ... I will come back with the results ... Sent by Outlook for AndroidOn Fri, Oct 16, 2015 at 8:43 AM -0700, "Russell Treleaven" <rtreleaven@bunnykick.ca> wrote:I think this is what you want. Not sure because it was quite a while ago that I looked at this. you need to add a header "final_delivery" to the message with a value of "true" Hope that helps. On Fri, Oct 16, 2015 at 12:01 AM, Juan Pablo L. <jpablolorenzetti@hotmail.com> wrote:Hi, can anyone please give me a hint on this ? thank you! From: jpablolorenzetti@hotmail.com To: freeswitch-users@lists.freeswitch.org Date: Wed, 14 Oct 2015 22:30:54 +0000 Subject: [Freeswitch-users] sip simple delivery Hi, i would like to find out how can i stop a sip simple from being delivered once it has been dealt with, i have a module that receives the event and decides whether to deliver it or not based on some criteria ($$), but it does not matter what the module does, after it has finished precessing the message, freeswitch still delivers it. i understand it does this by default, any advise would be appreciated. thanks! _________________________________________________________________________ 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 _________________________________________________________________________ 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 _________________________________________________________________________ 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 _________________________________________________________________________ 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 _________________________________________________________________________ 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