Re: [reSIProcate] [DUM] User agent unable to register - more info / more analysis
I think the via port issue was just fixed (rev 6459) - are you using the SVN
head or RC1 code?
For Authentication you need to install a ClientAuthManager and setup a
UserProfile appropriately. The initial request will not contain Auth headers,
but they will be added after receiving a 401/407 from Astericks. See
dum/test/BasicCall.cxx.
Scott
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Emmanuel BUU
> Sent: Wednesday, August 30, 2006 6:46 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate] [DUM] User agent unable to register - more
> info / more analysis
>
> Emmanuel BUU a écrit :
> > Hello everybody,
> >
> > We are building a SIP user agent and trying to register to an
> Asterisk
> > server. It fails. After anayzing the REGISTER message composed by the
> > DUM, we noticed that:
> >
> > 1 - the Via header does not include the source port (which is not
> 5060
> > in our particular case) so the UA. The Asterisk send back the answers
> > packet on 5060 and off course they are not received.
> >
> > 2 - the Authentication header is simply missing !! So of course
> > Asterisks rejects the REGISTER
> >
> I should also add that because of dev constraints, we run the UA and
> the Asterisk on the same hosts. UA uses port 5061 and asterisjk 5060.
>
> After some more research, I found out that DialogUserManager.send( )
> should insert an Authentication header and that the SipStack.send()
> should correct the port in my Via header.
> So why is it not working ?
>
> How could I troubleshoot this ?
>
> Emmanuel
>
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel