[JDEV] Net::Jabber sample transport
Rob Torop
rob.torop at verizon.net
Sun Jan 28 21:48:26 CST 2001
I can't get the sample transport example included in Net::Jabber to
work. At this point, I think I'm close, so maybe someone can tell me
what I'm doing wrong. I'd appreciate any help! I'm running all programs
(server 1.4pre2, transport.pl, transport_test.pl) on my home LAN on the
machine named bluemasq.
1. I modified jabber.xml like this:
A. Added in the following <service/> item:
<jsm>
...
<browse>
...
<service type="test" jid="test.bluemasq" name="UC Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
</service>
B. Added this down below after the <log/>
<service id="test.bluemasq">
<accept>
<ip/>
<port>7777</port>
<secret>test</secret>
</accept>
</service>
2. I ran transport.pl like this
perl transport.pl bluemasq 5222 test test
3. I modifed transport_test.pl, replacing "transport.test.foo" with
"test.bluemasq". I then ran it like this
perl transport_test.pl bluemasq 5222 myid mypasswd blah
More information about the JDev
mailing list