Jody McIntyre | 18 Aug 19:26 2004

Can't get siproxd to work

I'm trying to get siproxd to work as a proxy between a Mitel 5055 phone
on a private network and an Asterisk server on the Internet.  Here is
my test setup:

+-----------------------+
| 5055 Phone, ext. 1000 |
+-----------------------+
  |.9
  |192.168.90.0/24 (private network)
  |
  |.1
+-------------------+
| Gateway (siproxd) |
+-------------------+
  |.5
  |
  |205.233.218.0/25     .14+-----------------------+
  +------------------------| 5055 Phone, ext. 1002 |
  |                        +-----------------------+
  |.10
+----------+
| Asterisk |
+----------+

Ext. 1000 registers with siproxd and uses siproxd as a proxy.  Siproxd
in turn uses Asterisk as a proxy.

When I dial 1002 from ext. 1000, ext. 1002 rings.  When I answer, no
connection is made, and ext. 1002 rings again a few seconds later.

(Continue reading)

Thomas Ries | 26 Aug 19:29 2004
Picon
Picon

Re: Can't get siproxd to work

Hi Jody,

1) You may want to put in the correct access control mask into the
   configuration:

   hosts_allow_sip = 205.233.128.0/24

   should *probably* be: 205.233.218.0/24  (218 instead of 128)

2) Why does phone 1000 send an INVITE to 1002@... ??
   1002 is supposed to be registered at the asterisk server, which
   then should be called as 1002@...

3) The phone 1000 must have the public side IP configured as domain
   part of it's SIP URI (can be seen in a sent INVITE request, e.g.
   at 13:03:27 of your debugfile).
   As "From" header it shows "sip:user@...", however this must
   contain the public (outbound) IP of siproxd "sip:user@..." -
   otherwise incoming calls will not work properly.
   On some phones you simply cannot configure the domain part independently
   from the registration server - if this the case you must use the 
   mask_host feature of siproxd to correct the header fields properly.

Regards,
/Thomas

######################################################################

On 18 Aug, Jody McIntyre wrote:
> I'm trying to get siproxd to work as a proxy between a Mitel 5055 phone
(Continue reading)

Jody McIntyre | 27 Aug 21:45 2004

Re: Can't get siproxd to work

Thanks for the reply.

On Thu, Aug 26, 2004 at 07:29:57PM +0200, Thomas Ries wrote:

> 1) You may want to put in the correct access control mask into the
>    configuration:
> 
>    hosts_allow_sip = 205.233.128.0/24
> 
>    should *probably* be: 205.233.218.0/24  (218 instead of 128)

You're right.  I was actually looking at things this morning again and
noticed that.

> 2) Why does phone 1000 send an INVITE to 1002@... ??
>    1002 is supposed to be registered at the asterisk server, which
>    then should be called as 1002@...

I'm just dialing "1002" on the phone, which apparently sends the wrong
thing.  It does ring the phone though.

> 3) The phone 1000 must have the public side IP configured as domain
>    part of it's SIP URI (can be seen in a sent INVITE request, e.g.
>    at 13:03:27 of your debugfile).
>    As "From" header it shows "sip:user@...", however this must
>    contain the public (outbound) IP of siproxd "sip:user@..." -
>    otherwise incoming calls will not work properly.
>    On some phones you simply cannot configure the domain part independently
>    from the registration server - if this the case you must use the 
>    mask_host feature of siproxd to correct the header fields properly.
(Continue reading)

Thomas Ries | 27 Aug 21:58 2004
Picon
Picon

Re: Can't get siproxd to work

Hi Jody,

this looks to me like the mask_host is not setup propery. I can't
see more from that short log snipplet. How do you have configure
the mask_host and masked_host? The masked_host MUST be the outbound
IP of siproxd (which I doubt in your case).

Regards,
/Thomas

On 27 Aug, Jody McIntyre wrote:
> Thanks for the reply.
> 
> On Thu, Aug 26, 2004 at 07:29:57PM +0200, Thomas Ries wrote:
> 
>> 1) You may want to put in the correct access control mask into the
>>    configuration:
>> 
>>    hosts_allow_sip = 205.233.128.0/24
>> 
>>    should *probably* be: 205.233.218.0/24  (218 instead of 128)
> 
> You're right.  I was actually looking at things this morning again and
> noticed that.
> 
>> 2) Why does phone 1000 send an INVITE to 1002@... ??
>>    1002 is supposed to be registered at the asterisk server, which
>>    then should be called as 1002@...
> 
> I'm just dialing "1002" on the phone, which apparently sends the wrong
(Continue reading)


Gmane