[asterisk-users] how to define a key to decline incoming call

Anselm Martin Hoffmeister anselm at hoffmeister-online.de
Fri May 18 00:10:11 MST 2007


Am Donnerstag, den 17.05.2007, 10:40 +0200 schrieb asterisk at frameweb.it:
> Hi all.
> We have Snom phones which do have a defined key in order to drop incoming
> call WITHOUT answering.
> 
> Pressing that key, a "SIP/2.0 486 Busy Here" message is sent back.
> 
> We have other phones (I.E. DECT Siemens C450IP, or ATCOM 320 or other)
> which DO NOT have any key to do that (or the key does not work, as is with
> Siemens C450 IP ): you have to answer and immediatly after hangup the call.
> 
> Acting on feature.conf we succed in defining keys for blind transfer or
> attended transfer: the last thing we need is the ability to drop an
> incoming  call without answering it. Is there any way to define a key (or
> double-key, i.e. "*4") to send back a  "SIP/2.0 486 Busy Here" message ?
> 
> thanks in advance,

Please have a look at
http://www.voip-info.org/wiki/view/Asterisk+Cmd+Dial

Especially the M() parameter. There is an "example 2" that needs only
little changing to match your idea. You could, for example, wait 2 secs
in that macro before bridging the calls - and reject call if "1" is
pressed within 2 seconds, or similar.

Of course this prepends 2 seconds to any call bridging.

For the Siemens Gigasets, most of them (and I do not know the C450IP,
only the C450) show a soft button "Ignore" which meens "stop ringing,
but do not tell the caller". Combined with a Dial() timeout and
following voicemail this works like "stop disturbing, eventually the
voicemail will take the call". No idea about the ATCOM though, so having
that Macro stuff might be the most universal method available.

BR
Anselm



More information about the asterisk-users mailing list