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!
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
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
I will try .. thank you very much ... I will come back with the results ... Sent by Outlook for Android On 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
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 delivery I will try .. thank you very much ... I will come back with the results ... Sent by Outlook for Android On 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
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 delivery I will try .. thank you very much ... I will come back with the results ... Sent by Outlook <http://taps.io/outlookmobile> for Android On 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
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
Hello Juan Pablo, Thanks for the previous message. I wanted to know if the text messages are simply on-Net with users registered to FS only or you are able to route to other networks via SMPP/HTTP as SMS. Best regards, Abdul Hakeem From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Juan Pablo L. Sent: Wednesday, October 21, 2015 12:18 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] sip simple delivery 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 delivery I will try .. thank you very much ... I will come back with the results ... Sent by Outlook <http://taps.io/outlookmobile> for Android On 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
check out mod_smpp
On Jan 1, 2016, at 3:10 PM, Abdul Hakeem <alhakeem@gmail.com> wrote:
Hello Juan Pablo,
Thanks for the previous message. I wanted to know if the text messages are simply on-Net with users registered to FS only or you are able to route to other networks via SMPP/HTTP as SMS.
Best regards, Abdul Hakeem <> From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Juan Pablo L. Sent: Wednesday, October 21, 2015 12:18 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] sip simple delivery
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 <mailto:alhakeem@gmail.com> To: freeswitch-users@lists.freeswitch.org <mailto: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> [mailto: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 <mailto: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 <mailto:jpablolorenzetti@hotmail.com> To: freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>; freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] sip simple delivery I will try .. thank you very much ... I will come back with the results ... Sent by Outlook <http://taps.io/outlookmobile> for Android
On Fri, Oct 16, 2015 at 8:43 AM -0700, "Russell Treleaven" <rtreleaven@bunnykick.ca <mailto: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 <mailto:jpablolorenzetti@hotmail.com>> wrote: Hi, can anyone please give me a hint on this ? thank you! From: jpablolorenzetti@hotmail.com <mailto:jpablolorenzetti@hotmail.com> To: freeswitch-users@lists.freeswitch.org <mailto: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 <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/>http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/>http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/>http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/>http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <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
participants (5)
-
Abdul Hakeem
-
jpablolorenzetti@hotmail.com
-
Juan Pablo L.
-
Michael Jerris
-
Russell Treleaven