[ale] Still dealing with Nextel
Robert L. Harris
Robert.L.Harris at rdlg.net
Thu Jan 23 12:52:08 EST 2003
I'm looking at the Net::SNPP module which appears a bit incomplete. I
don't know java so I'm running with perl. Looks like I'll be using
perl::expect since the Net::SNPP is complaining about missing or
undefined arguements when I'm running cut and paste (except for pager
number, etc) from the man page.
Thus spake cfowler (cfowler at outpostsentinel.com):
> Who needs a stinkin client?. SNPP, SMTP, and POP3 and what I would call
> transaction based interfaces. This makes SNPP that more awesome. It
> means you can interface with telnet, Java, Perl, or even C.
>
> Basically in Java do this:
>
> try {
> Socket s = new Socket("snpp.nextel.com", 443);
> BufferedInputStream bis = new BufferedInputStream(s.getInputStream());
> BufferedOutputStream bos = new
> BufferedOutputStream(s.getOutputStream());
>
> // Know we have stream
> String s = bis.readLine();
>
>
> PAGE <Number>
> MESS <message>
> SEND
> QUIT
>
> // MAke sure after sending each command you get a 2XX respoinse back.
> Just check the first 3 bytes in the bis.readLine() and convert to an
> integer. Then you can check the the number against 2XX.
>
> Example Page I just did to Nextel, your carrier
>
>
> [cfowler at cfowler - CHROOT insmod]$ telnet snpp.nextel.com 444
> Trying 170.206.252.7...
> Connected to snpp.nextel.com.
> Escape character is '^]'.
> 220 SNPP Gateway Ready
> page 7705601050
> 250 Pager ID Accepted
> MESS Call me
> 250 Message OK
> SEND
> 250 Message Sent Successfully
> QUIT
> 221 OK, Goodbye
> Connection closed by foreign host.
>
> With ease of use like that, who needs freshmeat to solve this one?
>
>
> That simple.
>
>
>
> On Thu, 2003-01-23 at 12:25, Robert L. Harris wrote:
> >
> >
> > Got a good linux client?
> >
> > Thus spake cfowler (cfowler at outpostsentinel.com):
> >
> > > SNPP
> > >
> > > Nextel supports it!
> > >
> > > On Thu, 2003-01-23 at 09:50, Robert L. Harris wrote:
> > > >
> > > >
> > > > Ok, I'm still arguing with nextel about emailing to their messaging
> > > > servers. Talking to their techs is along the lines of explaining
> > > > nuclear fusion t a chicken I've surmised.
> > > >
> > > > I'm trying to narrow down the argument here as much as possible.
> > > >
> > > > The scenario:
> > > > From my office I can email to <phone>@messaging.nextel.com and get a
> > > > page within 2 mins
> > > > From my home (*.rdlg.net) any email to messaging.nextel.com times out
> > > > and is never deleivered.
> > > >
> > > > I've been told to email to paging.nextel.com instead, but see'ing as
> > > > it has the same MX servers there's not much difference. Telnet to
> > > > port 25 on the MX connects from my office but not from home. (At this
> > > > point I'm told they don't use telnet to send messages, they use an email
> > > > to SMS gateway... BAWK!!!!)
> > > >
> > > > I've tested with my firewall completely dropped, no change in
> > > > behavior.
> > > >
> > > > Anyone have any thoughts on this? It's become one of those fights I
> > > > just can't give up as it's now a matter of principle...
> > > >
> > > > Robert
> > > >
> > > >
> > > > :wq!
> > > > ---------------------------------------------------------------------------
> > > > Robert L. Harris | PGP Key ID: FC96D405
> > > >
> > > > DISCLAIMER:
> > > > These are MY OPINIONS ALONE. I speak for no-one else.
> > > > FYI:
> > > > perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> > > >
> > >
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> >
> >
> >
> > :wq!
> > ---------------------------------------------------------------------------
> > Robert L. Harris | PGP Key ID: FC96D405
> >
> > DISCLAIMER:
> > These are MY OPINIONS ALONE. I speak for no-one else.
> > FYI:
> > perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> >
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: FC96D405
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
PGP signature
More information about the Ale
mailing list