Refresh 'sip show peers'?

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Refresh 'sip show peers'?

Postby MontyMoose » Sun Aug 05, 2012 3:19 pm

I find the CLI command 'sip show peers' to be very useful. However it's quite often out of date. users unsubscribe and it still shows them in the list, users resubscribe with a new port number and the old port number remains. Is there any way you can force the sip show peers command to refresh itself to show the latest information?

Thanks.
MontyMoose
Newsterisk
 
Posts: 9
Joined: Wed Jul 11, 2012 5:25 pm

Re: Refresh 'sip show peers'?

Postby david55 » Sun Aug 05, 2012 3:53 pm

sip show peers formats the contents of the tables actually used by Asterisk in its operations. If it is "out of date", it means the client failed to update the information.
david55
Moves Like Spencer
 
Posts: 7693
Joined: Fri Sep 26, 2008 5:03 am

Re: Refresh 'sip show peers'?

Postby MontyMoose » Sun Aug 05, 2012 5:59 pm

I see - thanks. Since I made the first post, I've stuck qualify=yes into sip.conf. This helps the situation.
MontyMoose
Newsterisk
 
Posts: 9
Joined: Wed Jul 11, 2012 5:25 pm


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 26 guests