[Freeswitch-users] sip simple delivery

Michael Jerris mike at jerris.com
Mon Jan 4 19:32:16 MSK 2016


check out mod_smpp

> On Jan 1, 2016, at 3:10 PM, Abdul Hakeem <alhakeem at 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 at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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 at gmail.com <mailto:alhakeem at gmail.com>
> To: freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at 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 at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Juan Pablo L.
> Sent: Tuesday, October 20, 2015 9:36 PM
> To: freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at 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 at hotmail.com <mailto:jpablolorenzetti at hotmail.com>
> To: freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>; freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at 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 at bunnykick.ca <mailto:rtreleaven at 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 at hotmail.com <mailto:jpablolorenzetti at hotmail.com>> wrote:
> Hi, can anyone please give me a hint on this ? thank you! 
> From: jpablolorenzetti at hotmail.com <mailto:jpablolorenzetti at hotmail.com>
> To: freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/ce00ad5e/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list