[asterisk-users] Sip session timers.

Leonardo Pistone l.pistone at sispac.it
Thu May 13 11:12:54 CDT 2010


Dear all,

I have a question about session timers. I have one of my installations 
(* 1.6.2.7) where all SIP calls get stuck, like this:

cs4wall*CLI> sip show channels
Peer             User/ANR         Call ID          Format           Hold 
     Last Message    Expiry
192.168.40.178   42               3c291b87c66e-sl  0x8 (alaw)       No 
      Rx: BYE
192.168.40.179   41               3c29160969a5-3o  0x8 (alaw)       No 
      Rx: BYE
192.168.40.101   34xxxxxxxx       35e52e9a70318d2  0x8 (alaw)       No 
      Rx: BYE
192.168.40.179   41               249be1a944ffaad  0x8 (alaw)       Yes 
      Rx: BYE         Done
192.168.40.179   41               474d9912211df31  0x8 (alaw)       No 
      Rx: BYE
192.168.40.101   patton-quartu    460edaf8a643fea  0x8 (alaw)       No 
      Tx: ACK
192.168.40.178   42               3b6b87342aa1299  0x8 (alaw)       No 
      Rx: BYE
192.168.40.179   41               613596f5278d8bc  0x8 (alaw)       Yes 
      Rx: BYE         Done
192.168.40.101   patton-quartu    7dc4ff993231df7  0x8 (alaw)       No 
      Rx: BYE
192.168.40.178   42               3c291834ab92-x9  0x8 (alaw)       No 
      Rx: BYE
192.168.40.178   42               26c6c35f5659fe8  0x8 (alaw)       No 
      Tx: ACK
11 active SIP dialogs

Strange thing is, I enabled sip session timers=originate, and 
rtptimeout, but this doesn't seem to do anything.

I noticed that a "sip show channel xxx" while the call is actually up says:

>   Session-Timer:          Active
>   S-Timer Interval:       1800
>   S-Timer Refresher:      uac
>   S-Timer Expirys:        0
>   S-Timer Sched Id:       2267
>   S-Timer Peer Sts:       Active
>   S-Timer Cached Min-SE:  90
>   S-Timer Cached SE:      1800
>   S-Timer Cached Ref:     auto
>   S-Timer Cached Mode:    Originate

A few seconds later, when the phone actually hung up, for the same sip 
channel I get:

 >   Session-Timer:          Inactive

This seems strange to me. Any ideas?


Thanks a lot.

Leo
-- 
Leonardo Pistone
SISPAC

Tel. 0114540111, Fax 0114540160



More information about the asterisk-users mailing list