Use a script to redirect the ringing call into an extension that returns the 
proper sip result, and hangup.

You could also add logic to alert or log that call.


From: [email protected] 
[mailto:[email protected]] On Behalf Of Mike
Sent: Tuesday, May 08, 2018 1:46 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
<[email protected]>
Subject: [asterisk-users] Reject call from Asterisk dialplan

Hi,

I'm looking for a way to reject a call remotely using the Asterisk dialplan.

For example, phone A is ringing - I'm at the other end of the room next to 
phone B, and I want to reject the call to Phone A by dialing an extension.

I'm basically trying to reproduce the Polycom "reject" action but through the 
Asterisk dialplan.

Reasons:

  1.  It would allow me to log through Asterisk who's rejecting calls
  2.  It would allow rejecting calls from another phone  (see above scenario)

I thought there could be a "SendSIPCode 486 to SIP peer phoneA" application, 
but a quick scan of the documentation does not bring obvious answers.

Mike


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to