Check into this link

http://www.voip-info.org/tiki-index.php?page=Asterisk%20presence

 

AFAIK, you have to set call-limit on each peer to make the hints work
correctly.  IMO a more robust solution to see the status of the phones would
be to do a "core show channels" to get the list of channels in use and grep
the SIP peers out of that.  Just my .02.

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of satish patel
Sent: Wednesday, April 06, 2011 10:14 AM
To: asterisk-users
Subject: Re: [asterisk-users] asterisk hints

 

But i need to see all my extension state: Idle or Inuse 

How should i monitor all my phone with hint catch-all _XXX

If you have example please post me.

-S

  _____  

From: [email protected]
To: [email protected]
Date: Wed, 6 Apr 2011 10:12:04 -0500
Subject: Re: [asterisk-users] asterisk hints

This will only generate hints for 7400-7699.

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of satish patel
Sent: Wednesday, April 06, 2011 10:09 AM
To: asterisk-users
Subject: Re: [asterisk-users] asterisk hints

 

I used following hint dialplan and i ran show hints but its showing only one
extension what about other 200 phones status ?


exten => _7[456]XX,hint,SIP/${EXTEN}
exten => _7[456]XX,1,Macro(stdexten,${EXTEN},sip/${EXTEN})




shirley*CLI> core show hints

    -= Registered Asterisk Dial Plan Hints =-
              _7[456]XX@ora-cam-extensions  : SIP/${EXTEN}
State:Idle            Watchers  0
----------------
- 1 hints registered


> Date: Wed, 6 Apr 2011 15:25:08 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [asterisk-users] asterisk hints
> 
> Am 05.04.11 20:35, schrieb satish patel:
> > 
> > If i want to watch every phone status Idel or Inuse the how should i use
hint in my dialplan. I meant should i need to specify each and every
extension ? or is there any catch-all extensions ?
> > 
> > -Satish
> > 
> Hello,
> 
> You can use a hint wildcard like _XXX the _ is important cause this
> means that this hint is a dynamic hint.
> 
> for every subscribe which match the dynamic hint you will see a normal
> hint which is created by asterisk itself.
> 
> best regards
> 
> Stefan
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users


-- _____________________________________________________________________ --
Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or
update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users 

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to