[asterisk-dev] How to reject calls
Hans Petter Selasky
hselasky at c2i.net
Tue Oct 3 00:50:50 MST 2006
On Monday 02 October 2006 20:12, Paul Cadach wrote:
> Hello,
>
> There is AST_CONTROL_HANGUP (or just NULL frame read from channel) which
> acts as REJECT on first message/signal.
Yes, but how can you distinguish the two. On a ISDN bus, in point to
multipoint, all connected units will start ringing when there is an incoming
call, for example. If the one phone sends a RELEASE_COMPLETE message to the
NT, then the NT knows that the phone does not want the call, but the other
phones are still ringing, and the user that is calling does still hear the
ringing signal. But if you send a RELEASE_COMPLETE, with cause equal to
Reject,
m(CAUSE_Q850_CALLREJ ,=0x15, "call rejected")\
then all phones will stop ringing, and the calling party will also get a
rejected message.
So again, why does asterisk not have "AST_CONTROL_REJECT" ?
--HPS
More information about the asterisk-dev
mailing list