[ejabberd] need help with command-line messaging like sendxmpp

Jesse Thompson jesse.thompson at doit.wisc.edu
Thu Jun 26 21:07:43 MSD 2008


Check out the following example in Net::XMPP2 for sending a basic
message via command line.  It should work without any modification (does
DNS SRV lookup, etc)

Net-XMPP2-0.13/samples/sendmsg

Jesse


Eric Wood wrote:
> Thanks Jesse.  I do have my ejabberd node (ejabberd at jabberdev) is running 
> under a different domain than my primary virtual host I use:
> 
> Host  Registered Users   Online Users
> interplas.com 33   23
> localhost 0 0
> jabberdev.tracepackage.com  0 0
> 
> So, I do have to set "interplas.com" as my login server and 
> "jabberdev.tracepackage.com" as my host.   I've tried placing the 
> 'componentname' argument in many places in the Net::XMPP files as well as 
> the sendxmpp perl script.  I just don't see exactly how to do it.  Maybe my 
> fedora software is just too dated:  perl-Net-XMPP-1.02-2.fc6
> 
> But, I'll look into grabbing XMPP2.
> 
> Thanks,
> -Eric Wood
> 
> 
> Jesse Thompson wrote:
>> I'm not sure if this is your issue, but if your domain is different than
>> your server name, then with Net::XMPP, you need to supply a
>> 'componentname' argument equal to your domain 
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

-- 
  Jesse Thompson
  Email/IM: jesse.thompson at doit.wisc.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3353 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20080626/a07cedda/attachment-0001.bin 


More information about the ejabberd mailing list