Peter Zeltins
2003-Jun-26 23:59 UTC
[Asterisk-Users] Detecting off-hook state on extension
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? TIA, Peter
Steven Critchfield
2003-Jun-27 05:25 UTC
[Asterisk-Users] Detecting off-hook state on extension
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@basesys.com>
I'm not sure if immediate mode is enabled but certainly it could be implemented as it is in zaptel. Mark On Fri, 27 Jun 2003, 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? > > TIA, > Peter > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >