[asterisk-users] Reject call from Asterisk dialplan
Alexander Lopez
alex.lopez at opsys.com
Tue May 8 13:12:47 CDT 2018
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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: Tuesday, May 08, 2018 1:46 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' <asterisk-users at lists.digium.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180508/ed19594c/attachment.html>
More information about the asterisk-users
mailing list