linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] via field in Invite


From: Jay Ray
Subject: Re: [Linphone-developers] via field in Invite
Date: Thu, 28 Oct 2004 14:16:17 -0700 (PDT)

Looks like when the Linphone sends first INVITE the
via field is good, however, that INVITE is replied by
the softswitch with a 401-UnAuth
Now the LINPHONE sends 2nd INVITE with Auth
Info...However this time via filed has wrong IP
0.0.0.0:5060
--- Jay Ray <address@hidden> wrote:

> Forgot to attach the log from the console....
> 
> 
> Here they are...
> 
> 
> user-agent: oSIP/Linphone-0.12.1
> Content-Length: 0
>  
>  
>  
> | INFO1 | <nict_callbacks.c: 107>
> OnEvent_New_Incoming4xxResponse!
>  
> | INFO1 | <nict_callbacks.c: 127> User need to
> authenticate to REGISTER!
>  
> | INFO1 | <utils.c: 409> Outgoing interface to reach
> 12.42.87.60 is 12.42.87.182 .
>  
> | INFO1 | <authentication.c: 269> Response in
> authorization |511653ed136b33c13f7 aadc609e39528|
>  
> Executing transaction...
> | INFO1 | <udp.c: 295> Sending message:
> REGISTER sip:12.42.87.60 SIP/2.0
> Via: SIP/2.0/UDP
> 12.42.87.182:5060;branch=z9hG4bK2558887356
> From: <sip:address@hidden>;tag=3118841839
> To: <sip:address@hidden>;tag=3118841839
> Call-ID: address@hidden
> CSeq: 1 REGISTER
> Contact: <sip:address@hidden>
> Authorization: Digest username="linphone",
> realm="12.42.87.182", nonce="EDC078BB
> 4A8B03D8405690E595318194", uri="sip:12.42.87.60",
> response="511653ed136b33c13f7a adc609e39528",
> algorithm=MD5,
> opaque="87D2DEE8A00B4E35DBB22846DE93D72E"
> max-forwards: 10
> expires: 900
> user-agent: oSIP/Linphone-0.12.1
> Content-Length: 0
>  
>  
> | INFO1 | <udp.c: 193> info: Message from
> [12.42.87.60]:5060
>  
> | INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 12.42.87.182;branch=z9hG4bK2558887356
> From: <sip:address@hidden:5060>;tag=3118841839
> To: <sip:address@hidden:5060>;tag=3118841839
> Call-ID: address@hidden
> CSeq: 1 REGISTER
> Contact: <sip:address@hidden:5060>
> max-forwards: 10
> expires: 20
> user-agent: oSIP/Linphone-0.12.1
> Allow: REFER, INFO, BYE, CANCEL, INVITE
> Content-Length: 0
>  
>  
>  
> | INFO1 | <utils.c: 409> Outgoing interface to reach
> 12.42.87.60 is 12.42.87.182 .
>  
> adding sdp body...
> Executing transaction...
> | INFO1 | <ict_callbacks.c: 30> Transaction 8
> killed.
>  
> | INFO1 | <osipdialog.c: 1918> Dialog is removed. It
> remains 3 dialog(s) in the ua list.
>  
> | INFO1 | <udp.c: 295> Sending message:
> INVITE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP
> 12.42.87.182:5060;branch=z9hG4bK481924299
> From:
>
<sip:address@hidden>;tag=3118841839;tag=475536293
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 20 INVITE
> Contact: <sip:address@hidden>
> max-forwards: 10
> user-agent: oSIP/Linphone-0.12.1
> Content-Type: application/sdp
> Content-Length:   229
>  
> v=0
> o=linphone 123456 654321 IN IP4 12.42.87.182
> s=A conversation
> c=IN IP4 12.42.87.182
> t=0 0
> m=audio 7078 RTP/AVP 0 8 101
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11
>  
> | INFO1 | <nict_callbacks.c: 30> Transaction 9
> killed.
>  
> | INFO1 | <nict_callbacks.c: 30> Transaction 10
> killed.
>  
> | INFO1 | <osipdialog.c: 1918> Dialog is removed. It
> remains 2 dialog(s) in the ua list.
>  
> | INFO1 | <udp.c: 193> info: Message from
> [12.42.87.60]:5060
>  
> | INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP
> 12.42.87.182;branch=z9hG4bK481924299
> From: <sip:address@hidden:5060>;tag=475536293
> To:
> <sip:address@hidden:5060>;tag=GR52RWG346-34
> Call-ID: address@hidden
> CSeq: 20 INVITE
> WWW-Authenticate: Digest realm="12.42.87.182",
> nonce="17BFE3F01BE96718AF51CC4CDD D738C7",
> opaque="3128C128B8BF5BE728EDA62CCBCB6547",
> algorithm=md5
> max-forwards: 10
> user-agent: oSIP/Linphone-0.12.1
> Content-Length: 0
>  
>  
>  
> | INFO1 | <udp.c: 295> Sending message:
> ACK sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP
> 12.42.87.182:5060;branch=z9hG4bK481924299
> From: <sip:address@hidden:5060>;tag=475536293
> To:
> <sip:address@hidden:5060>;tag=GR52RWG346-34
> Call-ID: address@hidden
> CSeq: 20 ACK
> Content-Length: 0
>  
>  
> | INFO1 | <ict_callbacks.c: 233>
> OnEvent_New_Incoming4xxResponse!
>  
> | INFO1 | <ict_callbacks.c: 261> User need to
> authenticate to INVITE!
>  
> | INFO1 | <authentication.c: 269> Response in
> authorization |a42b65f66bc680522e7 3a87a8be02cdb|
>  
> Executing transaction...
> | INFO1 | <udp.c: 295> Sending message:
> INVITE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP
> 0.0.0.0:5060;branch=z9hG4bK124416744
> From:
>
<sip:address@hidden>;tag=3118841839;tag=475536293
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 21 INVITE
> Contact: <sip:address@hidden>
> Authorization: Digest username="linphone",
> realm="12.42.87.182", nonce="17BFE3F0
> 1BE96718AF51CC4CDDD738C7",
> uri="sip:address@hidden",
> response="a42b65f6
> 6bc680522e73a87a8be02cdb", algorithm=MD5,
> opaque="3128C128B8BF5BE728EDA62CCBCB65 47"
> max-forwards: 10
> user-agent: oSIP/Linphone-0.12.1
> Content-Type: application/sdp
> Content-Length:   229
>  
> v=0
> o=linphone 123456 654321 IN IP4 12.42.87.182
> s=A conversation
> c=IN IP4 12.42.87.182
> t=0 0
> m=audio 7078 RTP/AVP 0 8 101
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11
>  
> | INFO1 | <udp.c: 193> info: Message from
> [12.42.87.60]:5060
>  
> | INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP
>
0.0.0.0;branch=z9hG4bK124416744;received=12.42.87.182
> From: <sip:address@hidden:5060>;tag=475536293
> To:
> <sip:address@hidden:5060>;tag=GR52RWG346-34
> Call-ID: address@hidden
> CSeq: 21 INVITE
> max-forwards: 10
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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