UKVoIPTalk.com

UKVoIPTalk.com

The UK's Number One VoIP Resource

 

Trixbox - How to set a trun to register after x amount of seconds

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 ...


Go Back   UKVoIPTalk.com > Newsgroup Forums > uk.telecom.voip

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2006, 09:33
RH
Guest
 
Posts: n/a
Default Trixbox - How to set a trun to register after x amount of seconds

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?


Reply With Quote
  #2 (permalink)  
Old 05-09-2006, 10:20
paul123
Guest
 
Posts: n/a
Default Re: Trixbox - How to set a trun to register after x amount of seconds


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.

Reply With Quote
  #3 (permalink)  
Old 05-09-2006, 18:09
alexd
Guest
 
Posts: n/a
Default Re: Trixbox - How to set a trun to register after x amount of seconds

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

Reply With Quote
  #4 (permalink)  
Old 05-09-2006, 19:44
paul123
Guest
 
Posts: n/a
Default Re: Trixbox - How to set a trun to register after x amount of seconds


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 :)

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 23:41.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0