Re: Config Help
Thomas Ries <[email protected]> Wed, 21 Mar 2012 08:22:13 +0100
| Newsgroups | gmane.network.siproxd |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1070898330892705136== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0B3FC4455D4744F6D5A84C1E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0B3FC4455D4744F6D5A84C1E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Reza, The debug Log says the following during REGISTER: [...] 00:07:52 utils.c:193 gethostbyname(Vintalk) failed: h_errno=3D1 [Unknown = host] 00:07:52 utils.c:251 DNS lookup - store into cache, entry 2) 00:07:52 utils.c:260 DNS lookup - errcnt=3D1 00:07:52 sock.c:194 send UDP packet to 10.10.10.197: 33385 [...] Your Phone tries to reghister at host "Vintalk" (no qualified domain name, just "Vintalk"). This name cannot be resolved to an IP address by siproxd, thus the REGISTER cannot be forwarded to the REGISTRAR. Fix your DNS setup (or add the Vintalk host to your /etc/hosts) and it should work better. I addition, please fix your configuration: [...] # If siproxd is not running on the host doing the masquerading # but on a host within the private network segment, "in front" of # the masquerading router: define if_inbound and if_outbound to # point to the same interface (the inbound interface). In *addition* # define 'host_outbound' to hold your external (public) IP address # or a hostname that resolves to that address (use a dyndns address fo= r # example). # if_inbound =3D eth0 if_outbound =3D eth0 # uncomment the following line ONLY IF YOU KNOW WHAT YOU ARE DOING! # READ THE FAQ FIRST! #host_outbound =3D 64.94.105.151 [...] As the comment explains, if you set if_inbound and if_outbound to the same IP interface, you must also set host_putbound to point to the public IP address. You also shoulbe be aware that siproxd has been made for NAT traversal of SIP & RTP, so your REGISTRAR *cannot* be located in the same IP subnet as your local UAs (phones). The other thing that confuses me is that the log says, the IP address of the received REGISTER request is 67.52.x.x (a public IP) which makes me heavily believe that to try to do something that siproxd was not designed for. Please re-read the documentation and the different usage scenarios that siproxd has been designed for. Regards, /Thomas Reza Ambler wrote: > Hello everyone, >=20 > I=E2=80=99m trying to use siproxd to test proxying some phones back to = our > switch and have siproxd handle the media relay. I have my example > configuration file here, > http://sandbox.vintalk.com/~reza/work/0XDEADBEEF/siproxd.conf but it > doesn=E2=80=99t appear to be relaying the SIP registration to my other > softswitch. I was wondering if someone could help out here, I think it=E2= =80=99s > something minor I=E2=80=99m missing. This is my first go at using sipro= xd. >=20 > =20 >=20 > Debug Log File : http://sandbox.vintalk.com/~reza/work/0XDEADBEEF/debug= =2Elog >=20 > Thanks, >=20 > =20 >=20 > *Reza Ambler * > Systems Engineer >=20 > (O) 858.357.8770 > (F) 858.357.8694 > (E) [email protected] <mailto:[email protected]> > (W) www.vintalk.com <http://www.vintalk.com> >=20 > =20 >=20 > *Vintalk* > 9707 Waples Street, Suite 201 =20 > San Diego, CA 92121=20 >=20 > =20 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= ------- > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here=20 > http://p.sf.net/sfu/sfd2d-msazure >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > Siproxd-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/siproxd-users --------------enig0B3FC4455D4744F6D5A84C1E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFPaYGoB2xLpFxU+GURAie+AJwM/l8mOs+jxvFI+IRoDEHhvMZZHwCfYU+k kfdw2VolM42VdY4l8/cDobA= =3O7x -----END PGP SIGNATURE----- --------------enig0B3FC4455D4744F6D5A84C1E-- --===============1070898330892705136== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure --===============1070898330892705136== 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 --===============1070898330892705136==--