Sip accounts become unreachable sometimes?

hi ,
i have an infrequent problem . and really make a big troubles .

i have an elastix server , and remotly connect to elastix server by softphones and receive calls .
im using zoiper software free edition .

some times the agent is loggin to queue , and no calls are redirected to him .
after searching for the problem ,
i found that the sate in the cli # sip show peers is unreachable !!!

but from the software status , the account is seem registered .

now if the agent make unregister and register again from software .
the state becomes OK . and he can recive calls .

my request is ,
why does this problem occurs ???
and how to solve it ???
why elastix dont automatically make autorefresh to connect the users when thier state is unreachble ???
is this network issue ? or sip software issue ?

here is my system specifications :

[u] Kernel
Linux(i386)-2.6.18-238.12.1.el5

Elastix
elastix-2.2.0-14
elastix-firstboot-2.2.0-5
elastix-system-2.2.0-14
elastix-email_admin-2.2.0-9
elastix-vtigercrm-5.1.0-8
elastix-extras-2.0.4-4
elastix-asterisk-sounds-1.2.3-1
elastix-my_extension-2.2.0-5
elastix-agenda-2.2.0-5
elastix-a2billing-1.8.1-16
elastix-addons-2.2.0-4
elastix-im-2.0.4-2
elastix-pbx-2.2.0-14
elastix-security-2.2.0-7
elastix-reports-2.2.0-6
elastix-fax-2.2.0-4

RounCubeMail
RoundCubeMail-0.3.1-10

Mail
postfix-2.3.3-2.3.el5_6
cyrus-imapd-2.3.7-12.el5_7.1

IM
openfire-3.5.1-2

FreePBX
freePBX-2.8.1-7

Asterisk
asterisk-1.8.7.0-0
asterisk-perl-0.10-2
asterisk-addons-1.8.7.0-0

FAX
hylafax-4.3.10-2rhel5
iaxmodem-1.2.0-1.1

DRIVERS
dahdi-2.4.1.2-5
rhino-0.99.4-2.rc1
wanpipe-util-3.5.23-1[/u][quote][/quote]

regards

If the status of the phone is Unreachable, that means that the phones failed to reply to the periodic SIP Options message that Asterisk is sending to each phone as a keepallive every 60 seconds (qualify=yes mechanism).

If the phone does not reply to the SIP Options messages, there are usually 2 causes:

  • network issues
  • phone issues (this is much more common :wink:)

hi ,

1- if the problem phone issue

im using softphone zoiper software free editiion ,

should i find another software ??? like xlite ?

2- if the problem is network issue
the client is adsl clinet and use tplink router to reach the server ,
should i enable QOS or make portforwarding .??

regards

hi ,
i could finally estimate the problem accurately ,
wt happens is ,

the user register with ip x.x.x.x ,

sometimes the user disconnect from internet and reconnect with a new ip ,
now from elastix it seems that elastix trying to reach the user with the ip x.x.x.x

but actually , the user is with the ip y.y.y.y which is another ip differ than x.x.x.x .

so in this case , the user has to unregister and register agian to solve this issue .

=====================
to solve this issue , i find a solution and looking fror another one which is easiser ,
my solution is using fixed ip from each user and this will solve my issue ,

but i looking from another solution , why the software dont make refresh rather that elastix ??

i dont know if there is another software phones can solve this issue :smiley: :smiley:

thanks david very much

regards

you could try setting the registration timer much shorter so that the phone has to re-register more often, say 60 seconds… it may not completely eliminate the issue but might alleviate it more… I was thinking one of the softphones like bria could monitor the WAN IP and if it changed force a re-register of the phone to the server…

-Christopher

thanks i will lokk for bria ,
regards