Hey guys! I am new in hints application. what is the use of this application ( i already did google ) but still confused. If i want to use hint in my dialplan then should i type each and every extension in hint dialplan or is there regex available something like following _XXX will watch all my extension. Because we have more than 200 phones so its hard to write down each and every extension in hint [hints] exten => _XXX,hint,SIP/${EXTEN} exten => 7527,hint,SIP/7527 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110405/f43479d9/attachment.htm>
_____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of satish patel Sent: Tuesday, April 05, 2011 12:54 PM To: asterisk-users Subject: [asterisk-users] asterisk hints Hey guys! I am new in hints application. what is the use of this application ( i already did google ) but still confused. If i want to use hint in my dialplan then should i type each and every extension in hint dialplan or is there regex available something like following _XXX will watch all my extension. Because we have more than 200 phones so its hard to write down each and every extension in hint [hints] exten => _XXX,hint,SIP/${EXTEN} exten => 7527,hint,SIP/7527 The answer depends on the version you are using. Hints are (in my experience) most useful for BLF and AMI applications. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110405/b3c952b9/attachment.htm>
I am using asterisk-1.8.3.2 and we have polycom phones. how should i use hint ? -S From: danny at debsinc.com To: asterisk-users at lists.digium.com Date: Tue, 5 Apr 2011 12:56:58 -0500 Subject: Re: [asterisk-users] asterisk hints From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of satish patel Sent: Tuesday, April 05, 2011 12:54 PM To: asterisk-users Subject: [asterisk-users] asterisk hints Hey guys! I am new in hints application. what is the use of this application ( i already did google ) but still confused. If i want to use hint in my dialplan then should i type each and every extension in hint dialplan or is there regex available something like following _XXX will watch all my extension. Because we have more than 200 phones so its hard to write down each and every extension in hint [hints] exten => _XXX,hint,SIP/${EXTEN} exten => 7527,hint,SIP/7527 The answer depends on the version you are using. Hints are (in my experience) most useful for BLF and AMI applications. -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110405/f449cfd4/attachment.htm>
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
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 at ora-cam-extensions : SIP/${EXTEN} State:Idle Watchers 0 ---------------- - 1 hints registered> Date: Wed, 6 Apr 2011 15:25:08 +0200 > From: sst at sil.at > To: asterisk-users at lists.digium.com > 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110406/31804828/attachment.htm>
This will only generate hints for 7400-7699. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 at ora-cam-extensions : SIP/${EXTEN} State:Idle Watchers 0 ---------------- - 1 hints registered> Date: Wed, 6 Apr 2011 15:25:08 +0200 > From: sst at sil.at > To: asterisk-users at lists.digium.com > 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 usehint 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110406/1906a8bc/attachment.htm>
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: danny at debsinc.com To: asterisk-users at lists.digium.com Date: Wed, 6 Apr 2011 10:12:04 -0500 Subject: Re: [asterisk-users] asterisk hints This will only generate hints for 7400-7699. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 at ora-cam-extensions : SIP/${EXTEN} State:Idle Watchers 0 ---------------- - 1 hints registered> Date: Wed, 6 Apr 2011 15:25:08 +0200> From: sst at sil.at> To: asterisk-users at lists.digium.com> 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 iuse 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110406/32079fa2/attachment.htm>
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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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: danny at debsinc.com To: asterisk-users at lists.digium.com Date: Wed, 6 Apr 2011 10:12:04 -0500 Subject: Re: [asterisk-users] asterisk hints This will only generate hints for 7400-7699. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 at ora-cam-extensions : SIP/${EXTEN} State:Idle Watchers 0 ---------------- - 1 hints registered> Date: Wed, 6 Apr 2011 15:25:08 +0200 > From: sst at sil.at > To: asterisk-users at lists.digium.com > 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 usehint 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110406/95e11df3/attachment.htm>