Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
klaus.teller at gmx.net
Guest





PostPosted: Fri Jun 05, 2009 10:35 pm    Post subject: [Freeswitch-users] How to reject a call without answering Reply with quote

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

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Jun 05, 2009 10:46 pm    Post subject: [Freeswitch-users] How to reject a call without answering Reply with quote

Try the respond app.

/b

On Jun 5, 2009, at 10:34 PM, Klaus Teller wrote:
Quote:
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@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
klaus.teller at gmx.net
Guest





PostPosted: Fri Jun 05, 2009 11:31 pm    Post subject: [Freeswitch-users] How to reject a call without answering Reply with quote

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 --------
Quote:
Datum: Fri, 5 Jun 2009 22:45:29 -0500
Von: Brian West <brian@freeswitch.org>
An: freeswitch-users@lists.freeswitch.org
Betreff: Re: [Freeswitch-users] How to reject a call without answering

Quote:
Try the respond app.

/b

On Jun 5, 2009, at 10:34 PM, Klaus Teller wrote:

Quote:
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@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

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Sun Jun 07, 2009 9:39 am    Post subject: [Freeswitch-users] How to reject a call without answering Reply with quote

the 2nd one.


On Fri, Jun 5, 2009 at 11:28 PM, Klaus Teller <klaus.teller@gmx.net (klaus.teller@gmx.net)> wrote:
Quote:
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 --------
Quote:
Datum: Fri, 5 Jun 2009 22:45:29 -0500
Von: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
An: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Betreff: Re: [Freeswitch-users] How to reject a call without answering


Quote:
Try the respond app.

/b

On Jun 5, 2009, at 10:34 PM, Klaus Teller wrote:

Quote:
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@freeswitch.org (brian@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


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services