Ray Jackson wrote:
The problem is I do not want to answer the call but reject it during call setup with the appropriate 401 or 403 type response - similar to the way Busy() sends back a '486 Busy Here'. The problem is this causes the other end to Hunt to the next endpoint, whereas I want the other end to give up on the call which would require something like a 401 or 403 after reading the documentation. I guess Asterisk can't send specific response codes like SER can?

In Asterisk 1.2 and later you can do a Hangup(CAUSE) where the CAUSE is an Asterisk HANGUPCAUSE. Asterisk should translate this to a SIP return code.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to