Busy tone and text message configuration
Hi all I'm not familiar with the configuration for freeswitch. Anyone who could help me sovle the following two problem: 1. user A is in conversation with user B, and at this time, a incoming call from user C comes to A, in this case, I want freeswitch to play busytone to C, how to configure? 2. I'd like freeswitch to relay text message(use sip),as below scenario: entity1--------------------------freeswitch---------------------------entity2 | message(text/plain) ------> | message(text/plain) ------> | | <-------------200 OK | <-------------200 OK | | | | To implement above case, does need any special configure for freeswitch? Appreciate your help in advance. _________________________________________________________________ 看看谁是Live小博士,Windows Live知识竞赛, 精美礼品等你拿。 http://events.livetome.cn/2009/knowlive
chenexyee wrote:
1. user A is in conversation with user B, and at this time, a incoming call from user C comes to A, in this case, I want freeswitch to play busytone to C, how to configure?
you could use the limit app (mod_limit) to limit A's number of calls to 1, then play the busy sound with tone_stream or return a 486 to the caller in the failover extension
2. I'd like freeswitch to relay text message(use sip),as below scenario:
DISCLAIMER: i'm speaking purely theory here as i've never tried to do this. but you could probably write something to listen via esl for the incoming event, then in your program, send that event to the user you want it relayed to.
On May 6, 2009, at 9:47 PM, Raymond Chandler wrote:
chenexyee wrote:
1. user A is in conversation with user B, and at this time, a incoming call from user C comes to A, in this case, I want freeswitch to play busytone to C, how to configure?
you could use the limit app (mod_limit) to limit A's number of calls to 1, then play the busy sound with tone_stream or return a 486 to the caller in the failover extension
I'm also finding a way to limit only one call to user A, however I think mod_limit is used to limit outbound calls only, how can it possible to limit incoming calls for a user?
2. I'd like freeswitch to relay text message(use sip),as below scenario:
DISCLAIMER: i'm speaking purely theory here as i've never tried to do this. but you could probably write something to listen via esl for the incoming event, then in your program, send that event to the user you want it relayed to.
_______________________________________________ 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
The exact same way you use it for outbound... just use limit before you call the user in your dial plan. An inbound call to a user is nothing more than an outbound call from FreeSWITCH to the user. /b On May 6, 2009, at 9:11 AM, dujinfang wrote:
I'm also finding a way to limit only one call to user A, however I think mod_limit is used to limit outbound calls only, how can it possible to limit incoming calls for a user?
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Date: Wed, 6 May 2009 09:47:42 -0400 From: intralanman@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Busy tone and text message configuration
chenexyee wrote:
1. user A is in conversation with user B, and at this time, a incoming call from user C comes to A, in this case, I want freeswitch to play busytone to C, how to configure?
you could use the limit app (mod_limit) to limit A's number of calls to 1, then play the busy sound with tone_stream or return a 486 to the caller in the failover extension
I would make a clarification that it is not my purpose to limit A's number of calls. I just like FS to play the busy sound to any caller who is calling the busy callee(for instance the callee is in conversation or originating a call). someone suggested me to done this by javascript, is it possible?or is there any more simpler solution? Thanks for the detail description.
2. I'd like freeswitch to relay text message(use sip),as below scenario: DISCLAIMER: i'm speaking purely theory here as i've never tried to do this. but you could probably write something to listen via esl for the incoming event, then in your program, send that event to the user you want it relayed to.
_______________________________________________ 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
_________________________________________________________________ 上MClub和Messenger好友一起都市寻宝! http://club.msn.cn/?from=1
participants (4)
-
Brian West
-
chenexyee
-
dujinfang
-
Raymond Chandler