Help needed with SIP registration expiry

I have FreePBX and am trying to change my SIP registration interval. Currently it is:

bell*CLI> sip show registry
Host                            Username       Refresh State                Reg.Time                    AAAA         285 Registered           Tue, 08 May 2012 19:18:32      BBBB            105 Registered           Tue, 08 May 2012 19:18:17           CCCC         105 Registered           Tue, 08 May 2012 19:18:16      BBBB            105 Registered           Tue, 08 May 2012 19:18:17

Note the Refresh time of 285 for host I have no idea why it is different than the others. Here is my sip_general_custom.conf:


sip show settings:

  Reg. min duration       60 secs
  Reg. max duration:      60 secs
  Reg. default duration:  120 secs
  Outbound reg. timeout:  60 secs
  Outbound reg. attempts: 0

Can anyone help me? Problem is sometimes an outbound call will just drop on, and my SIP provider instructed me to lower the registration retry interval. They want me to reconnect once every 60 seconds. However I cannot seem to change it from 285.

285 = 300 - 15
105 = 120 - 15
Asterisk obeys the timing info from your VoIP provider and there is no way to change that ;-(
Tell them to change their configs and not tell tell people to reregister every 5 minutes, but every 1 minute instead.
Not sure what you mean by “the call will just drop”. If it is an incoming call you can remedy the situation by putting qualify=yes in your “trunk” definition. btw:the problem is more likely to be your firewall losing state than your VSP losing your registration.

I use this SIP trunk exclusively for outbound calls. What is the - 15 for? Just curious, also noted it.

If you do outbound calls only then you do not need to register.
99% VSPs do authenticate outbound calls no matter what the registration status is.