Re: MX 6.1 and Sending SMS Messages

2007-11-05 Thread Dave Phillips
 1.  How do I install the jar file on our server?

You need to upload the jar file to the server, and place it on ColdFusion's
classpath (/{cfroot}/lib/ will work).

 2.  The code you provided looks good and simple (which is what I'm looking
 for!).  Will it work with the OpenSMPP jar file, or will I need to change
 the methods to ones that are in OpenSMPP?

The example code I provided was for OpenMarkets / Simplewire's API.  If you
are using the SMPP.jar you will need to use it's API.  There is a sample
java application at
http://opensmpp.logica.com/CommonPart/Download/javatest_1_1/smpptest_full.zi
p that you can look at for reference to what you need to do to utilize it.
I have not worked directly with the OpenSMPP API so I can't help to much
there, but if I can get some time over the weekend I'll see if I can
translate that java test app into CF.

Good luck!

Rich Kroll

Rich and anyone else who's listening :)

I have been successfull in creating objects from the SMPP.JAR classes with my 
coldfusion module.  However, I'm not being successful in sending a message yet. 
 I have looked at the smpptest.java.  One problem I have in converting this to 
Coldfusion is the Byte TYPE.  Some of the parameters needed are supposed to be 
BYTE type but I don't think I can do that in ColdFusion directly.  Can anyone 
suggest how to proceed?

I'm still looking for an example of anyone who has done this in coldfusion mx 
6.1.

Thanks!

Dave 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292695
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: MX 6.1 and Sending SMS Messages

2007-11-02 Thread Rich
 1.  How do I install the jar file on our server?

You need to upload the jar file to the server, and place it on ColdFusion's
classpath (/{cfroot}/lib/ will work).

 2.  The code you provided looks good and simple (which is what I'm looking
 for!).  Will it work with the OpenSMPP jar file, or will I need to change
 the methods to ones that are in OpenSMPP?

The example code I provided was for OpenMarkets / Simplewire's API.  If you
are using the SMPP.jar you will need to use it's API.  There is a sample
java application at
http://opensmpp.logica.com/CommonPart/Download/javatest_1_1/smpptest_full.zi
p that you can look at for reference to what you need to do to utilize it.
I have not worked directly with the OpenSMPP API so I can't help to much
there, but if I can get some time over the weekend I'll see if I can
translate that java test app into CF.

Good luck!

Rich Kroll 


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292529
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: MX 6.1 and Sending SMS Messages

2007-11-02 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
I have been doing this same thing with a product called TCPClient from
www.intrafoundation.com. this program is a COM Object which gives
Coldfusion the ability to communicate with all kids of TCP protocols.

The Cell Phone Providers have and operate an SNPP Gateway which is
using the TAP Protocol which they do not want to admit to as this cuts
out the SMC's but if you ask the right question to the right person
you can get the right information.

If someone is savy with Linux they can install a program called QPAGE,
a 2400Baud Modem to create their own SMC then the Coldfusion
application would talk TCP to this machine to send pages on demand.

This is the same thing which I have been doing for Indiana K-12 School
Corporations for the past 5 years and my application sends out just
under 2 Million text messages each year.

Dave Phillips wrote:
 Okay, before I go any further let me make it clear that our
organization is planning to upgrade to MX 7, but unfortunately, I have
to get this functionality working BEFORE that happens and WITH CF MX
6.1, so please don't just respond with upgrade to MX 7 or CF 8).  Our
company tends to be 1 major version behind for understandable reasons,
and, although I may not agree with them, it's irrelevant.

 Here's the deal:  I need to be able to send an SMS message through a
CFMX 6.1 module.  I understand that smpp.jar is a library of java
classes that could allow me to do this.  I also understand that I can
use something like JavaLoader by Mark Mandel to 'import' the classes and
use them.  However, I know pretty much NIL about java, so I'm looking
for ANYONE that might have tried to do this in MX 6.1 before 7 came out
with it already done for them.  OR, if someone can direct me to a step
by step method of using java classes in ColdFusion, and if it's the
SMPP.JAR classes then all the better.

 I am desparate for some help here.  I've spent hours already and need a
solution soon.  Any help you can provide would be greatly appreciated!

 Thanks!

 Dave

 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292560
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: MX 6.1 and Sending SMS Messages

2007-11-02 Thread Ryan Heldt
Don't know if this was mentioned, but Ben Nadel offered a way of doing this
using cfmail a while back. Might be a little easier than wrestling with a
bunch of Java classes: 
http://www.bennadel.com/index.cfm?dax=blog:692.view

Ryan

 -Original Message-
 From: Dave Phillips [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 01, 2007 5:15 PM
 To: CF-Talk
 Subject: Re: MX 6.1 and Sending SMS Messages
 
 Dave,
 Do you have a SMSC (SMS Center) or an SMS Gateway?  
 Currently we work 
 with OpenMarkets, which provides a java api that we leverage to send 
 SMS, PSMS, etc.
 
 Rich, - I work for a wireless company and we have our own SMS 
 gateway, so the answer to that question is yes - however, 
 there is no API available for me to use...
 
 Either using an API provided from your SMSC, or OpenSMPP (which I 
 assume is where you found SMPP.jar) will be rather easy.  
 You need to 
 install the jar file on your server, and then you can access 
 it via createobject.
 
 So I am using OpenSMPP.  I have the SMPP.jar file.  Can you 
 give me a bit more direction on the following please?
 
 1.  How do I install the jar file on our server?
 2.  The code you provided looks good and simple (which is 
 what I'm looking for!).  Will it work with the OpenSMPP jar 
 file, or will I need to change the methods to ones that are 
 in OpenSMPP?
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292569
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: MX 6.1 and Sending SMS Messages

2007-11-01 Thread Rich
Dave,
Do you have a SMSC (SMS Center) or an SMS Gateway?  Currently we work with
OpenMarkets, which provides a java api that we leverage to send SMS, PSMS,
etc.

Either using an API provided from your SMSC, or OpenSMPP (which I assume is
where you found SMPP.jar) will be rather easy.  You need to install the jar
file on your server, and then you can access it via createobject.

For Simplewire / OpenMarkets here is a sample:

cfscript
sms = createObject('java','com.simplewire.sms.SMS');
sms.setSubscriberID(subscriberID); // SMSC ID
sms.setSubscriberPassword(subscriber_password); // SMSC password
sms.setDestinationAddr(+#destAddress#); // user phone number
sms.setSourceAddr(SMS.ADDR_TYPE_NETWORK, sourceAddress); // phone
number / shortcode
sms.setMsgText('Sending you a message!');
sms.submit();
/cfscript


HTH,
Rich Kroll


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292504
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MX 6.1 and Sending SMS Messages

2007-11-01 Thread Dave Phillips
Dave,
Do you have a SMSC (SMS Center) or an SMS Gateway?  Currently we work with
OpenMarkets, which provides a java api that we leverage to send SMS, PSMS,
etc.

Rich, - I work for a wireless company and we have our own SMS gateway, so the 
answer to that question is yes - however, there is no API available for me to 
use...

Either using an API provided from your SMSC, or OpenSMPP (which I assume is
where you found SMPP.jar) will be rather easy.  You need to install the jar
file on your server, and then you can access it via createobject.

So I am using OpenSMPP.  I have the SMPP.jar file.  Can you give me a bit more 
direction on the following please?

1.  How do I install the jar file on our server?
2.  The code you provided looks good and simple (which is what I'm looking 
for!).  Will it work with the OpenSMPP jar file, or will I need to change the 
methods to ones that are in OpenSMPP?



~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292518
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4