Opened 6 years ago

#15392 new defect

Authorization digest not requested using SIMPLE

Reported by: blackhawk Owned by: seanegan
Milestone: Component: SIMPLE
Version: 2.10.6 Keywords:
Cc:

Description

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@trunk.mytelco.com>;tag=955320922;epid=1234567890
    + To: <sip:TestUser@trunk.mytelco.com>
      Max-Forwards: 10
    + CSeq: 1 REGISTER
      User-Agent: Purple/2.10.6
      CallID: 7353g088Ba46ADi41D9m2096t354Eb7555x6FA1x
    + Contact: <sip:TestUser@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@192.168.25.132:5060;rinstance=4aa0152eebd7ef84>
    + To: "TestUser"<sip:TestUser@trunk.mytelco.com>
    + From: "TestUser"<sip:TestUser@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

Change History (0)

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!