[jdev] SMS transport testing

Ma. Gina Ibarrola ginaibarrola at yahoo.com
Tue Nov 9 01:53:10 CST 2004


Sorry if I may sound dumb, but I still can't test my
SMS transport. Please tell me what I'm doing wrong,
because I've installed other transports (Yahoo, MSN)
correctly. I've been googling around but can't find a
documentation on how to set up the transport and test
it. Any help would really be appreciated. 

I have the following installed in my jabber server:
  jabberd-1.4.3
  smst.pl
  SMS.pm

I run my jabber server using the command
./jabberd/jabberd
and then the script of the SMS transport perl smst.pl

my jabber.xml file contains the following:
    <browse>
        <service type="sms" jid="sms.[hostname]"
name="SMS Transport">
          <ns>jabber:iq:register</ns>
          <ns>jabber:iq:gateway</ns>
          <ns>jabber:iq:browse</ns>
          <ns>jabber:iq:version</ns>
        </service>
    </browse>

  <service id="sms">
    <host>sms.[hostname]</host>
    <accept>
      <ip>[some ip address]</ip>
      <port>9005</port>
      <secret>secret</secret>
    </accept>
  </service>

and the first lines of my smst.pl file looks like
this:
use constant SERVICE_NAME => 'sms.[hostname]';   #
full name of the SMS transport.
use constant SERVER       => '[some ip address]';     
 # ip/hostname of the jabber server to connect to
use constant PORT         => 9005;              # port
on the jabber server to connect to
use constant SECRET       => 'secret';          #
SECRET phrase for jabber component connection.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the JDev mailing list