< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
Thanks Scott for your response. We have had a problem with the port "from" which is sip:user@proxy:port and not sip:user@addressUser: port and now the register succeeded. And,it's right : the initial request wasn't contain Auth headers, but they was added after receiving a 401 from Astericks. Mathilde Scott Godin a écrit : 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 anAsteriskserver. 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 not5060in 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 REGISTERI 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_______________________________________________ resiprocate-devel mailing list resiprocate-devel@xxxxxxxxxxxxxxxxxxx https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel |