Like many others on this list, I had been experiencing periodic lockups with my Grandstream products (Handytone 286 ATA & BudgeTone 101). The lockups consisted of seemingly dead devices, no dialtone or response, until I power cycled via software or hardware. The workaround had been to reboot the device every 30 minutes with a cron job. I contacted Grandstream and although they didn't have a specific answer, they alluded to the fact that lack of registration might be the cause. I performed the following: Increased the "Register Expiration" in the device to 60 minutes Increased "maxexpirey" and "defaultexpirey" to 3800 seconds Configured the device with a static IP address Added defaultip=172.16.1.123 and host=dynamic to sip.conf It has now been running for 48 hours without a single lockup. Here are some of the settings that I am using: In Grandstream: Register Expiration: 60 SIP Registration: Yes keep-alive interval: 20 SUBSCRIBE for MWI: No In Sip.conf: maxexpirey=3800 defaultexpirey=3800 [123] callerid="From Me" <123> username=123 mailbox=123 secret=password defaultip=172.16.1.123 host=dynamic context=mycontext qualify=no type=friend dtmfmode=inband canreinvite=no incominglimit=1 insecure=yes callgroup=1 pickupgroup=1 nat=0 disallow=all allow=ulaw deny=0.0.0.0/0.0.0.0 permit=172.16.1.0/255.255.255.0 Barton
Maron Kristófersson
2004-Oct-02 01:20 UTC
[Asterisk-Users] Re: Solution to my Grandstream lockups
Which version of the firmware are you using. I'm experiencing the lockups but itusually takes about 10-20 days before the devices lockup. Ihave the registerexpiry set to 60 seconds but am not using the defaultip setting. Maron Barton Hodges wrote:> Like many others on this list, I had been experiencing periodic > lockups with my Grandstream products (Handytone 286 ATA & BudgeTone > 101). The lockups consisted of seemingly dead devices, no dialtone or > response, until I power cycled via software or hardware. The > workaround had been to reboot the device every 30 minutes with a cron > job. I contacted Grandstream and although they didn't have a specific > answer, they alluded to the fact that lack of registration might be > the cause. > > I performed the following: > > Increased the "Register Expiration" in the device to 60 minutes > Increased "maxexpirey" and "defaultexpirey" to 3800 seconds > Configured the device with a static IP address > Added defaultip=172.16.1.123 and host=dynamic to sip.conf > > It has now been running for 48 hours without a single lockup. Here > are some of the settings that I am using: > > In Grandstream: > > Register Expiration: 60 > SIP Registration: Yes > keep-alive interval: 20 > SUBSCRIBE for MWI: No > > In Sip.conf: > > maxexpirey=3800 > defaultexpirey=3800 > > [123] > callerid="From Me" <123> > username=123 > mailbox=123 > secret=password > defaultip=172.16.1.123 > host=dynamic > context=mycontext > qualify=no > type=friend > dtmfmode=inband > canreinvite=no > incominglimit=1 > insecure=yes > callgroup=1 > pickupgroup=1 > nat=0 > disallow=all > allow=ulaw > deny=0.0.0.0/0.0.0.0 > permit=172.16.1.0/255.255.255.0 > > Barton > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >