KUMARULLAL
Guru
- Joined
- Feb 20, 2008
- Messages
- 257
- Reaction score
- 28
Solved***** Asterisk logs filling up.
I have installed Hylaxfax, iaxmodem and avantfax on Debian lenny.
I followed the same scripts that Joe has written, but installed it manually.
Everything works fine but here is what I get after every few seconds
This is filling up my asterisk log file. I want to stop this.
According to this, it means that registration of IAX2 peers is restricted to 60 seconds, but is requesting for 300 seconds.
SO I was looking for IAX config files with entries like
minregexpire=, maxregexpire=, defaultexpire=
but could not find in any of the config files.
So how do I solve this issue?
--------------------------------------------------------
Found solution to this problem:
I added the following entries in iax_registration_custom.conf
This will ensure that registration of IAX2 peers is Not restricted to 60 seconds, but now it has been bumped up to 600 seconds.
Please note, I am using Debian Lenny, 5.0.3 and NOT Centos.
I have installed Hylaxfax, iaxmodem and avantfax on Debian lenny.
I followed the same scripts that Joe has written, but installed it manually.
Everything works fine but here is what I get after every few seconds
Code:
[Feb 16 15:27:47] NOTICE[2076] chan_iax2.c: Peer 'iax-fax0' is not dynamic (from 127.0.0.1)
[Feb 16 15:27:47] NOTICE[2076] chan_iax2.c: Restricting registration for peer 'iax-fax0' to 60 seconds (requested 300)
[Feb 16 15:27:47] NOTICE[2073] chan_iax2.c: Peer 'iax-fax1' is not dynamic (from 127.0.0.1)
[Feb 16 15:27:47] NOTICE[2073] chan_iax2.c: Restricting registration for peer 'iax-fax1' to 60 seconds (requested 300)
[Feb 16 15:27:47] NOTICE[2078] chan_iax2.c: Peer 'iax-fax3' is not dynamic (from 127.0.0.1)
[Feb 16 15:27:47] NOTICE[2078] chan_iax2.c: Restricting registration for peer 'iax-fax3' to 60 seconds (requested 300)
[Feb 16 15:27:47] NOTICE[2074] chan_iax2.c: Peer '9900' is not dynamic (from 127.0.0.1)
[Feb 16 15:27:47] NOTICE[2074] chan_iax2.c: Restricting registration for peer '9900' to 60 seconds (requested 300)
[Feb 16 15:27:47] NOTICE[2077] chan_iax2.c: Peer 'iax-fax2' is not dynamic (from 127.0.0.1)
[Feb 16 15:27:47] NOTICE[2077] chan_iax2.c: Restricting registration for peer 'iax-fax2' to 60 seconds (requested 300)
[Feb 16 15:28:42] NOTICE[2071] chan_iax2.c: Peer 'iax-fax0' is not dynamic (from 127.0.0.1)
[Feb 16 15:28:42] NOTICE[2071] chan_iax2.c: Restricting registration for peer 'iax-fax0' to 60 seconds (requested 300)
[Feb 16 15:28:42] NOTICE[2074] chan_iax2.c: Peer 'iax-fax1' is not dynamic (from 127.0.0.1)
[Feb 16 15:28:42] NOTICE[2074] chan_iax2.c: Restricting registration for peer 'iax-fax1' to 60 seconds (requested 300)
[Feb 16 15:28:42] NOTICE[2072] chan_iax2.c: Peer 'iax-fax3' is not dynamic (from 127.0.0.1)
[Feb 16 15:28:42] NOTICE[2072] chan_iax2.c: Restricting registration for peer 'iax-fax3' to 60 seconds (requested 300)
[Feb 16 15:28:42] NOTICE[2077] chan_iax2.c: Peer '9900' is not dynamic (from 127.0.0.1)
[Feb 16 15:28:42] NOTICE[2077] chan_iax2.c: Restricting registration for peer '9900' to 60 seconds (requested 300)
[Feb 16 15:28:42] NOTICE[2073] chan_iax2.c: Peer 'iax-fax2' is not dynamic (from 127.0.0.1)
[Feb 16 15:28:42] NOTICE[2073] chan_iax2.c: Restricting registration for peer 'iax-fax2' to 60 seconds (requested 300)
[Feb 16 15:29:37] NOTICE[2075] chan_iax2.c: Peer 'iax-fax0' is not dynamic (from 127.0.0.1)
[Feb 16 15:29:37] NOTICE[2075] chan_iax2.c: Restricting registration for peer 'iax-fax0' to 60 seconds (requested 300)
[Feb 16 15:29:37] NOTICE[2078] chan_iax2.c: Peer 'iax-fax1' is not dynamic (from 127.0.0.1)
[Feb 16 15:29:37] NOTICE[2078] chan_iax2.c: Restricting registration for peer 'iax-fax1' to 60 seconds (requested 300)
[Feb 16 15:29:37] NOTICE[2070] chan_iax2.c: Peer 'iax-fax3' is not dynamic (from 127.0.0.1)
[Feb 16 15:29:37] NOTICE[2070] chan_iax2.c: Restricting registration for peer 'iax-fax3' to 60 seconds (requested 300)
[Feb 16 15:29:37] NOTICE[2076] chan_iax2.c: Peer '9900' is not dynamic (from 127.0.0.1)
[Feb 16 15:29:37] NOTICE[2076] chan_iax2.c: Restricting registration for peer '9900' to 60 seconds (requested 300)
[Feb 16 15:29:37] NOTICE[2074] chan_iax2.c: Peer 'iax-fax2' is not dynamic (from 127.0.0.1)
[Feb 16 15:29:37] NOTICE[2074] chan_iax2.c: Restricting registration for peer 'iax-fax2' to 60 seconds (requested 300)
[Feb 16 15:30:32] NOTICE[2074] chan_iax2.c: Peer 'iax-fax0' is not dynamic (from 127.0.0.1)
[Feb 16 15:30:32] NOTICE[2074] chan_iax2.c: Restricting registration for peer 'iax-fax0' to 60 seconds (requested 300)
[Feb 16 15:30:32] NOTICE[2072] chan_iax2.c: Peer 'iax-fax1' is not dynamic (from 127.0.0.1)
[Feb 16 15:30:32] NOTICE[2072] chan_iax2.c: Restricting registration for peer 'iax-fax1' to 60 seconds (requested 300)
[Feb 16 15:30:32] NOTICE[2078] chan_iax2.c: Peer 'iax-fax3' is not dynamic (from 127.0.0.1)
[Feb 16 15:30:32] NOTICE[2078] chan_iax2.c: Restricting registration for peer 'iax-fax3' to 60 seconds (requested 300)
[Feb 16 15:30:32] NOTICE[2071] chan_iax2.c: Peer '9900' is not dynamic (from 127.0.0.1)
[Feb 16 15:30:32] NOTICE[2071] chan_iax2.c: Restricting registration for peer '9900' to 60 seconds (requested 300)
[Feb 16 15:30:32] NOTICE[2076] chan_iax2.c: Peer 'iax-fax2' is not dynamic (from 127.0.0.1)
[Feb 16 15:30:32] NOTICE[2076] chan_iax2.c: Restricting registration for peer 'iax-fax2' to 60 seconds (requested 300)
[Feb 16 15:31:02] NOTICE[2074] chan_iax2.c: Empty registration from 127.0.0.1
[Feb 16 15:31:02] NOTICE[2072] chan_iax2.c: Empty registration from 127.0.0.1
[Feb 16 15:31:02] NOTICE[2071] chan_iax2.c: Empty registration from 127.0.0.1
[Feb 16 15:31:02] NOTICE[2077] chan_iax2.c: Empty registration from 127.0.0.1
[Feb 16 15:31:27] NOTICE[2071] chan_iax2.c: Peer 'iax-fax0' is not dynamic (from 127.0.0.1)
[Feb 16 15:31:27] NOTICE[2071] chan_iax2.c: Restricting registration for peer 'iax-fax0' to 60 seconds (requested 300)
[Feb 16 15:31:27] NOTICE[2070] chan_iax2.c: Peer 'iax-fax1' is not dynamic (from 127.0.0.1)
[Feb 16 15:31:27] NOTICE[2070] chan_iax2.c: Restricting registration for peer 'iax-fax1' to 60 seconds (requested 300)
According to this, it means that registration of IAX2 peers is restricted to 60 seconds, but is requesting for 300 seconds.
SO I was looking for IAX config files with entries like
minregexpire=, maxregexpire=, defaultexpire=
but could not find in any of the config files.
So how do I solve this issue?
--------------------------------------------------------
Found solution to this problem:
I added the following entries in iax_registration_custom.conf
Code:
minregexpire=60
maxregexpire=600
defaultexpire=300
Please note, I am using Debian Lenny, 5.0.3 and NOT Centos.