I think your draytek is locking the state of the last registration in its
state tables in some manner. It really sounds like a router issue. This has
not been a reported issue with quite a number of other router/nat devices.

Your draytek is not destroying or allowing the new state from the request to
regioster to overwrite the last one, and as such it is not allowing the
procedure to occur. I would suggest if you have a state table (like pfsense)
you can search for the ones with port 5080 and destroy them, and seeing if
sipx then successfully re-registers the trunk without a reboot of the
firewall. State tables in nat have different types (established, waiting,
finisihed waiting, multiple, etc.). If your draytek has a terdown timer it
might need to be adjusted, or perhaps its a draytek bug, its definitely not
a sipx bug, this is all firewall/nat stuff outside of sipx.

On Tue, Aug 2, 2011 at 9:32 AM, Robin Gill <[email protected]> wrote:

>
> Content-Type: text/plain;
>  charset="utf-8"
> Content-Transfer-Encoding: 8bit
> Organization: SipXecs Forum
> X-FUDforum: 08063afcdd00a6e76393c5b9527381e8 <61930>
> Message-ID: <[email protected]>
>
>
>
> I have a sipx box (latest x64 iso) deployed at a site which
> uses a draytek vigor 2820 for dhcp and as nat router to wan,
> and we have a Microsoft DNS server for the required records
> (all present except the rr. srv Record).
>
> We found that the setup works perfectly until the server is
> rebooted which causes the server to fail to register with
> ITSP. This continues until the router is rebooted.
>
> To recreate this fault, at our head office, I have a nat
> pfsense router, but as this is for our production
> envoironment/office lan I have a draytek vigor 2820 with the
> office lan plugged into the wan2 side of it and I have
> created another mini lan for testing. In this setup stun
> didn't correctly work so I manually entered the wan ip in
> sipx
>
> Within this mini lan, the sipx server is serving dhcp and
> dns with domain name voip.local. I have found if the draytek
> has dhcp on, the server will never re-register on rebooting.
> If the draytek has dhcp off then the server will
> successfully re-register for the first reboot only. At first
> I was not using correct domain name on the draytek but this
> has been specified and issue remains. The only major
> difference should be that we have the rr. SRV record as sipx
> is serving dns.
>
> However if I swap out the draytek with a pfsense set up in
> the same manner, the server has no problem after any number
> of reboots.
>
> The differences I have determined from the packet traces are
> that when it fails to re-register:
> I can see the SIP keep alives still coming from ITSP and the
> server will reply with ICMP port unreachable during boot
> period when it is going to work but it doesn't reply
> unreachable when booting if it is not going to work.
>
> Then the next difference I have determined is that if it
> works, the server first attempts to register with ITSP
> without authentication - ITSP returns a 401 unauthorized. It
> then immediately attempts again with authentication and
> succeeds. However whenever it fails to work, the server does
> keep trying and I can see two successive attempts numerous
> times but does not attempt with authentication on any of
> these attempts.
>
> Strange thing is once I've rebooted the router the server
> behaves fine.
>
> I have numerous packet traces which show the same thing and
> no difference between using the two routers except some of
> the mdns packets and the order of a few packets, but I'm
> certain I must be missing something. Does anyone have any
> ideas on what I could be doing wrong or could this be a bug
> worth reporting.
>
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>



-- 
======================
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.326.5325

Email: [email protected]

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]

Helpdesk Contract Customers:
http://support.myitdepartment.net

<http://support.myitdepartment.net>Blog:
http://blog.myitdepartment.net

Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4

Ask about our voip fax services!
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to