||[Apr. 5th, 2006|06:37 pm]
The cool thing about having an extensible Jabber server/baseclass is that I can crank out crazy Jabber servers in minutes.
For testing LJ's upcoming SMS integration, we needed a way for developers to pretend they were sending and getting SMSes from their developer LJ installs. Also, non-technical employees needed to test, so command-line clients are out. Web stuff is too painful async. Working with carriers/SMS aggregators is 10x more painful than all that combined.
Solution? Jabber server, of course.
I forgot about this until I got a Google News Alert about it:
Users log in with username of 5551212 (or whatever phonenumber) and a password of "smstest" (arbitrary), then it's like they have that cellphone, from LJ's point of view.
Here's the server:
The only new code are the two FakeSMS modules:
First one delivers messages into LJ (misc/fakesms.bml endpoints, only enabled for developers), and the other one just puts the sms@$SERVER item into users' rosters, to ease testing.
(SMS from LJ to Jabber is handled by the LJ code when $IS_DEV_SERVER)
2006-04-06 03:26 am (UTC)
2006-04-06 05:07 pm (UTC)
Heh, I'm not actually using Jabber yet. Eventually I will be... it'll be firstname.lastname@example.org most likely. But there's no Jabber server running there yet.
2006-04-07 08:29 pm (UTC)
10 million users! Can We celebatte it by start a new permanent account sales for 24 hours?
10 million users! That's a milestone.
I remember how itues celebated their approaching to 100 million songs, 1 billion songs. It's like a festival.
Can We celebatte the great 10 million users by start a new permanent account sales for 24 hours after we reach the 10 millionth?
God, I wish I had a permanent account!
I wouldn't wish I live for ever cause I only can have one wish.
So I wish I have a permanent account even if you set the price of $200. It's like buying a diamond, permanent and forever.
But when and how I can have this festival?
This is a great idea and I am super enthused about all the new LJ implemants you and your awesome team are creating. I think this is going to be a shiny and new era for LJ.