Bump! And some more information (see below for initial problem):

This problem is intermittent, but you don't have to wait long for it to happen.
Also, sometimes when the reregister happens (and the client has been wrongly 
unregistered) asterisk sends the correct response to the client indicating this 
has been a success when the database is not updated with a new regseconds time.

Any idea as to what I've done wrong / what's going on?

Thanks in advance.
Nic.

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Nic Colledge
Sent: 11 December 2009 15:17
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Asterisk Unregisteres IAX Friend Randomly

Hi,

I've been having a strange problem recently where real-time asterisk will 
unregister a IAX friend at random times when the registration should not have 
expired.

I have a Zoiper soft phone client (on windows) connecting to asterisk over a 
LAN (no firewalls). The default reregister time of 60 seconds is used, but the 
asterisk server unregisters the client (sets regseconds to 0 in the database) 
after a seemingly random time after registration say, 15 seconds (which is 45 
seconds before registration expiry)

I set iax2 debug on, and set the core debug level to 5 so I could see the IAX2 
control frames on the console.
I use pgAdmin-III to watch the value of regseconds in the database change from 
a registered value to 0.

When the "unregister" happens, there are no frames sent to / received from the 
client, and nothing else on the asterisk console. It just seems like asterisk 
decided to unregister the client for no reason. At this point placing a call to 
the client will fail, until the client reregisters (at the correct time) 45 
seconds later.

I have seen this happen on both 1.6.2-rc8 and a trunk asterisk from yesterday 
(on different machines). I'm currently installing 1.6.0 to test that as well.
This only seems to happen with real-time asterisk. (I'm using Postgres for the 
backend database and the pgsql driver in extconfig.conf)

Any ideas what's going on here? Is this a known issue?

Thanks in advance.

Regards,
Dr. Nic Colledge
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to