Reza Ambler | 21 Mar 2012 01:12
Favicon

Config Help

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 <at> vintalk.com
(W) www.vintalk.com

 

Vintalk
9707 Waples Street, Suite 201         
San Diego, CA92121 

 

------------------------------------------------------------------------------
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
Thomas Ries | 21 Mar 2012 08:22
Picon

Re: Config Help

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
Reza Ambler | 3 Apr 2012 19:01
Favicon

Re: Config Help

Would it be possible to force all registeration packets regardless of a
FQDN to a SIP server? One our multi-tenant switch we don't utilize FQDN
names for the authentication realm. /etc/hosts is a good work around for
this in the mean time.

Reza Ambler                             
Systems Engineer

(O) 858.357.8770
(F) 858.357.8694
(E) reza.ambler@...
(W) www.vintalk.com

Vintalk
9707 Waples Street, Suite 201         
San Diego, CA 92121 

-----Original Message-----
From: Thomas Ries [mailto:tries@...] 
Sent: Wednesday, March 21, 2012 12:22 AM
To: Siproxd-users
Subject: Re: [Siproxd-users] Config Help

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

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

Gmane