Hi,

I have some Astlinux boxes as local pbx after Modem with standard firewall 
inside modems , Astlinux have different Releases,  and since years I have this 
issue and can’t fix that:  
After a week or month and sometimes longer  the voip number can’t be registered 
and Status show me „rejected“ 

Reboot can’t help - Aterisk Reload can’t help - I can’t reproduce that for 
testing. 
If I have this problem only change the SIP Server to another Sipcall sip server 
can help to fix that issues. 

As sample if I was registered to business1.voipgateway.org 
<http://business1.voipgateway.org/> I must change registrar  to 
business2.voipgateway.org <http://business2.voipgateway.org/> and I can save 
and reload to  register without reboot.

I have tried  instead of registrar name to  use the ip adress but this not 
fixed my problem. 
I use Sipcall DNS IP’s to in the Astlinux Network setting that don’t help, 
I don’t use IPV6.  IPV6 is disabled in the Network Settings.
Nat and Firewall in Astlinux are enabled and.

I found  that I have this issue only with the provider Sipcall.ch 
<http://sipcall.ch/> ( if registered on different subdomains of  voipgateay.org 
<http://voipgateay.org/> ) and only if I use Swisscom as Internet Provider. On 
others provider on the same astlinux and at the same time I don’ t have this 
issues.
On the same Astlinux box by some customer I have different provider and sipcall 
on the same astlinux box and only the Sipcall have this all other provider 
worked onlythe the Sipcall account get rejected. 

At now I use Alix Board and AstLinux Release astlinux-1.2.6.1 i586 - Asterisk 
1.8.32.3, but i had this issues with oter astlinux release to.

Some of my customer changed to internet with fix ip adress and  there are this 
issue not so often.before with Dynamic IP Adress i had this issues oftener.

The Sipcall support told me that is not the problem on the Sipcall site.  Some 
times the Sipcall told me Astlinux trying to register with old IP Adress and 
sometimes they told me Astlinux don’t try to register for some hours or days 
and they don’t  getting inquiry from pbx to register)

I tried to change some settings in my sip.conf and  there is nothing what 
helped me to resolve the issue.

egisterattempts=0
registertimeout=20
maxexpiry=3600
defaultexpiry=600
qualify=2500
srvlookup=no
nat=yes

I use a cron script if external IP changed and update the sip.conf with the new 
IP for dynamic IP and  again I have this problem, that not helped me great.

The PBX can work for weeks and months without problem but after some time I get 
that again.  

I don’t know have this issue something with Astlinux firewall or with swisscom 
modem or with Sipcall.

I think when, for some reason the registry fail and the state of the registry 
becomes REJECTED, asterisk stops trying to register. Can someone help me 
figuring out why this occur and a way to prevent asterisk from stop sending the 
registration requests. 

Does anybody have an idea about that problem ? How can we configure Asterisk to 
retry after some time in case of rejection ?


Im my sip.conf I have this:


I use a cron script to change the IP Adress in Astlinux  if external ip adress 
was changed and  again I have this problem that  some customer get rejected.

The PBX can work for weeks and months without problem but after some time I get 
that again.  

I don’t know have this issue something with Astlinux firewall or with swisscom 
modem or with Sipcall.

I think when, for some reason the registry fail and the state of the registry 
becomes REJECTED, asterisk stops trying to register. Can someone help me 
figuring out why this occur and a way to prevent asterisk from stop sending the 
registration requests. 

Does anybody have an idea about that problem ? How can we configure Asterisk to 
retry after some time in case of rejection ?


Im my sip.conf I have this:

[general]
useragent=mypbxname
port=5060   
context = from-sip-external; send unknown sip callers to this context
alwaysauthreject=yes
deny = 0.0.0.0/0.0.0.0
permit = 10.0.0.0/255.255.255.0
permit = 10.8.0.6/255.255.255.0
allowguest=no
disallow=all 
allow=alaw
allow=ulaw
language=de
registerattempts=0
registertimeout=20
maxexpiry=3600
defaultexpiry=600
qualify=2500
notifycid=yes
srvlookup=no
nat=yes
allow subscribe = yes
subscribecontext = hints
trustrpid=yes
sendrpid=yes
;t38pt_udptl = yes
faxdetect=yes

register => 4171511xxxx:2345678@212.117.203.35 
<mailto:2345678@212.117.203.35>/4171511xxxx

[071511xxxx]
type=peer
username=4171511xxxx
secret=2345678
host=212.117.203.35
;fromuser=4171511xxxx
fromdomain=212.117.203.35
directmedia=no
insecure=port,invite
disallow=all 
allow=alaw
allow=ulaw
context=incoming212.117.203.35
dtmfmode=info
trustrpid=yes
sendrpid=pai



Best regards
Nedi

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to