[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Partysip-dev] Authentication and Windows Messenger
From: |
Peter Andranistakis |
Subject: |
RE: [Partysip-dev] Authentication and Windows Messenger |
Date: |
Wed, 25 Sep 2002 23:04:40 -0500 |
Here is my partysip.conf file. I am using the latest cvs build of osip and
partysip but I did have this working earlier with partysip ver 4.6 and osip
0.8.9. Hope this helps.
Messenger Configuration
-----------------------
- Menu "tools","options", "accounts" tab select "Communications Service"
- Under "Advanced" select "configure settings", leave "server name or IP
address" blank, select "UDP"
- Log into messenger using, in this case, address@hidden as the "Sign-in
name"
- when sign in dialog pops up enter 3010 in "username" field and password in
"password" field as specified in the partysip.conf file
----------------------------------------------
# partysip.conf file
#### linux has autodetection of IP and FQDN, but it's a good idea to specify
#### your ip and fqdn as it may find and use the wrong interface.
# use this for local test
# serverip = 127.0.0.1
# servername = sip.wellx.com
# serverport_udp = 5060 default value
###
# this is used for generating random string and MUST BE AT LEAST 10
characters
magicstring = wellX_partysip_a45bc357
serverrealm = "10.0.0.5"
# ask for authentication on/off
authentication = on
# sub configs
# - ALL GLOBAL CONFIGURATION MUST BE ABOVE -
<filter>
# NOT IMPLEMENTED
</filter>
<sless>
#mode redirect
mode stateless
# invite rquri ip ignore
invite rquri ip forward
# invite header route ignore
invite header route forward
# request rquri ip ignore
request rquri ip forward
# request header route ignore
request header route forward
record-route off
</sless>
<sfull>
record-route off
</sfull>
<localdb>
#mode redirect
#mode stateless
mode statefull
record-route off
</localdb>
# The "userinfo" is a partysip configuration, not a plugin one.
<userinfo>
# static user list of known users
#
# for "user" type:
# <user> <sip:address@hidden> <auth_login> <auth_passwd>
# user sip:address@hidden jack secret
user sip:address@hidden 3005 3005
user sip:address@hidden 3006 3006
user sip:address@hidden 3007 3007
user sip:address@hidden 3008 3008
user sip:address@hidden 3009 3009
user sip:address@hidden 3010 3010
user sip:address@hidden 3011 3011
user sip:address@hidden 3012 3012
</userinfo>
----------------------------------------------
Windows Messenger 4.7 REGISTER packet captures
----------------------------------------------
REGISTER sip:10.0.0.5 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=ec78a361-3fb5-41c0-ba10-3596037bf04d
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 1 REGISTER
Contact: <sip:10.0.0.184:14124>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, NOTIFY, ACK"
User-Agent: Windows RTC/1.0
Expires: 1200
Event: registration
Allow-Events: presence
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=ec78a361-3fb5-41c0-ba10-3596037bf04d
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="10.0.0.5",
nonce="20a7c5c737a5a8f7ad68117be7b83117",
opaque="6d7d1fa49e13d27d25915265c6ec8fbc"
Content-Length: 0
REGISTER sip:10.0.0.5 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=ec78a361-3fb5-41c0-ba10-3596037bf04d
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 2 REGISTER
Contact: <sip:10.0.0.184:14124>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, NOTIFY, ACK"
User-Agent: Windows RTC/1.0
Expires: 1200
Event: registration
Allow-Events: presence
Authorization: Digest username="", realm="10.0.0.5", algorithm="md5",
uri="sip:10.0.0.5", nonce="20a7c5c737a5a8f7ad68117be7b83117",
opaque="6d7d1fa49e13d27d25915265c6ec8fbc",
response="722e0b463c632a54c17a20f7e1839169"
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=ec78a361-3fb5-41c0-ba10-3596037bf04d
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 2 REGISTER
WWW-Authenticate: Digest realm="10.0.0.5",
nonce="b9c0599f137609af50f8cf7790c50f38",
opaque="25d7e5cdfe3ded9cad3534b1f7a84875"
Content-Length: 0
REGISTER sip:10.0.0.5 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=6f6064e4-7c3a-4821-99d8-5fe2582c9935
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 1 REGISTER
Contact: <sip:10.0.0.184:14124>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, NOTIFY, ACK"
User-Agent: Windows RTC/1.0
Expires: 1200
Event: registration
Allow-Events: presence
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=6f6064e4-7c3a-4821-99d8-5fe2582c9935
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="10.0.0.5",
nonce="a8765248a8be3f7410d5c0a589ca98b3",
opaque="875d006dde9f61b91bad4c6b675ea83d"
Content-Length: 0
REGISTER sip:10.0.0.5 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=6f6064e4-7c3a-4821-99d8-5fe2582c9935
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 2 REGISTER
Contact: <sip:10.0.0.184:14124>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, NOTIFY, ACK"
User-Agent: Windows RTC/1.0
Expires: 1200
Event: registration
Allow-Events: presence
Authorization: Digest username="3010", realm="10.0.0.5", algorithm="md5",
uri="sip:10.0.0.5", nonce="a8765248a8be3f7410d5c0a589ca98b3",
opaque="875d006dde9f61b91bad4c6b675ea83d",
response="c5cff2f98417203ddbf5094dd2818ecc"
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.0.184:14124
From: <sip:address@hidden>;tag=6f6064e4-7c3a-4821-99d8-5fe2582c9935
To: <sip:address@hidden>;tag=3770004507
Call-ID: address@hidden
CSeq: 2 REGISTER
Contact: <sip:10.0.0.184:14124>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, NOTIFY, ACK";expires=1200
Content-Length: 0
From: "Jain, Vishal" <address@hidden>
Reply-To: address@hidden
To: "'address@hidden'"
<address@hidden>
Subject: RE: [Partysip-dev] Authentication and Windows Messenger
Date: Wed, 25 Sep 2002 11:57:55 -0400
I am interested in your partysip.conf file :-)
Thanks
-----Original Message-----
From: Peter Andranistakis [mailto:address@hidden
Sent: Wednesday, September 25, 2002 11:40 AM
To: address@hidden
Subject: Re: [Partysip-dev] Authentication and Windows Messenger
I have authentication working with Windows Messenger and partysip. It
seems
ask for authentication both for REGISTER and INVITE messages. I can post
partysip.conf file as well as packet captures if anyone is interested.
>From: Aymeric Moizard <address@hidden>
>Reply-To: address@hidden
>To: Gonzalo Valencia <address@hidden>
>CC: <address@hidden>
>Subject: Re: [Partysip-dev] Authentication and Windows Messenger
>Date: Sat, 21 Sep 2002 02:35:39 +0200 (CEST)
>
>
>
>Only a few registrations has been done with several IP phones
>but I never tried to test making calls through any UAs and don't
>remember what should happen...
>
>By now, you should assume that it won't. However it is possible
>to only authenticate REGISTER and not other request but it might
>require a very few change in the autheitcation plugin.
>
>Aymeric
>
>On Fri, 20 Sep 2002, Gonzalo Valencia wrote:
>
> > Hello, have anybody managed to use authentication with Partysip and
> > Windows Messenger?
> >
> > Gonzalo
> >
> >
> > _______________________________________________
> > Partysip-dev mailing list
> > address@hidden
> > http://mail.freesoftware.fsf.org/mailman/listinfo/partysip-dev
> >
>
>
>
>_______________________________________________
>Partysip-dev mailing list
>address@hidden
>http://mail.freesoftware.fsf.org/mailman/listinfo/partysip-dev
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
Partysip-dev mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/partysip-dev
_______________________________________________
Partysip-dev mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/partysip-dev
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx