Re: Config Help
Thomas Ries <
tries@...>
2012-03-21 07:22:13 GMT
Hi Reza,
The debug Log says the following during REGISTER:
[...]
00:07:52 utils.c:193 gethostbyname(Vintalk) failed: h_errno=1 [Unknown host]
00:07:52 utils.c:251 DNS lookup - store into cache, entry 2)
00:07:52 utils.c:260 DNS lookup - errcnt=1
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 for
# example).
#
if_inbound = eth0
if_outbound = eth0
# uncomment the following line ONLY IF YOU KNOW WHAT YOU ARE DOING!
# READ THE FAQ FIRST!
#host_outbound = 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,
>
> I’m 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’t appear to be relaying the SIP registration to my other
> softswitch. I was wondering if someone could help out here, I think it’s
> something minor I’m missing. This is my first go at using siproxd.
>
>
>
> Debug Log File : http://sandbox.vintalk.com/~reza/work/0XDEADBEEF/debug.log
>
> Thanks,
>
>
>
> *Reza Ambler *
> Systems Engineer
>
> (O) 858.357.8770
> (F) 858.357.8694
> (E) reza.ambler@... <mailto:reza.ambler@...>
> (W) www.vintalk.com <http://www.vintalk.com>
>
>
>
> *Vintalk*
> 9707 Waples Street, Suite 201
> San Diego, CA 92121
>
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Siproxd-users mailing list
> Siproxd-users@...
> https://lists.sourceforge.net/lists/listinfo/siproxd-users
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Siproxd-users mailing list
Siproxd-users@...
https://lists.sourceforge.net/lists/listinfo/siproxd-users