System information

Typically, hints are simply defined along with the rest of the extension. This next ex-
ample adds simple extension entries for what would happen if each of these extensions
were called:
[default]
exten => 1234,hint,SIP/phoneA&SIP/phoneB&SIP/phoneC
exten => 1234,1,Dial(SIP/phoneA&SIP/phoneB&SIP/phoneC)
exten => 5555,hint,DAHDI/1
exten => 5555,1,Dial(DAHDI/1)
exten => 31337,hint,MeetMe:31337
exten => 31337,1,MeetMe(31337,dM)
In our example we’ve made a direct correlation between the hint’s extension number
and the extension number being dialed, although there is no requirement that that be
the case.
Checking Extension States
The easiest way to check the current state of an extension is at the Asterisk CLI. The
core show hints command will show you all currently configured hints. Consider the
following hint definition:
Figure 14-2. Extension state mappings
304 | Chapter 14:Device States