The UK's Number One VoIP Resource
This is a discussion on Trixbox - How to set a trun to register after x amount of seconds within the uk.telecom.voip forums, part of the Newsgroup Forums category; Hi anyone help me on this one, I thought I had my system sorted, as it was working for some ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi anyone help me on this one,
I thought I had my system sorted, as it was working for some time Anyway, now I am finding my Voipfone drops the registration after a few hours, If some one calls it gets routed via PSTN fall back and If I dial outwards I get one way audio (No Inbound) If I do a reset or chnage a parameter in trixbox so it re-reads teh confiig all is fine. Trying to find information is near impossible, but I found somewhere that adding maxexpiry=180 should help in the trunk settings, but it does not for me. Are there any other settings which will get this working correctly? |
|
|||
|
RH wrote:[color=blue] > Hi anyone help me on this one, > > I thought I had my system sorted, as it was working for some time > Anyway, now I am finding my Voipfone drops the registration after a few > hours, > > If some one calls it gets routed via PSTN fall back > and If I dial outwards I get one way audio (No Inbound) > > If I do a reset or chnage a parameter in trixbox so it re-reads teh confiig > all is fine. > > Trying to find information is near impossible, but I found somewhere that > adding > maxexpiry=180 should help in the trunk settings, but it does not for me. > > Are there any other settings which will get this working correctly?[/color] I had a similar problem with my voicestick account, which I only use for incoming - where it was losing its registration after an hour. I also tried changing maxexpiry, defaultexpiry etc all to no avail. What eventually cured the problem was to force a SIP reload every 60 minutes (I actually set it to 30 minutes). Not saying this is the issue in your case. Instructions on how to do this were provided by chandave on the voxilla forums where he was actually dealing with a different issue - you'll need to adapt them a little, if you're going to try this - the relevant part is: ------------ While still at the Linux command prompt, issue the following: Code: /bin/echo "00,05,10,15,20,25,30,35,40,45,50,55 * * * * root /bin/sh /etc/asterisk/sip_reload.sh" >> /etc/crontab ----------- The full post can be found here: [url]http://voxilla.com/index.php?name=PNphpBB2&file=viewtopic&t=6307&postdays=0&postorder=asc&highlight=sipreload&start=15[/url] It forces a full SIP reload, not just voipfone. |
|
|||
|
paul123 wrote:
[color=blue] > > RH wrote:[color=green] >> Hi anyone help me on this one, >> >> I thought I had my system sorted, as it was working for some time >> Anyway, now I am finding my Voipfone drops the registration after a few >> hours, >> >> If some one calls it gets routed via PSTN fall back >> and If I dial outwards I get one way audio (No Inbound) >> >> If I do a reset or chnage a parameter in trixbox so it re-reads teh >> confiig all is fine. >> >> Trying to find information is near impossible, but I found somewhere that >> adding >> maxexpiry=180 should help in the trunk settings, but it does not for me. >> >> Are there any other settings which will get this working correctly?[/color] > > I had a similar problem with my voicestick account, which I only use > for incoming - where it was losing its registration after an hour. I > also tried changing maxexpiry, defaultexpiry etc all to no avail. What > eventually cured the problem was to force a SIP reload every 60 minutes > (I actually set it to 30 minutes). Not saying this is the issue in your > case. > > Instructions on how to do this were provided by chandave on the voxilla > forums where he was actually dealing with a different issue - you'll > need to adapt them a little, if you're going to try this - the relevant > part is: > ------------ > While still at the Linux command prompt, issue the following: Code: > > /bin/echo "00,05,10,15,20,25,30,35,40,45,50,55 * * * * root /bin/sh > /etc/asterisk/sip_reload.sh" >> /etc/crontab[/color] That will actually do it every 5 minutes. Also, it needs to be entered as one line, and don't enter 'Code:' or it won't work. -- <http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx) 18:07:57 up 10 days, 2:12, 2 users, load average: 0.17, 0.12, 0.08 This is my BOOOOOOOOOOOOOOOOOOOOOMSTICK |
|
|||
|
alexd wrote:[color=blue] > paul123 wrote: >[color=green] > > > > RH wrote:[color=darkred] > >> Hi anyone help me on this one, > >> > >> I thought I had my system sorted, as it was working for some time > >> Anyway, now I am finding my Voipfone drops the registration after a few > >> hours, > >> > >> If some one calls it gets routed via PSTN fall back > >> and If I dial outwards I get one way audio (No Inbound) > >> > >> If I do a reset or chnage a parameter in trixbox so it re-reads teh > >> confiig all is fine. > >> > >> Trying to find information is near impossible, but I found somewhere that > >> adding > >> maxexpiry=180 should help in the trunk settings, but it does not for me. > >> > >> Are there any other settings which will get this working correctly?[/color] > > > > I had a similar problem with my voicestick account, which I only use > > for incoming - where it was losing its registration after an hour. I > > also tried changing maxexpiry, defaultexpiry etc all to no avail. What > > eventually cured the problem was to force a SIP reload every 60 minutes > > (I actually set it to 30 minutes). Not saying this is the issue in your > > case. > > > > Instructions on how to do this were provided by chandave on the voxilla > > forums where he was actually dealing with a different issue - you'll > > need to adapt them a little, if you're going to try this - the relevant > > part is: > > ------------ > > While still at the Linux command prompt, issue the following: Code: > > > > /bin/echo "00,05,10,15,20,25,30,35,40,45,50,55 * * * * root /bin/sh > > /etc/asterisk/sip_reload.sh" >> /etc/crontab[/color] > > That will actually do it every 5 minutes. Also, it needs to be entered as > one line, and don't enter 'Code:' or it won't work.[/color] alexd wrote:[color=blue] > paul123 wrote: >[color=green] > > > > RH wrote:[color=darkred] > >> Hi anyone help me on this one, > >> > >> I thought I had my system sorted, as it was working for some time > >> Anyway, now I am finding my Voipfone drops the registration after a few > >> hours, > >> > >> If some one calls it gets routed via PSTN fall back > >> and If I dial outwards I get one way audio (No Inbound) > >> > >> If I do a reset or chnage a parameter in trixbox so it re-reads teh > >> confiig all is fine. > >> > >> Trying to find information is near impossible, but I found somewhere that > >> adding > >> maxexpiry=180 should help in the trunk settings, but it does not for me. > >> > >> Are there any other settings which will get this working correctly?[/color] > > > > I had a similar problem with my voicestick account, which I only use > > for incoming - where it was losing its registration after an hour. I > > also tried changing maxexpiry, defaultexpiry etc all to no avail. What > > eventually cured the problem was to force a SIP reload every 60 minutes > > (I actually set it to 30 minutes). Not saying this is the issue in your > > case. > > > > Instructions on how to do this were provided by chandave on the voxilla > > forums where he was actually dealing with a different issue - you'll > > need to adapt them a little, if you're going to try this - the relevant > > part is: > > ------------ > > While still at the Linux command prompt, issue the following: Code: > > > > /bin/echo "00,05,10,15,20,25,30,35,40,45,50,55 * * * * root /bin/sh > > /etc/asterisk/sip_reload.sh" >> /etc/crontab[/color] > > That will actually do it every 5 minutes. Also, it needs to be entered as > one line, and don't enter 'Code:' or it won't work.[/color] hence "you'll need to adapt them a little" the "code" was from the page on Voxilla - I'm sure RH will have had a look on the Voxilla link and worked it out from there :) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|