Softphone, webphone and VoIP server Forum

HomeHomeDiscussionsDiscussionsMizuDroid Andro...MizuDroid Andro...Softphone does not registerSoftphone does not register
Previous
 
Next
New Post
8/1/2019 6:00 AM
 
Hi,

The app never responds with an Authorization header after receiving the Unauthorized response from the server - this is really basic, so I don't understand how it can happen.

Trace is:
recv 708 bytes from udp/[192.168.1.254]:19870 at 14:58:30.502244:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.5:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   Max-Forwards: 40
   Expires: 60
   Contact: <sip:pete@192.168.1.254:19870>
   X-UT: a
   User-Agent: MizuDroid/2.7.0
   X-DeviceID: 4f299572e157d49b
   Organization: MizuDroid
   Supported: replaces
   Allow: ACK,PRACK,BYE,CANCEL,INVITE,UPDATE,MESSAGE,INFO,OPTIONS,SUBSCRIBE,NOTIFY,REFER
   Allow-Events: presence,refer,telephone-event,keep-alive,dialog
   Accept: application/sdp,application/dtmf-relay,text/plain
   X-IMStatus: Offline
   Content-Length: 0
    
   ------------------------------------------------------------------------
2019-08-01 14:58:30.499756 [WARNING] sofia_reg.c:1798 SIP auth challenge (REGISTER) on sofia profile 'internal' for [pete@192.168.1.5] from ip 192.168.1.254
send 589 bytes to udp/[192.168.1.254]:19870 at 14:58:30.505934:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport=19870;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>;tag=a895mm85Qe84p
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   User-Agent: FreeSWITCH
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   WWW-Authenticate: Digest realm="192.168.1.5", nonce="f4168a9c-76d8-438f-bbb3-ce169bb2d0c7", algorithm=MD5, qop="auth"
   Content-Length: 0
    
   ------------------------------------------------------------------------
recv 570 bytes from udp/[192.168.1.254]:19870 at 14:58:32.092976:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.5:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   Max-Forwards: 40
   Expires: 60
   Contact: <sip:pete@192.168.1.254:19870>
   X-UT: a
   User-Agent: MizuDroid/2.7.0
   Organization: MizuDroid
   Allow-Events: presence,refer,telephone-event,keep-alive,dialog
   Accept: application/sdp,application/dtmf-relay,text/plain
   X-IMStatus: Offline
   Content-Length: 0
    
   ------------------------------------------------------------------------
send 589 bytes to udp/[192.168.1.254]:19870 at 14:58:32.093650:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport=19870;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>;tag=a895mm85Qe84p
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   User-Agent: FreeSWITCH
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   WWW-Authenticate: Digest realm="192.168.1.5", nonce="f4168a9c-76d8-438f-bbb3-ce169bb2d0c7", algorithm=MD5, qop="auth"
   Content-Length: 0
    
   ------------------------------------------------------------------------
recv 570 bytes from udp/[192.168.1.254]:19870 at 14:58:33.925123:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.5:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   Max-Forwards: 40
   Expires: 60
   Contact: <sip:pete@192.168.1.254:19870>
   X-UT: a
   User-Agent: MizuDroid/2.7.0
   Organization: MizuDroid
   Allow-Events: presence,refer,telephone-event,keep-alive,dialog
   Accept: application/sdp,application/dtmf-relay,text/plain
   X-IMStatus: Offline
   Content-Length: 0
    
   ------------------------------------------------------------------------
send 589 bytes to udp/[192.168.1.254]:19870 at 14:58:33.925780:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport=19870;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>;tag=a895mm85Qe84p
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   User-Agent: FreeSWITCH
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   WWW-Authenticate: Digest realm="192.168.1.5", nonce="f4168a9c-76d8-438f-bbb3-ce169bb2d0c7", algorithm=MD5, qop="auth"
   Content-Length: 0
    
   ------------------------------------------------------------------------
recv 585 bytes from udp/[192.168.1.254]:19870 at 14:58:33.926231:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.5:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   Max-Forwards: 40
   Expires: 60
   Contact: <sip:pete@192.168.1.254:19870>
   X-UT: a
   User-Agent: MizuDroid/2.7.0
   Organization: MizuDroid
   Allow-Events: presence,refer,telephone-event,keep-alive,dialog
   Accept: application/sdp,application/dtmf-relay,text/plain
   X-Country: AU
   X-IMStatus: Offline
   Content-Length: 0
    
   ------------------------------------------------------------------------
send 589 bytes to udp/[192.168.1.254]:19870 at 14:58:33.926762:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 192.168.1.254:19870;rport=19870;branch=z9hG4bK-9p4375452354549591482r
   From: <sip:pete@192.168.1.5>;tag=8g2867165844365196790m
   To: <sip:pete@192.168.1.5>;tag=a895mm85Qe84p
   Call-ID: 6e8462011315644908549k84427rmwp
   CSeq: 17629 REGISTER
   User-Agent: FreeSWITCH
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   WWW-Authenticate: Digest realm="192.168.1.5", nonce="f4168a9c-76d8-438f-bbb3-ce169bb2d0c7", algorithm=MD5, qop="auth"
   Content-Length: 0

 
New Post
8/1/2019 6:40 AM
 
Most probably the "401 Unauthorized" doesn't reach the softphone so it just resends the REGISTER because of no answer.

To be able to tell more, please send a log also from the softphone.
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsMizuDroid Andro...MizuDroid Andro...Softphone does not registerSoftphone does not register


You need to register / login to be able to post in the forum