Hello Richard;

I'm banking on Fish&Chips and COLD ROOT Beer.   John Li owes me one plate 
already!  

Your IP address getting renewed daily is not normal with Rogers.   

1.  Re-Connect your old router & release the DHCP
2.  Power Cycle your Rogers Modem.
3.  Then reconnect your Linksys and DHCP assign
3.  See if IP renews again at 8:00PM
4.  If it does, clone MAC address and try again.

Rogers cache's your MAC address unless you do a literal release of the IP 
address, and POWER CYCLE your Rogers modem.   I was a Sr. Consultant with 
Rogers over 10 years ago and some of their procedures have not changed to date.

I believe your problem will have been resolved once this is done.

But normally speaking, there really isn't any need to reboot your Asterisk 
machine.   I can change my Asterisk servers IP address and get it working on 
the fly with the new IP.   The issues you are describing is network related.   

And yes, 1.02 is the latest firmware that I am using on my Linksys.   Let us 
know how this works out for ya.

Cheers!
Reza.



----- Original Message ----- 
  From: Richard (Rogers @ work) 
  To: 'Reza - Asterisk Enthusiast' ; [email protected] 
  Sent: Saturday, June 09, 2007 10:03 PM
  Subject: RE: [on-asterisk] Asterisk caching router's IP


  Hi Reza,

   

  No problem.  I like fish and chips too.  I used to work in F&C shop many 
years ago when I was a University student in U.K.

   

  Here is what I found

  1/  cd /etc/asterisk and "grep bindaddr *"  All results showed binaddr=0.0.0.0

  2/  When the problem happens, my IAX trunk can not send traffic out and all 
outcalls came back with "all circuits are busy now, please try your call again 
later"

  3/  Funny enough, when the problem happens, I will go to the router's status 
page and do  a release and renew IP.  It always returns a new IP.

  4/  Also, when the problem happens, all my PCs connected to the router can 
not display any web pages.  So all internet connections failed.

   

  Based on 4/ above, I truly think it has to do with my new Linksys router.  
What do you think?

   

  After it gets a new IP from 3/, I have  to reboot asterisk and then 
everything is back to normal.

   

  BTW, are you using the Linux version of the G router or just non-linux?

   

  I have just upgraded my firmware to the latest 1.02.   Have to see if it 
happens again tomorrow night.  Also, funny that my Rogers IP get renewed daily 
at around 8pm after I replaced my D-Link with the Linksys.

  Not sure if I should clone the MAC address of my old D-Link to stop it from 
renewing.

   

  Will keep you posted,

  Richard

   

  -----Original Message-----
  From: Reza - Asterisk Enthusiast [mailto:[EMAIL PROTECTED] 
  Sent: Saturday, June 09, 2007 11:44 AM
  To: [email protected]
  Subject: Re: [on-asterisk] Asterisk caching router's IP

   

  I personally use WRT54G v6 with no problem with my home & development 
Asterisk boxes.  All production servers are hosted at a data centre to which 
the story is completely different.

   

  I'm on DSL.  My IP almost always changes.   

   

  Update the firmware with the appropriate version of the router.   That is use 
only the latest firmware for the specific router version.  For example:  DO NOT 
install a V4 Router's latest firmware into the V6 Router series.

   

  There is no IP caching going on in you Asterisk -- unless you have encoded 
the latest IP address into the sip.conf.  I suspect you may also have 
bindaddr=0.0.0.0 replaced with bindaddr=<your_ip_address>.   Leave this as 
bindaddr=0.0.0.0 since this is your home * server.

   

  I suspect you are using some sort of dynamic domain name services to reflect 
your IP address.  It may be an issue with the dynamic DNS service for your 
particular account.   Additionally back track any changes you may have made on 
your Asterisk and undo them - while you were trying to figure things out with 
your dlink connected.

   

  There is no need to restart your machine each time.  Simply restart your 
Asterisk service and/or up & down the network interface.   That is "ifconfig 
eth0 down"   and a "ifconfig eth0 up" -- to shut down your network card and 
start it up again.

   

  The WRT54G is an excellent consumer class router!  I've been using this for a 
long time.

   

  That's one cold root beer and a plate of Fish & Chips.

   

  Cheers!

   

  ----- Original Message ----- 

    From: Richard (Rogers @ work) 

    To: 'Chuck Mariotti' ; [email protected] 

    Sent: Saturday, June 09, 2007 7:27 AM

    Subject: RE: [on-asterisk] Asterisk caching router's IP

     

    Yeah Chucks, I am suspecting that it could be a problem with my new Linksys 
WRT54G v6.  I did not have this problem with my old D-Link router.

    Reza,  as you mentioned in my other topic that you were also using this 
series, did you have similar problem?

    Or your IP does not change and so you would not have seen it?  May I ask 
which version of firmware are you using?

     

    Thanks,

    Richard

     

    -----Original Message-----
    From: Chuck Mariotti [mailto:[EMAIL PROTECTED] 
    Sent: Friday, June 08, 2007 5:41 PM
    To: Richard (Rogers @ work); [email protected]
    Subject: RE: [on-asterisk] Asterisk caching router's IP

     

    Not elegant, but could throw a cheapo NAT firewall between. So the Asterisk 
doesn't know about the IP change. it's the firewall's job (of assuming the 
firewall can do it without problems).

     

    Regards,

    Chuck

     

    From: Richard (Rogers @ work) [mailto:[EMAIL PROTECTED] 
    Sent: June-08-07 4:50 PM
    To: [email protected]
    Subject: [on-asterisk] Asterisk caching router's IP

     

    Hi All,

     

    Everytime I my router asquires a new IP from Rogers from their DHCP server 
after lease expires, my Asterisk will get stuck and no in/out calls can go thru 
without a reboot.

    I am suspecting Asterisk is caching this IP.

     

    If true, is there a setting somewhere which can stop such caching?

     

    Appreciate your suggestion,

    Richard

Reply via email to