Re: Authentication not getting through

Thomas Ries <[email protected]> Tue, 12 Aug 2014 20:50:56 +0200
Newsgroups gmane.network.siproxd
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============8330763785790217183==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="ljagmSHhw6Xuv4dLGrN94egF8p0TsODpm"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ljagmSHhw6Xuv4dLGrN94egF8p0TsODpm
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi bgs,

Would it be possible to collect a debug log from siproxd while performing=
 a
REGISTER that fails as described? That should give more details on what i=
s
going on and why the 401 response is not sent back to the client.

Details on how to create a debug log can be found here:

<http://www.siproxd.net/index.php?op=3Doverview>
See section "PROBLEM REPORTING".

or

<http://www.siproxd.net/siproxd_guide/siproxd_guide_c6s2.html>

Best regards,
/Thomas

On 08/12/2014 04:59 PM, Bgs wrote:
>=20
>   Dear all,
>=20
> This is my firs time with siproxd so the problem might be obvious, but =
I=20
> found no clues about it.
>=20
> Situation:
>=20
> We have an asterisk which is operational and handles IP phones.
>=20
> I'd like to add a few SIP client within the office (PC and mobile=20
> phones). These client are in different networks than the IP phone VLAN.=
=20
> Some do have a NATed access to the asterisk but not all. This is why I =

> want to have a SIP proxy in place.
>=20
> asterisk server: in VoIP VLAN
> siproxd server: one leg in VoIP VLAN and one in an office VLAN=20
> accessible to all.
> clients: in office VLAN
>=20
> My problem is that while I have a working config for the client for=20
> direct connection (using Android sipdroid client right now), when I add=
=20
> the proxy connection I cannot register.
>=20
> I checked the traffic on direct connection and proxy connection (in the=
=20
> later case on both segments) and found that the difference is that when=
=20
> I try to connect through siproxd, the 401 Unauthorized answers coming=20
> from the asterisk are not getting though to the client.
>=20
> The excerpts from the communication can be found here:
>=20
> http://pastebin.com/bub3MqLt
>=20
> My configuration is rather plain (below are the not defaults):
> Inbound and outbound interfaces set up appropriately.
> hosts_allow for reg and sip with client networks
> chrootjail (with hosts and resolv.conf)
> debug logging enables
>=20
> Any ideas or pointers for where to look?
>=20
> Regards
> Bgs
>=20
>=20
> -----------------------------------------------------------------------=
-------
> _______________________________________________
> Siproxd-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/siproxd-users
>=20


--ljagmSHhw6Xuv4dLGrN94egF8p0TsODpm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlPqYhYACgkQB2xLpFxU+GXDKQCffQi2DyXafC4+vMwimZuxY1Ks
BfcAn2PEDOhskyrggheDnr5EomTxilMd
=02ww
-----END PGP SIGNATURE-----

--ljagmSHhw6Xuv4dLGrN94egF8p0TsODpm--


--===============8330763785790217183==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============8330763785790217183==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Siproxd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/siproxd-users

--===============8330763785790217183==--