[Freeswitch-users] How to reject a call without answering

Klaus Teller klaus.teller at gmx.net
Fri Jun 5 21:28:46 PDT 2009


It doesn't seem to work. I tried the following:

api respond  9015430e-82cf-418c-bf4c-f3ac6e85caf2 503


SendMsg  9015430e-82cf-418c-bf4c-f3ac6e85caf2
call-command: execute
execute-app-name: respond
execute-app-arg: 503

Is one of these what you meant? 

Klaus.

-------- Original-Nachricht --------
> Datum: Fri, 5 Jun 2009 22:45:29 -0500
> Von: Brian West <brian at freeswitch.org>
> An: freeswitch-users at lists.freeswitch.org
> Betreff: Re: [Freeswitch-users] How to reject a call without answering

> Try the respond app.
> 
> /b
> 
> On Jun 5, 2009, at 10:34 PM, Klaus Teller wrote:
> 
> > 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.
> >
> > -- 
> 
> Brian West
> brian at freeswitch.org
> 
> -- Meet us at ClueCon!  http://www.cluecon.com
> 
> 
> 
> 

-- 
GMX FreeDSL mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!
http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a




More information about the FreeSWITCH-users mailing list