[Asterisk-Users] Detecting off-hook state on extension
Steven Critchfield
critch at basesys.com
Fri Jun 27 05:25:59 MST 2003
On Fri, 2003-06-27 at 01:59, Peter Zeltins wrote:
> I'll have MGCP hardphone that needs to dial pre-defined number as soon as it
> goes off-hook. So far I'm lost as to how (if at all) this can be implemented
> in Asterisk. Any pointers?
First you must find out if your MGCP phones will automatically connect.
There has been discussion of this type of feature on sip phones and Zap
devices. Try using google to search the list and look for "ring down",
hopefully you can find where to start to configure your phone.
Now for the part of the answer that is not unique to MGCP. Once you have
the phone being answered right away, you just stuff the phone into a
context that is unique for that phone and use the s extension to dial
what you want. If you have a large number of phones like this, you may
want to create a s extension that does a lookup for where the call
originated and where it needs to go to.
So as you see, this is a easy problem with the exception possibly of
configing your MGCP phone.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-users
mailing list