[Pidgin] #15392: Authorization digest not requested using SIMPLE

Pidgin trac at pidgin.im
Tue Nov 13 01:31:49 EST 2012


#15392: Authorization digest not requested using SIMPLE
-----------------------+----------------------
 Reporter:  blackhawk  |      Owner:  seanegan
     Type:  defect     |     Status:  new
Milestone:             |  Component:  SIMPLE
  Version:  2.10.6     |   Keywords:
-----------------------+----------------------
 I am trying to use Pidgin to connect with a SIP service provider and it
 requires me to specify an authorization username and password.   However,
 I cannot seem to configure Pidgin to do this.

 Looking at some of the other tickets, it looks like ticket #5482
 illustrates that Pidgin is sending the authorization request, but my
 version 2.10.6 does not.

 Am I missing something?   Can someone help point me to where I need to
 specify this?

 Below are the Pidgin request, followed by a working SIP client request:

 {{{
   Frame: Number = 33, Captured Frame Length = 514, MediaType = ETHERNET
 + Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[02-1C-
 2F-85-62-DB],SourceAddress:[F0-3E-F2-9D-37-DF]
 + Ipv4: Src = 192.168.25.132, Dest = 202.111.131.22, Next Protocol = UDP,
 Packet ID = 26442, Total IP Length = 500
 + Udp: SrcPort = 5060, DstPort = 5060, Length = 480
 - SIP: Request: REGISTER sip:trunk.mytelco.com SIP/2.0
   - SipParser: Request: REGISTER sip:trunk.mytelco.com SIP/2.0
    - RequestLine: REGISTER sip:trunk.mytelco.com SIP/2.0
       Method: REGISTER
       RequestURI: sip:trunk.mytelco.com
       SIPVersion: SIP/2.0
    - RequestHeaders:
     + Via: SIP/2.0/UDP
 192.168.25.174:5060;branch=z9hG4bK6A3A440D71022C507D82
     + From: <sip:TestUser at trunk.mytelco.com>;tag=955320922;epid=1234567890
     + To: <sip:TestUser at trunk.mytelco.com>
       Max-Forwards: 10
     + CSeq: 1 REGISTER
       User-Agent: Purple/2.10.6
       CallID: 7353g088Ba46ADi41D9m2096t354Eb7555x6FA1x
     + Contact:
 <sip:TestUser at 192.168.25.174:5060;transport=udp>;methods="MESSAGE,
 SUBSCRIBE, NOTIFY"
       Expires: 900
       ContentLength: 0
       HeaderEnd: CRLF

 }}}


 Working request...Notice the authorization digest:


 {{{
   Frame: Number = 80, Captured Frame Length = 885, MediaType = ETHERNET
 + Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[02-1C-
 2F-85-62-DB],SourceAddress:[F0-3E-F2-9D-37-DF]
 + Ipv4: Src = 192.168.25.132, Dest = 202.111.131.22, Next Protocol = UDP,
 Packet ID = 6190, Total IP Length = 871
 + Udp: SrcPort = 5060, DstPort = 5060, Length = 851
 - SIP: Request: REGISTER sip:trunk.mytelco.com SIP/2.0
   - SipParser: Request: REGISTER sip:trunk.mytelco.com SIP/2.0
    - RequestLine: REGISTER sip:trunk.mytelco.com SIP/2.0
       Method: REGISTER
       RequestURI: sip:trunk.mytelco.com
       SIPVersion: SIP/2.0
    - RequestHeaders:
     + Via: SIP/2.0/UDP 192.168.25.132:5060;branch=z9hG4bK-d8754z-
 9383457cb87d3424-1---d8754z-;rport
       Max-Forwards: 70
     + Contact:
 <sip:TestUser at 192.168.25.132:5060;rinstance=4aa0152eebd7ef84>
     + To: "TestUser"<sip:TestUser at trunk.mytelco.com>
     + From: "TestUser"<sip:TestUser at trunk.mytelco.com>;tag=dd9058b5
       CallID: NTE5OTFiMTk3NmU2OTIwNjY2YzFjNWFjNzE5ZGY5NTU.
     + CSeq: 2 REGISTER
       Expires: 3600
       Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
 SUBSCRIBE, INFO
       User-Agent: X-Lite release 5.0.0 stamp 67284
     - Authorization: Digest
 username="testauth",realm="sipservice.com",nonce="SIPServerXh9fyqqw5Thtnt42BW",uri="sip:trunk.mytelco.com",response="62e26488b5517b4370685af1273ff5fb",cnonce="085e622dbabdbb9c755fd749b84e8c52",nc=00000001,qop=auth,algorithm=MD5
        scheme: Digest
        UserName: "testauth"
        Realm: "sipservice.com"
        nonce: "SIPServerXh9fyqqw5Thtnt42BW"
        uri: "sip:trunk.mytelco.com"
        Response: "62e26488b5517b4370685af1273ff5fb"
        cnonce: "085e622dbabdbb9c755fd749b84e8c52"
        nc: 00000001
        QualityOfProtection: auth
        Algorithm: MD5
       ContentLength: 0
       HeaderEnd: CRLF

 }}}

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15392>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list