[asterisk-users] sip show channels
Olle E Johansson
oej at edvina.net
Thu Mar 8 00:20:00 MST 2007
8 mar 2007 kl. 04.16 skrev Bill Gibbs:
> Behavior on Asterisk 1.2.12, 1.2.15, 1.2.16
>
> “sip show channels”
>
>
>
> Always tends to show 100+ lines such as
>
> 192.168.1.241 (None) 2e2872da-1d 00101/21507 unkn
> No Rx: REGISTER
>
>
>
> Never seem to go away
>
>
>
> 198 total peers on this server
>
> All devices are behind NAT
>
> Registration expirations between 30secs to 2 minutes to help keep
> NAT open
>
>
>
> Should I extend the registration expiration to maybe 5 minutes?
> Will that keep the NAT holes on the remote router open long enough
> to receive calls?
>
>
If you have that short an expiry time, there's no reason to question
the 100+ open dialogs at any time.
"sip show channel" doesn't only show calls, it shows all kinds of SIP
dialogs except the subscriptions.
The dialogs are kept open for about 30 secs to make sure we handle
retransmits properly. The network
may have dropped our 200 OK and if the REGISTER comes back in
retransmit, we need to handle it.
Within that time, your devices send a re-register and the dialog
stays open.
/O
More information about the asterisk-users
mailing list