linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] authorize problems


From: Aymeric Moizard
Subject: Re: [Linphone-users] authorize problems
Date: Sat, 6 Jul 2002 17:00:54 +0200 (CEST)

Hi,

This is not possible with linphone.
Another limitation that comes from this config is that
you can't configure several account. I guess simon
was not aware that the login/password is not
related to a sip-url.

To make it clear, we need that linphone propose such entry
in the configuration box:

identy:
 1: You sip-url: sip: jack @ anode.atosc.org
Accounts:
 1: login: jack      passwd: mdp     realm: "sip:anode.atosc.org"
 2: login: aymeric   passwd: ge5424  realm: "sip:linphone.org"
 2: login: ftuser234 passwd: azdadzd realm: "sip:pstn-gateway.com"

Would be great! but I guess simon don't want to quickly work
on this useless topic (for him!)

If you want to patch linphone for your only account, I guess
you just have to overwrite a very few values in
osipua/src/autentication.c

Aymeric

On Sat, 6 Jul 2002, Calle Lidstrom wrote:

> Hi,
>
> I have used linphone for a coupple of weeks and it seems to be working!
>
> So far, so good :)
>
> I have successfully connected to sip-gateways without authorization. But I
> cannot connect to a sip-server with a password (I think that the
> sip-server is running software from hotsip, but I'm not sure.)
>
> Though, I can connect with a Cisco ATA 186 box.
>
> As I can see, linphone tries to connect as Digest
> username="08123456", realm="swipnet.se" but I would like it to use
> 08123456@@swipnet.se as username and still use the realm="swipnet.se"
>
> Right or wrong? Known bug? Anything? ;-)
>
>
> Here is a snifferlog from both of the attempts.
>
> 1.1.1.1 = my linuxbox or the cisco ata box (also mentioned as client)
> 2.2.2.2 = the modempool
> server = sip-server (not modempool)
> 08123456 = my phonenumber
> 0890510 = called number
>
> <connect attempt with linphone>
>
> client -> server
> REGISTER sip:swipnet.se SIP/2.0
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden>;tag=4a24d
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 1 REGISTER
> Contact: <sip:address@hidden>
> expires: 900
> user-agent: oSIP/Linphone-0.8.0
> Content-Length: 0
>
>
> server -> client
>
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden>;tag=4a24d
> Call-ID: address@hidden
> CSeq: 1 REGISTER
> Content-Length: 0
> WWW-Authenticate: Digest realm="swipnet.se",nonce=
> "c262fecc5c3ba849922baaef628395ef",opaque="8e20ea7
> a203fc1d181bf4784a1be835e",qop="auth"
> To: <sip:address@hidden>;tag=6e7a14-ee35206
> d3b--7fff
>
> client -> server
>
> REGISTER sip:swipnet.se SIP/2.0
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden>;tag=4a24d
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 2 REGISTER
> Contact: <sip:address@hidden>
> Authorization: Digest username="08123456", realm
> ="swipnet.se", nonce="c262fecc5c3ba849922baaef6283
> 95ef", uri="sip:swipnet.se", response="01a7f3c29e3
> 6cf4e6584a76699c2d6d4", algorithm=MD5, opaque="8e2
> 0ea7a203fc1d181bf4784a1be835e"
> expires: 900
> user-agent: oSIP/Linphone-0.8.0
> Content-Length: 0
>
> server -> client
>
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden>;tag=4a24d
> Call-ID: address@hidden
> CSeq: 2 REGISTER
> Content-Length: 0
> WWW-Authenticate: Digest realm="swipnet.se",nonce=
> "84fa5416bf1b27ea2b46d3a728cf511d",opaque="ddb930d
> 0ce17c7d9d1d0170f25958809",qop="auth"
> To: <sip:address@hidden>;tag=6e7a14-ee35206
> d3b--7fff
>
> ------------------------------------------------
>
> <successfull attempt with a Cisco ATA 186>
>
>
> client -> server
> INVITE sip:address@hidden;user=phone SIP/2.0
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> To:  <sip:address@hidden;user=phone>
> Call-ID: address@hidden
> CSeq: 1 INVITE
> Contact:  <sip:address@hidden:5060;user
> =phone;transport=udp>
> User-Agent: Cisco ATA  v2.15.TEST ata186 (020620a)
>
> Expires: 300
> Content-Length: 231
> Content-Type: application/sdp
> v=0
> o=08123456 11168 11168 IN IP4 1.1.1.1
> s=ATA186 Call
> c=IN IP4 1.1.1.1
> t=0 0
> m=audio 10000 RTP/AVP 8 0 101
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
>
> server -> client
> SIP/2.0 407 Proxy Authentication Required
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> Call-ID: address@hidden
> CSeq: 1 INVITE
> Content-Length: 0
> Proxy-Authenticate: Digest realm="swipnet.se",nonc
> e="7e3aa6bd3a4fa02cb6b9cb4153d6e5a9",opaque="b4a41
> 4fac6d8e085ae2385fac584b396",qop="auth"
> To: <sip:address@hidden;user=phone>;tag=6e7a14
> -ee35206d3b--7fff
>
> client -> server
> ACK sip:address@hidden:5060 SIP/2.0
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> To: <sip:address@hidden;user=phone>;tag=6e7a14
> -ee35206d3b--7fff
> Call-ID: address@hidden
> CSeq: 1 ACK
> User-Agent: Cisco ATA  v2.15.TEST ata186 (020620a)
> Content-Length: 0
>
> client -> server
> INVITE sip:address@hidden;user=phone SIP/2.0
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> To:  <sip:address@hidden;user=phone>
> Call-ID: address@hidden
> CSeq: 2 INVITE
> Contact:  <sip:address@hidden:5060;user
> =phone;transport=udp>
> User-Agent: Cisco ATA  v2.15.TEST ata186 (020620a)
> Proxy-Authorization: Digest username="address@hidden
> wipnet.se",realm="swipnet.se",nonce="7e3aa6bd3a4fa
> 02cb6b9cb4153d6e5a9",uri="sip:address@hidden",
> response="e18fbb505e7a2df313a3b07dfe3a9cfe",qop=au
> th,cnonce="6f4303d7",nc=00000001,opaque="b4a414fac
> 6d8e085ae2385fac584b396"
> Expires: 300
> Content-Length: 231
> Content-Type: application/sdp
> v=0
> o=08123456 11178 11178 IN IP4 1.1.1.1
> s=ATA186 Call
> c=IN IP4 1.1.1.1
> t=0 0
> m=audio 10000 RTP/AVP 8 0 101
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
>
> server -> client
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> To:  <sip:address@hidden;user=phone>
> Call-ID: address@hidden
> CSeq: 2 INVITE
> Content-Length: 0
>
> server -> client
> SIP/2.0 183 Session Progress
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden;user=phone>;tag=2
> 760635519
> To: <sip:address@hidden;user=phone>;tag=827450
> C-CE2
> Date: Fri, 05 Jul 2002 23:51:38 GMT
> Call-ID: address@hidden
> Server: Cisco-SIPGateway/IOS-12.x
> CSeq: 2 INVITE
> Allow-Events: telephone-event
> Content-Type: application/sdp
> Content-Disposition: session;handling=required
> Content-Length: 208
>
> v=0
> o=CiscoSystemsSIP-GW-UserAgent 607 5015 IN IP4 2.2.2.2
> s=SIP Call
> c=IN IP4 2.2.2.2
> t=0 0
> m=audio 19268 RTP/AVP 8 100
> a=rtpmap:8 PCMA/8000
> a=rtpmap:100 X-NSE/8000
> a=fmtp:100 192-194
>
> server -> client
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden;user=phone>;tag=2
> 760635519
> To: <sip:address@hidden;user=phone>;tag=827450
> C-CE2
> Date: Fri, 05 Jul 2002 23:51:38 GMT
> Call-ID: address@hidden
> Server: Cisco-SIPGateway/IOS-12.x
> CSeq: 2 INVITE
> Allow-Events: telephone-event
> Contact: <sip:address@hidden:5060;user=pho
> ne>
> Record-Route: <sip:address@hidden;maddr=2.2.2.2>
> Content-Type: application/sdp
> Content-Length: 208
>
> v=0
> o=CiscoSystemsSIP-GW-UserAgent 607 5015 IN IP4 2.2.2.2
> s=SIP Call
> c=IN IP4 2.2.2.2
> t=0 0
> m=audio 19268 RTP/AVP 8 100
> a=rtpmap:8 PCMA/8000
> a=rtpmap:100 X-NSE/8000
> a=fmtp:100 192-194
>
> client -> server
> ACK sip:address@hidden SIP/2.0
> Route: <sip:address@hidden:5060;user=phone >
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> To:  <sip:address@hidden;user=phone>;tag=82745
> 0C-CE2
> Call-ID: address@hidden
> CSeq: 2 ACK
> User-Agent: Cisco ATA  v2.15.TEST ata186 (020620a)
> Content-Length: 0
>
> client -> server
> BYE sip:address@hidden SIP/2.0
> Route: <sip:address@hidden:5060;user=phone >
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From:  <sip:address@hidden;user=phone>;tag=
> 2760635519
> To:  <sip:address@hidden;user=phone>;tag=82745
> 0C-CE2
> Call-ID: address@hidden
> CSeq: 3 BYE
> User-Agent: Cisco ATA  v2.15.TEST ata186 (020620a)
> Content-Length: 0
>
> server -> client
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 1.1.1.1:5060
> From: <sip:address@hidden;user=phone>;tag=2
> 760635519
> To: <sip:address@hidden;user=phone>;tag=827450
> C-CE2
> Date: Fri, 05 Jul 2002 23:51:50 GMT
> Call-ID: address@hidden
> Server: Cisco-SIPGateway/IOS-12.x
> Content-Length: 0
> CSeq: 3 BYE
>
>
> Best regards
>
> /c
> --
> Calle Lidstr?m <address@hidden>
>
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/linphone-users
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]