SIP settings

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
mlaporta
Harmless
Posts: 3
Joined: Sun Apr 15, 2007 3:50 pm

SIP settings

Post by mlaporta »

I see there plugin for SIP/SIMPLE but I can just specify
account --> user/password
options --> login-server/port

Normally when i setup a SIP account I have
Login/Password
Domain voip.eutelia.it
Sip Proxy Server voip.eutelia.it
Sip Proxy Socket 5060
Stun Server stun.voip.eutelia.it
Stun Server Socket 3478

Where are these other proxys server settings?
Do I miss something?

My Enviroment
Macosx 10.4.9 with Adium 1.0.2
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

It's not currently possible to configure these settings. It appears that the stun server is configurable in libpurple, the underlying library, at a global level, not a per-account level; is it expected to be able to configure a different stun server for each account?

Please see http://trac.adiumx.com/wiki/RequestingFeatures for how to request features.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
mlaporta
Harmless
Posts: 3
Joined: Sun Apr 15, 2007 3:50 pm

Post by mlaporta »

At the moment the only think I need is a SIP/SIMPLE instant messaging functionality.
I need to connect Adium to a sip server https://mobicents.dev.java.net/ using SIP PROXY Service.

I will fill a request features as you indicated.

Thanks

Michele
mlaporta
Harmless
Posts: 3
Joined: Sun Apr 15, 2007 3:50 pm

Post by mlaporta »

After http://trac.adiumx.com/ticket/6741 has been declared closed/fixed I checkout adiumx source and build it.
Build and go start Adiumx successfully.
I try to setup a SIP/SIMPLE account

I see on edit account ->

ACCOUNT
server (Is this the registrar server?)
port (Is this registrar server port?)

OPTIONS
use sip proxy (Is this Proxy Server?)
use UDP (Is TCP the default value?)
authorization user (Is this in the form user@domain.com?)
authorization domain (Is this in the form domain.com?)

Looking at trunk/Plugins/Purple Service/ESPurpleSimpleAccount.h
I see
12 #define KEY_SIMPLE_USE_SIP_PROXY @"Simple:Use SIP Proxy"
13 #define KEY_SIMPLE_SIP_PROXY @"Simple:SIP Proxy"
14 #define KEY_SIMPLE_AUTH_USER @"Smple:Auth User"
15 #define KEY_SIMPLE_AUTH_DOMAIN @"Smple:Auth Domain"

On the 14/15 should be Simple or Smple is correct?

Enviroment
Mac 10.4.9
Xcode 2.4.1

Thanks

Michele
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

mlaporta wrote: ACCOUNT
server (Is this the registrar server?)
port (Is this registrar server port?)

OPTIONS
use sip proxy (Is this Proxy Server?)
Are any of these unclear? Does 'registrar' need to be written in front of server and port? it seems like there is only one non-proxy server involved and 'server' alone is sufficient.
use UDP (Is TCP the default value?)
Yes. Perhaps this should be a dropdown choice between TCP and UDP.
authorization user (Is this in the form user@domain.com?)
Just user. That's what it's prompting for.
authorization domain (Is this in the form domain.com?)
Yes, the domain.
Looking at trunk/Plugins/Purple Service/ESPurpleSimpleAccount.h
I see
12 #define KEY_SIMPLE_USE_SIP_PROXY @"Simple:Use SIP Proxy"
13 #define KEY_SIMPLE_SIP_PROXY @"Simple:SIP Proxy"
14 #define KEY_SIMPLE_AUTH_USER @"Smple:Auth User"
15 #define KEY_SIMPLE_AUTH_DOMAIN @"Smple:Auth Domain"

On the 14/15 should be Simple or Smple is correct?
*nod* Good catch on the typo. I'll fix that, though it doesn't have any bearing on functionality since the #define value is used everywhere.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
xommen
Harmless
Posts: 6
Joined: Sun Apr 27, 2008 3:08 pm

Re: SIP settings

Post by xommen »

I'm trying to use the sip simple plugin but I am getting an error, I looked in the debug log and found that the plugin tries a register with 330192.168.10.104 @ null where it should send 330@192.168.10.104.

I see that it is written incorrect in the accounts.xml of libpurple allready.

I looked in the source for ESPurpleSimpleAccount.m where I found the following lines but have no idear if and how I could fix it there (if it can be fixed there ;-)).

NSString *userNameWithHost;

/*
* Purple stores the username in the format username@server. We need to pass it a username in this format.
*/
if ([UID rangeOfString:@"@"].location != NSNotFound) {
userNameWithHost = UID;
} else {
userNameWithHost = [UID stringByAppendingString:[self host]];
}

return [userNameWithHost UTF8String];

If anyone has a clue that would be great
Post Reply