< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
bool
ClientAuthManager::handle(UserProfile& userProfile, SipMessage& origRequest,
const SipMessage& response)in your example BasicCall or BasicRegister, where did you call this method?
Julien
Hi,ScotIf the UA ( a program based resiprocate ) can receive the 401 unAuthorized aftersend a Request REGISTER.But it can't make a new Request REGISTER with www_Authentication,where do you think the problem?
On 5/17/05, julien thai <julienresiprocate@xxxxxxxxx > wrote:Hi,ScottI looked in ClientAuthManager.cxx,i also looked in udptransport.cxxcan you help me to understand the code belowin udptransport.cxx.if (mMsgHeaderScanner.scanChunk(buffer,len,
&unprocessedCharPtr) !=
MsgHeaderScanner::scrEnd)
{
StackLog(<<"Scanner rejecting datagram as unparsable / fragmented from " << tuple);
StackLog(<< Data(buffer, len));
delete message;message=0;
return;}
On 5/16/05, Scott Godin <slgodin@xxxxxxxxxxxx > wrote:Look in dum/ClientAuthManager.cxx
From: julien thai [mailto: julienresiprocate@xxxxxxxxx]
Sent: Monday, May 16, 2005 2:59 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] UdpTransport
For basiccall example.
In the UdpTransport.cxx
I found the method sendto and recvform.
For the REGISTER.
After recvform received a response "401 unauthorized" it will copied
the content of response and add in the message header the information
for authentication.
How did it happened in UdpTransport? which methods did author use
to do a new message request for REGISTER?