Re: [OpenSIPStack] =?iso-8859-1?q?R=E9f=2E_=3A_Re=3A_=09R=E9f=2E_=3A_?= =?iso-8859-1?q?Re=3A_=09R=
Brought to you by:
joegenbaclor
From: Gaurav K. <gkh...@is...> - 2007-08-23 10:26:36
|
A 401 response is normal as its part of the challenge handshake authentication process. Refer to Section 22.2 in RFC 3261:- INVITE (Without credentials) <-> 401 <-> INVITE (With credentials) <-> = 200 OK. Regards, Gaurav > -----Original Message----- > From: ope...@li... > [mailto:ope...@li...] On Behalf Of > Kolneath SOMETH > Sent: Thursday, August 23, 2007 3:47 PM > To: ope...@li... > Cc: ope...@li...; opensipstack-devel- > bo...@li... > Subject: [OpenSIPStack] R=E9f. : Re: R=E9f. : Re: R=E9f. : Re: sipXecs = and > openSBC >=20 > Yes, I can register directly to the Registrar. > Any comment Joegen ? >=20 > I remarks also that even the registrar accept ( i configure to accept = all > ) the registration, it always return the 401 response first. > Is this happen to ur case ? >=20 > BR, > Kolneath SOMETH >=20 >=20 >=20 >=20 >=20 >=20 > "Gaurav Kheterpal" <gkh...@is...> >=20 > Envoy=E9 par : ope...@li... > 23/08/2007 12:14 > Veuillez r=E9pondre =E0 opensipstack-devel > Remis le : 23/08/2007 12:13 >=20 >=20 > Pour : <ope...@li...> > cc : <ope...@li...>, = (ccc : > Kolneath > SOMETH/DRD/SAGEM) > Objet : Re: [OpenSIPStack] R=E9f. : Re: R=E9f. : Re: > sipXecs and openSBC >=20 >=20 >=20 > I believe that it should work fine if you put the IP address of SBC in > your > registrar address. >=20 > A 401 response indicates that the registrar challenged you for > credentials. > For whatever reasons, the registrar returns a 403 Forbidden when you > re-send > the REGISTER request with credentials. >=20 > Are you able to register directly UA <-> Registrar (without OpenSBC in > between)? This should help eliminate any problem with credentials = provided > by you. >=20 > Regards, > Gaurav >=20 >=20 > > -----Original Message----- > > From: ope...@li... > > [mailto:ope...@li...] On Behalf = Of > > Kolneath SOMETH > > Sent: Thursday, August 23, 2007 3:21 PM > > To: ope...@li... > > Cc: ope...@li...; opensipstack- > > de...@li... > > Subject: [OpenSIPStack] R=E9f. : Re: R=E9f. : Re: sipXecs and = openSBC > > > > Thank you Andre n Gaurav, > > > > I use version 3 build 29712 of X-lite. > > By the way, I already configured my OSBC to be Upper Reg. So in = client, > u > > put the @ of this OSBC in the registrar text field or u put the @ of = the > > registrar ? > > > > I tried in the OSS Phone by putting @ of OSBC in the registrar text > field > > and leave Outbound Proxy text field empty...but it seems doesn't > > work...here is its result : > > 192.168.100.1 -> @ of my OSBC > > I also put [sip:*@192.168.100.1:*] sip:192.168.200.2:5060 in the > > B2BUpperReg route to route the request to 192.168.200.2 (@ of = registrar) > > > > SEND: XOR=3D0 457 Bytes to 192.168.100.1:5060:UDP (REGISTER > > sip:192.168.100.1 SIP/2.0) Interface Address=3D > > REGISTER sip:192.168.100.1 SIP/2.0 > > From: kolneath > > <sip:kolneath@192.168.100.1>;tag=3Dcf86c30279f9181083f1cdbc5878f183 > > To: sip:kolneath@192.168.100.1 > > Via: SIP/2.0/UDP > > > = 192.168.100.5:5060;iid=3D1;branch=3Dz9hG4bKe98cc30279f9181083f1cdbc5878f1= 83;ua > > s-addr=3D192.168.100.1;rport > > CSeq: 1 REGISTER > > Call-ID: cf86c302-79f9-1810-9ccf-cdbc5878f183 > > Contact: "kolneath" = <sip:kolneath@192.168.100.5:5060;transport=3Dudp> > > Expires: 3600 > > Max-Forwards: 70 > > Content-Length: 0 > > > > ----------------20:38:10.987---------------- > > RCV: XOR=3D0 561 Bytes from RCVADDR: 192.168.100.1:RCVPORT: 5060:UDP > > (SIP/2.0 401 Unauthorized) > > SIP/2.0 401 Unauthorized > > From: kolneath > > <sip:kolneath@192.168.100.1>;tag=3Dcf86c30279f9181083f1cdbc5878f183 > > To: = <sip:kolneath@192.168.100.1>;tag=3Dbc93f6ae8448dc11980dda3af2250d78 > > Via: SIP/2.0/UDP > > > = 192.168.100.5:5060;iid=3D1;branch=3Dz9hG4bKe98cc30279f9181083f1cdbc5878f1= 83;ua > > s-addr=3D192.168.100.1;rport=3D5060;received=3D192.168.100.5 > > CSeq: 1 REGISTER > > Call-ID: cf86c302-79f9-1810-9ccf-cdbc5878f183 > > WWW-Authenticate: Digest realm=3D"192.168.100.1", > > nonce=3D"0db5267eb085c56c3614fa08cb961420", > > opaque=3D"948bdb3d1f6f8991f01ec841a03ec0ea", algorithm=3DMD5 > > Content-Length: 0 > > > > ----------------20:38:10.998---------------- > > SEND: XOR=3D0 650 Bytes to 192.168.100.1:5060:UDP (REGISTER > > sip:192.168.100.1 SIP/2.0) Interface Address=3D > > REGISTER sip:192.168.100.1 SIP/2.0 > > From: kolneath > > <sip:kolneath@192.168.100.1>;tag=3Daef4c30279f9181083f1cdbc5878f183 > > To: sip:kolneath@192.168.100.1 > > Via: SIP/2.0/UDP > > > = 192.168.100.5:5060;iid=3D1;branch=3Dz9hG4bKaef4c30279f9181083f2cdbc5878f1= 83;ua > > s-addr=3D192.168.100.1;rport > > CSeq: 2 REGISTER > > Call-ID: cf86c302-79f9-1810-9ccf-cdbc5878f183 > > Contact: "kolneath" = <sip:kolneath@192.168.100.5:5060;transport=3Dudp> > > Expires: 3600 > > Max-Forwards: 70 > > Authorization: Digest username=3D"kolneath", = realm=3D"192.168.100.1", > > nonce=3D"0db5267eb085c56c3614fa08cb961420", = uri=3D"sip:192.168.100.1", > > response=3D"ba97a81e09441d0cae165ce580060d2b", algorithm=3DMD5 > > Content-Length: 0 > > > > ----------------20:38:11.050---------------- > > RCV: XOR=3D0 410 Bytes from RCVADDR: 192.168.100.1:RCVPORT: 5060:UDP > > (SIP/2.0 403 Forbidden) > > SIP/2.0 403 Forbidden > > From: kolneath > > <sip:kolneath@192.168.100.1>;tag=3Daef4c30279f9181083f1cdbc5878f183 > > To: = <sip:kolneath@192.168.100.1>;tag=3Db2c4fcae8448dc11980dda3af2250d78 > > Via: SIP/2.0/UDP > > > = 192.168.100.5:5060;iid=3D1;branch=3Dz9hG4bKaef4c30279f9181083f2cdbc5878f1= 83;ua > > s-addr=3D192.168.100.1;rport=3D5060;received=3D192.168.100.5 > > CSeq: 2 REGISTER > > Call-ID: cf86c302-79f9-1810-9ccf-cdbc5878f183 > > Content-Length: 0 > > > > Any idea ? > > > > > > Kolneath SOMETH > > > > > > > > > > > > "Gaurav Kheterpal" <gkh...@is...> > > > > Envoy=E9 par : ope...@li... > > 23/08/2007 11:32 > > Veuillez r=E9pondre =E0 opensipstack-devel > > Remis le : 23/08/2007 11:32 > > > > > > Pour : <ope...@li...>, > > <jb...@so...> > > cc : (ccc : Kolneath SOMETH/DRD/SAGEM) > > Objet : Re: [OpenSIPStack] R=E9f. : Re: sipXecs and = openSBC > > > > > > > > Hello, > > > > > But i don know how to configure with others SIP clients for = example > > > X-Lite or 3CX as their interfaces don't have Outbound Proxy. They = have > > > only Proxy/Registrar and domain. > > > > GK>> unless you have an outdated version of Xlite, you can find the > > Outbound > > Proxy setting under System Settings -> SIP Proxy > Outbound Proxy & = Use > > Outbound Proxy > > > > Either way, you can enable the Upper Registration mode in OpenSBC & > still > > be > > able to register with your registrar without using outbound proxy. > > > > Refer to > > > = http://www.opensourcesip.org:8080/JSPWiki/Wiki.jsp?page=3DUpperRegistrati= onH > > ow > > to > > > > I hope this helps. > > > > Regards, > > Gaurav > > > > > > > -----Original Message----- > > > From: ope...@li... > > > [mailto:ope...@li...] On = Behalf Of > > > Kolneath SOMETH > > > Sent: Thursday, August 23, 2007 2:52 PM > > > To: jb...@so... > > > Cc: ope...@li... > > > Subject: [OpenSIPStack] R=E9f. : Re: sipXecs and openSBC > > > > > > Hi Everyone, > > > > > > Any one knows how to configure the client (user agent) to use > > opensipstack > > > sip servers ? > > > Here is my platform test : > > > > > > UA B2BUA Reg(OpenSBC) Registrar > > > > > > Normally, i configure my OSS phone with these configurations : > > > registrar : @ of registrar > > > outbound proxy : @ of B2BUA Reg > > > > > > But i don know how to configure with others SIP clients for = example > > > X-Lite or 3CX as their interfaces don't have Outbound Proxy. They = have > > > only Proxy/Registrar and domain. > > > > > > Any help appreciated, > > > > > > Kolneath SOMETH > > > > > > > > > > > > " Ce courriel et les documents qui y sont attaches peuvent = contenir > des > > > informations confidentielles. Si vous n'etes pas le destinataire > > > escompte, merci d'en informer l'expediteur immediatement et de > detruire > > ce > > > courriel ainsi que tous les documents attaches de votre systeme > > > informatique. Toute divulgation, distribution ou copie du present > > courriel > > > et des documents attaches sans autorisation prealable de son = emetteur > > est > > > interdite." > > > > > > " This e-mail and any attached documents may contain confidential = or > > > proprietary information. If you are not the intended recipient, = please > > > advise the sender immediately and delete this e-mail and all = attached > > > documents from your computer system. Any unauthorised disclosure, > > > distribution or copying hereof is prohibited." > > > > > > = -------------------------------------------------------------------------= > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > opensipstack-devel mailing list > > > ope...@li... > > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > = -------------------------------------------------------------------------= > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a = browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > > > > > " Ce courriel et les documents qui y sont attaches peuvent contenir = des > > informations confidentielles. Si vous n'etes pas le destinataire > > escompte, merci d'en informer l'expediteur immediatement et de = detruire > ce > > courriel ainsi que tous les documents attaches de votre systeme > > informatique. Toute divulgation, distribution ou copie du present > courriel > > et des documents attaches sans autorisation prealable de son = emetteur > est > > interdite." > > > > " This e-mail and any attached documents may contain confidential or > > proprietary information. If you are not the intended recipient, = please > > advise the sender immediately and delete this e-mail and all = attached > > documents from your computer system. Any unauthorised disclosure, > > distribution or copying hereof is prohibited." > > > = -------------------------------------------------------------------------= > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a = browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >=20 >=20 > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a = browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >=20 >=20 >=20 >=20 >=20 > " Ce courriel et les documents qui y sont attaches peuvent contenir = des > informations confidentielles. Si vous n'etes pas le destinataire > escompte, merci d'en informer l'expediteur immediatement et de = detruire ce > courriel ainsi que tous les documents attaches de votre systeme > informatique. Toute divulgation, distribution ou copie du present = courriel > et des documents attaches sans autorisation prealable de son emetteur = est > interdite." >=20 > " This e-mail and any attached documents may contain confidential or > proprietary information. If you are not the intended recipient, please > advise the sender immediately and delete this e-mail and all attached > documents from your computer system. Any unauthorised disclosure, > distribution or copying hereof is prohibited." > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a = browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |