[Freeswitch-users] How to reject a call without answering
Klaus Teller
klaus.teller at gmx.net
Fri Jun 5 20:34:26 PDT 2009
Hi,
Going through the socket api, how can i reject a call without having to answer it first?
I tried sending a hangup command with cause set either to NO_ANSWER or NORMAL_CLEARING. In both cases, Freeswitch does create another socket to deliver the very same call.
More precisely, when a call comes in i send a connect command. Then after some few seconds, i then send the following hangup command:
SendMsg 6debb41e-05a6-4f8a-9003-9f755630519f
call-command: hangup
hangup-cause: NO_ANSWER
Thanks for any feedback.
Klaus.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the FreeSWITCH-users
mailing list