Pidgin IRC with ZNC and multiple networks - irc

I am using pidgin and ZNC as an IRC Bouncer. In my ZNC I have configured two networks and I would like to use both with pidgin.
My problem is: I don't know how to choose the network when joining a new channel. I always connects me with the first network, but the second one is never taken.
Any suggestions?
Thank You!

Two things to look at here. Are you actually connected to the second network? If not, you need to set your password to "znc user name/znc network name:znc password" in pidgin. This will connect you to the second sever.
If you are already connected to both, it might be easier to add a channel in the znc web interface, and then do a "/join #foo" in that window in pidgin.

In most clients, you specify which ZNC network to connect to with your ZNC username. For example: username/network1 and username/network2.
In Pidgin, you have to include the ZNC username in the Password field as well. Set your IRC Username to username/network1 and your IRC Password to username/network1:password.
Source: http://wiki.znc.in/Pidgin

Related

Jabber multiple JID in one account

maybe anyone know solution.
I have multiple JID.
user#domain.com
user#domain2.com
user#domain3.com
15 JID, on public servers, and also have own jabber(prosody server)
can i split all that JID to one ?
Now i use PSI with multiple accounts, but I would like to use one and the other to forward messages to it.
And that the answer was from the account in which they wrote.
You may use xmpp-2-xmpp transport. It connects the other XMPP account(s) in your name and forwards (proxies) all messages etc.
There are two implementations that I am aware of:
J2J: http://wiki.jrudevels.org/Eng:J2J
Spectrum: http://spectrum.im (with Libpurple Jabber backend)
Unfortunately if you need to connect multiple accounts, you will need to set up multiple transport instances, as one transport instance allows only one registration per user.

Trouble with authenticating using Kamailio

I just installed Kamailio in one server and Asterisk in another. Asterisk loads it sipusers info from database which is in Kamailio server.
I don't know how to go further. How can I authenticate Asterisk users through Kamailio. I am trying to authenticate using a sipphone. But no luck.
I am missing alot here. I know we can add users using the following command
kamctl add username password
But I already have users in asterisk realtime db. Is there any difference? Awaiting your reply,
Thanks in advance,
It is very hard to answer this question correctly.
For anderstand answer you need read info about how sip works and how authentificate in openser/kamailio/opensips work.
Most valuable probably will be kamailio turtorials page
But also you have read sip RFC and general info about asterisk(for example ORelly's "Asterisk the Future of telephony book"
There are no way give you more correct answer, becuase you not specify what exactly you want to get.
For general load balancing setup you need authentificate user on kamailio(user have kamailio ip in UA's) after that forward call to asterisk.
For use kamailio as main point(trunk) for multiple asterisk you need create authorization for your asterisk box and put that info in both kamailio(usualy subscribers table) and asterisk.
Also make sure that your password is not too long , as there is some md5/ha1 challenge that doesn't like passwords to be extremely long.
kamailio_4.3.1 64bit form source

multiple user sign in using single XMPP connection (use gloox connected to gtalk)

is that possible that multiple user signed in using single XMPP connection?
The purpose is to be able to host gloox on the server to push notification.
Short answer: No, it's not possible in standard XMPP.
You may want to use a xmpp-to-xmpp gateway such as Spectrum.

Telnet connection on iPhone

I'm just wondering...
I've downloaded this App called "Telnet Lite" for the iPhone where you can connect to your devices through Telnet. You just give up the IP address, server port, username & password. Works great.
Now I'm wondering how this can be done (in code) on the iPhone. Can someone post a sample code where you establish a connection? I've seen aSynckSocket but I still don't know how to connect and where to give up the username & password for the device...?
Thanks!
Choosing a socket framework/class/layer/whatever is only the first step. You need to review the Telnet RFCs -- there's a good list on the Wikipedia page) -- that will detail the protocol you'll need to implement on your (client) side.
Usually the way those clients work is to silently send up the username/password over the telnet connection when they detect the login prompt - then after that point you are shown what the server sends.

Development SMTP Server

I need a cross platform (at least windows and mac) development utility that runs as an SMTP server that acts as an SMTP server but will redirect all mail to a single address that's configurable. It would also be helpful if it wrote the contents out to a file or gui. Long ago I configured Apache James to do this but it wasn't that straight forward to figure out. Hoping there's something really simple out there.
I need the emails to be forwarded (to the single address) so I can see how they are rendered on different clients (gmail, outlook, etc.)
Thanks! -Mike
We used Mailtrap for this. It give you remote smtp server account and direct access to all mails in it. So you just enter given smtp credential in your application and after that all email sent by your system will be visible on mailtrap.
On mailtrap you can have as many smtp account as you want( different account for different application environments, or different application) Also you can manage access to your account ( so only trusted people will se your emails) and you can forward some emails to real email addresses.
It doesn't do the forwarding you are looking for, but for most of my testing I make use of fakemail (http://www.lastcraft.com/fakemail.php) it's simply a script that listens on a port an acts as an smtp server, writing any incoming mail to a directory.
You could use Python's smtpd library and override the process_message function to only send to the desired address -- i.e. replace the "to" field with your desired constant email address.
Here's a page with some examples of using smtpd (with asyncore) to actually send out mail.