[Asterisk-Users] SIP expiry time

HengWee Chin chinhw at hotmail.com
Wed Dec 1 18:47:40 MST 2004


>I have this same problem with Cisco Phones. Someone will try and call an
>extension and asterisk will say "Can't create SIP channel" and I 
>immediately
>do "sip show peers" and the phone in question still has an IP listed.
>
>If I know for fact that my 10 phones will never change IP addresses, how 
>can
>I make the registration/expire times something alot larger, like 24 hours?
>
>-Matthew

Hi Matthew,

  From what I understand, the expiry time is set by the phone. If the phone 
do not set the expiry time during registration, asterisk will use the 
default time of 3600 seconds. I do not have Cisco phones, so you might want 
to try to see if you can set the expiry time in the Cisco phone.

**Note: The above are base on my investigation done previously, please take 
it with a pitch of salt.
Perhaps someone can verify my findings.

Regards,
Chin

>
>----- Original Message -----
>From: "HengWee Chin" <chinhw at hotmail.com>
>To: <asterisk-users at lists.digium.com>
>Sent: Wednesday, December 01, 2004 8:36 AM
>Subject: [Asterisk-Users] SIP expiry time
>
>
> > Hi,
> >
> >   I notice that SJPhone is registering to asterisk with an expires of 
>120
> > secs.  However, when I invoke the command "sip show peer [sip id]". I
>notice
> > that the output indicates the expires 427 and the expiry is 900. Can
>someone
> > explain these numbers to me?
> >
> > I also notice that just before SJPhone re-register, when I try to make a
> > call to the SJPhone, asterisk will complain that it is not able to find
>the
> > URL to sip. When I issue the command "sip show peers", I can still see 
>the
> > URL in the list of sip registered. After SJPhone re-register, asterisk 
>is
> > able to call again. Any Ideas how come there is this behaviour? A bug?
> >
> > Regards,
> > Chin
> >
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
>





More information about the asterisk-users mailing list