Hi,
I would propose to:
- To split the module in 2: marketing and sms sender
- To adapt the sms sender to be similar to the outgoing mail server
- As the sending of sms can be more expensive, I would add the
possibility to define some RULES to choose among multiple outgoing sms
senders. For example: if mobile starts with +34, use spanish outgoing
sms sender, etc. I have this functionality in asterisk using a
combination of RegExps and Weight indicators, so the rule whose RegExp
matchs the number, with the upper weight, define the gateway to be used.
- I would implement, as well, incoming sms gateways that trigger
actions. In my asterisk solution, I have, for example, enabled the
possibility to trigger sales by incoming sms messages. It would be a
fact of just triggering a server action with the incoming gateway, the
date, the recipient and the message received
- In the outgoing sms server, I would define a TYPE field, because,
for example, we dont use http apis, we use own devices, and the
treatment is very different. this type field will encapsulate the
strategy pattern that will determine which aditional module or funcion
will be use to send the message.
- Additionally: We use our own sms gateways (GoIP), and they need
to register using port udp 4444 on a server that stores their ip and
status. So a module would be needed to open that port, listen for the
devices registration, register their ip and status, and offer them to
the outgoing sms gateways. So an aditional module specific for these
devices would be usefull as well. This would enable option to use own
devices to any openerp user, very easilly. I will develop this module
for myself in our OpenERP, so I could colaborate with this.
So, in short words, I could "copy" the ir.mail.server funtionality
to enable sms sending and receiving
Jaime Sánchez (GrupoCITEC)
On 09/17/2013 10:43 AM, Phui Hock wrote:
Sounds good to me too. Maybe we can put off a merge proposal for now
and have the refactoring done in my public repo.
I make another announcement here when it's good again?
-- PH
On Tue, Sep 17, 2013 at 9:22 PM, Nhomar Hernández <nho...@gmail.com
<mailto:nho...@gmail.com>> wrote:
2013/9/17 Guewen Baconnier <guewen.baconn...@camptocamp.com
<mailto:guewen.baconn...@camptocamp.com>>
On 09/17/2013 03:11 PM, Stefan wrote:
On 09/17/2013 03:00 PM, Nhomar Hernández wrote:
IMHO.
"Send SMS" can be used in a lot of features beside
marketing.
Yes, certainly. But in that case, I suggest that the
interface part be
split off from the marketing part.
Cheers,
Stefan.
I agree with Stefan. This still makes more sense if one want
to use it for another purpose but not for marketing.
I read the code.
I understand your points yeah the marketing feature must be split
in a separate module from the "Send Message" part 1 module.
THe Send message for marketing "Other module."
But as a Version 1, I can live with both together ;-).
Regards.
--
Guewen Baconnier
Business Solutions Software Developer
Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 39 <tel:%2B41%2021%20619%2010%2039>
Office: +41 21 619 10 10 <tel:%2B41%2021%20619%2010%2010>
http://www.camptocamp.com/
--
--------------------
Saludos Cordiales
Nhomar G. Hernandez M.
+58-414-4110269 <tel:%2B58-414-4110269>
Skype: nhomar00
Web-Blog: http://geronimo.com.ve <http://geronimo.com.ve/>
Servicios IT: http://vauxoo.com <http://vauxoo.com/>
Linux-Counter: 467724
Correos:
nho...@openerp.com.ve <mailto:nho...@openerp.com.ve>
nho...@vauxoo.com <mailto:nho...@vauxoo.com>
twitter @nhomar
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
<https://launchpad.net/%7Eopenerp-community>
Post to : openerp-community@lists.launchpad.net
<mailto:openerp-community@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openerp-community
<https://launchpad.net/%7Eopenerp-community>
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp