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

Reply via email to