Find Jobs
Hire Freelancers

CenterIM Scripting

$30-250 USD

En curso
Publicado hace alrededor de 13 años

$30-250 USD

Pagado a la entrega
CenterIM is a scriptable instant-messaging client for the linux command line. Information about CenterIM you find here: http://www.centerim.org. How this application can be scripted you'll find on google (Exmaple to get you a feeling: [login to view URL] - but there are many more) I'm looking for two kinds of services to be scripted: - An instant-messaging echo service - An instant-messaging query service Protocols that those have to work with (centerim is capable of them): - ICQ - MSN - Yahoo They shall be started this way: - ./im_echo_service [login to view URL] [login to view URL] - ./im_query_service [login to view URL] [login to view URL] [login to view URL] [login to view URL] The im_echo_service shall work this way: All messages coming in are answered just the way they came in. Afterwards the message "pong" shall be send. Example: Remote client sends: ping Echo service sends: ping Echo service sends: pong Another example: Remote client sends: test Echo service sends: test Echo service sends: pong [login to view URL] shall look this way: <?xml version="1.0" encoding="UTF-8"?> <account> <id>SOME-DESCRIPTION</id> <protocol>ICQ</protocol> <username>ICQNUMBER</username> <password>ICQPASSWORD</password> <wait-for-reply>1</wait-for-reply> </account> Logfile shall log all incoming messages and their source: YYYY-MM-DD HH:MM:SS <ACCOUNT-ID> <SOURCE-USERNAME> <MESSAGE> That's it for this service. The other service is a bit more complex but not much. The [login to view URL] looks the same. The [login to view URL] looks like this: <?xml version="1.0" encoding="UTF-8"?> <tests> <case> <id>SOME-UNIQUE-ID-STRING</id> <uid>REMOTE-USER-ID</uid> <message>some text</message> <reply>some text</message> <pong>true</true> </case> <case> <id>SOME-UNIQUE-ID-STRING-2</id> <uid>REMOTE-USER-ID</uid> <message>some text</message> <reply>some ***</message> <pong>true</true> </case> <case> <id>SOME-UNIQUE-ID-STRING-3</id> <uid>REMOTE-USER-ID</uid> <message>some text</message> <reply>false</message> <pong>true</true> </case> <case> <id>SOME-UNIQUE-ID-STRING-4</id> <uid>REMOTE-USER-ID</uid> <message>some text</message> <reply>false</message> <pong>false</true> </case> </tests> If you can't connect to the IM service this is a "CONNECT-ERROR". Then you don't have to do any more checks and just write in the config file: YYYY-MM-DD <ACCOUNT-ID> CONNECT ERROR. In the [login to view URL] you write ERROR. If it works, after connecting you send the messages in the test cases against the remote uid which is your counterpart chatpartner - the echo service. You check what is coming back from the echo service, compare it and write it in the logfile. YYYY-MM-DD HH:MM:SS <ACCOUNT-ID> <CASE-ID> <REPLY> <REPLY-STATUS> <PONG-BOOL> <PONG-STATUS> To the fields: <ACCOUNT-ID> = id value from given [login to view URL] <CASE-ID> = id from the current case in [login to view URL] <REPLY> = reply you get from the echo service (!= pong), if you get none write FALSE. <REPLY-STATUS> = If message matches the reply (string comparision) or you get no reply and reply was set to false in config write OK, else ERROR. <PONG-BOOL> = TRUE if you got "pong" back, FALSE if not. <PONG-STATUS> = if pong was set to true or false in the case config write OK or ERROR accordingly upon match. Wait for the reply message or the pong for a certain amount of time. Take the time out of [login to view URL] : wait-for-reply. Value shall be in seconds. If you write one single ERROR - write ERROR to [login to view URL] at the end of the run. Otherwise it's OK. Please specify in your bid if you've already worked with centerim and if you have experience in scripting (bash/php/python) and in which language you want to code the check scripts. As in all our biddings: Since we're an incorporated german company we require a valid invoice for your work which either includes your local tax payer id or a vat code if you are a company. Thanks for reading :) Best regards, Sebastian
ID del proyecto: 943600

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 13 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos

Sobre este cliente

Bandera de GERMANY
Fentange, Germany
5,0
53
Miembro desde dic 10, 2008

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.