[Freeswitch-users] Hold/unhold events for a conference participant (Martyn Davies)

Usama Zaidi itsusama at gmail.com
Tue Feb 12 04:00:11 MSK 2013


Hi, I'm stuck on something similar myself, I've tried filtering based on
conference UUID by doing something like '$con->sendRecv("filter Unique-ID
$confUUID");' but that doesn't give me custom events like started/stopped
talking events for that conference, it might through pause/unpause because
it does through dtmf events for that conference. The other thing you could
try would be to have an inbound ESL script for every user and do something
like ''$con->sendRecv("filter Unique-ID $CallerUUID");' and that will give
you all events for that user, the only drawback is that you'll have to run
the script using a local channel and there will be n scripts for n
participants.

Regards.

-Usama

On Mon, Feb 11, 2013 at 10:00 PM, <
freeswitch-users-request at lists.freeswitch.org> wrote:

> Send FreeSWITCH-users mailing list submissions to
>         freeswitch-users at lists.freeswitch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
>         freeswitch-users-request at lists.freeswitch.org
>
> You can reach the person managing the list at
>         freeswitch-users-owner at lists.freeswitch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeSWITCH-users digest..."
>
> Today's Topics:
>
>    1. Re: Terminating calls prior to answer using api (Gary Foreman)
>    2. Hold/unhold events for a conference participant (Martyn Davies)
>    3. Re: Throttle Error (Archana Venugopan)
>
>
> ---------- Forwarded message ----------
> From: Gary Foreman <gaz.foreman at gmail.com>
> To: freeswitch-users at lists.freeswitch.org
> Cc:
> Date: Mon, 11 Feb 2013 16:40:06 +0000
> Subject: Re: [Freeswitch-users] Terminating calls prior to answer using api
> Thanks for your help. I might be doing something wrong but I had tried
> using a cause, the command I ran was...
>
> bgapi uuid_kill 0292147c-7469-11e2-817e-bd1d1e5a02e8 normal_clearing
>
> This seemed to work as the hangup event showed "NORMAL_CLEARING" as the
> hangup cause but the sip client still reported the error.
>
> On Mon, Feb 11, 2013 at 3:52 PM, <
> freeswitch-users-request at lists.freeswitch.org> wrote:
>
>> Send FreeSWITCH-users mailing list submissions to
>>         freeswitch-users at lists.freeswitch.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> or, via email, send a message with subject or body 'help' to
>>         freeswitch-users-request at lists.freeswitch.org
>>
>> You can reach the person managing the list at
>>         freeswitch-users-owner at lists.freeswitch.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of FreeSWITCH-users digest..."
>>
>> Today's Topics:
>>
>>    1. Re: Trouble autostarting freeswitch on boot (David Matthews)
>>    2. Re: Running FS with "daemon" group. (Michael Jerris)
>>    3. Re: High Availability Cluster Module for  reeSWITCH (Eliot Gable)
>>    4. Terminating calls prior to answer using api (Gary Foreman)
>>    5. Re: Terminating calls prior to answer using api (Andrew Cassidy)
>>    6. Throttle Error (Archana Venugopan)
>>
>>
>> ---------- Forwarded message ----------
>> From: David Matthews <mail at dmatthews.org>
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> Cc:
>> Date: Mon, 11 Feb 2013 13:00:33 +0000
>> Subject: Re: [Freeswitch-users] Trouble autostarting freeswitch on boot
>>
>>> I might consider another distribution, but it must be one which will run
>>> on the raspberrypi as that will be where it will be run in the end. I
>>> did try the ArchLinux stuff on both an X86_64 system as well as the
>>> raspberrypi, Debian, I mainly tried on the RaspberryPi using the
>>> raspbian distribution.
>>>
>>
>> in /etc/rc.local on raspbian
>>
>> su pi -c "ulimit -s 240; /usr/local/freeswitch/bin/**freeswitch -rp -nc"
>>
>> --
>> David Matthews
>> mail at dmatthews.org
>>
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Michael Jerris <mike at jerris.com>
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> Cc:
>> Date: Mon, 11 Feb 2013 10:08:30 -0500
>> Subject: Re: [Freeswitch-users] Running FS with "daemon" group.
>> You can run freeswitch with whatever user/group you like as long as it
>> has the necessary permissions.  The more isolated typically the better,
>> depending on your specific needs.
>>
>>
>> On Feb 9, 2013, at 11:29 AM, Mimiko Mimiko <vbvbrj at gmail.com> wrote:
>>
>> Hello.
>>
>> On this page: http://wiki.freeswitch.org/wiki/Freeswitch_init I see that
>> FS is started under "daemon" group. Is it safe to start it that way, and is
>> it safe if other services will be started under the same group?
>>
>> About "daemon" group debian says that is better that each service is
>> started in its own uid/guid. But that way services cannot share same
>> directory for storing and reading common files. Especially that FS creates
>> files with 750 permission.
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Eliot Gable <egable+freeswitch at gmail.com>
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> Cc:
>> Date: Mon, 11 Feb 2013 10:09:59 -0500
>> Subject: Re: [Freeswitch-users] High Availability Cluster Module for
>> reeSWITCH
>> On Mon, Feb 11, 2013 at 9:03 AM, Seven Du <dujinfang at gmail.com> wrote:
>>
>>>
>>> And, besides the FS HA, how will 3rd party softwares work with FS, if,
>>> say, someone connected via ESL and FS1 crashes and the float IP bind to
>>> FS2, will the ESL client fail and re-connect or it can magically connect to
>>> FS2 without any addintional work?
>>>
>>>
>> The ESL client would have to reconnect. We could make a little ESL helper
>> daemon you could run on some host which would do connection management for
>> you, but it's probably a better idea to just handle it in your own code.
>> It's not that difficult to notice a failed connection and reconnect.
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Gary Foreman <gaz.foreman at gmail.com>
>> To: freeswitch-users at lists.freeswitch.org
>> Cc:
>> Date: Mon, 11 Feb 2013 15:30:36 +0000
>> Subject: [Freeswitch-users] Terminating calls prior to answer using api
>> Hi,
>>
>> I'm having an issue gracefully terminating calls prior to them being
>> answered.
>>
>> When I issue the uuid_kill command prior to the call being answered my
>> sip client gives an error "unable to connect" with an error tone.
>>
>> Is it possible to cancel the client dial without causing an error? Maybe
>> using a sip notify message or something?
>>
>> I can't seem to find a list of valid sip notify messages anywhere.
>>
>> Thanks
>>
>>
>> ---------- Forwarded message ----------
>> From: Andrew Cassidy <andrew at cassidywebservices.co.uk>
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> Cc:
>> Date: Mon, 11 Feb 2013 15:43:22 +0000
>> Subject: Re: [Freeswitch-users] Terminating calls prior to answer using
>> api
>> probably need to use the cause parameter to uuid_kill
>>
>> This doesn't seem to be documented well, though.
>>
>> On 11 February 2013 15:30, Gary Foreman <gaz.foreman at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm having an issue gracefully terminating calls prior to them being
>>> answered.
>>>
>>> When I issue the uuid_kill command prior to the call being answered my
>>> sip client gives an error "unable to connect" with an error tone.
>>>
>>> Is it possible to cancel the client dial without causing an error? Maybe
>>> using a sip notify message or something?
>>>
>>> I can't seem to find a list of valid sip notify messages anywhere.
>>>
>>> Thanks
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> *Andrew Cassidy BSc (Hons) MBCS SSCA*
>> Managing Director
>>
>>
>> *T <info at cassidywebservices.co.uk> *03300 100 960  *F<info at cassidywebservices.co.uk>
>>  *03300 100 961
>> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
>> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>>
>>
>> ---------- Forwarded message ----------
>> From: Archana Venugopan <a.venugopan at mundio.com>
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> Cc:
>> Date: Mon, 11 Feb 2013 15:51:56 +0000
>> Subject: [Freeswitch-users] Throttle Error
>>
>> Hi,****
>>
>> ** **
>>
>> I have been getting this error in freeswitch for group calls. Can anyone
>> please let me know what is the issue?****
>>
>> I tried increasing sessions_per_second in switch.conf.xml but even after
>> that I have been facing this issue. Please help. Thanks****
>>
>> ** **
>>
>> 2013-02-11 15:35:12.237145 [CRIT] switch_core_session.c:1813 Throttle
>> Error! 33****
>>
>> 2013-02-11 15:35:12.237145 [CRIT] mod_sofia.c:4278 Error Creating Session
>> ****
>>
>> 2013-02-11 15:35:12.317103 [CRIT] switch_time.c:869 Over Session Rate of
>> 10!****
>>
>> ** **
>>
>> Regards,****
>>
>> Archana****
>>
>> ** **
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> ---------- Forwarded message ----------
> From: Martyn Davies <martyn at magiccow.co.uk>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Mon, 11 Feb 2013 16:56:38 +0000
> Subject: [Freeswitch-users] Hold/unhold events for a conference participant
> I'm trying to process CHANNEL_CALLSTATE events (in an ESL socket
> application) to extract the HELD/ACTIVE messages for conference
> participants.
>
> One problem for me is that the name of the conference and the member-id
> for that call are not available to me in the callstate messages, and
> therefore it is difficult to associated calls (going HELD and ACTIVE) with
> the conference.  Is there any way to get the callstate messages to include
> custom variables? This would fix the problem for me.
>
> Regards,
> Martyn
>
>
>
>
> ---------- Forwarded message ----------
> From: Archana Venugopan <a.venugopan at mundio.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Mon, 11 Feb 2013 17:00:25 +0000
> Subject: Re: [Freeswitch-users] Throttle Error
>
> Thanks I got itJ****
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Archana
> Venugopan
> *Sent:* 11 February 2013 16:54
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Throttle Error****
>
> ** **
>
> Hi,****
>
> ** **
>
> When I gave fsctl sps it shows still 10. Can you please tell me apart from
> reload_xml do we have to anyother thing after changing switch.conf.xml?***
> *
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Archana
> Venugopan
> *Sent:* 11 February 2013 16:37
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Throttle Error****
>
> ** **
>
> Ya i did re-loaded the xml. And this is what I see in status****
>
> ** **
>
> UP 0 years, 6 days, 9 hours, 3 minutes, 17 seconds, 803 milliseconds, 420
> microseconds****
>
> FreeSWITCH is ready****
>
> 62552 session(s) since startup****
>
> 16 session(s) 0/10****
>
> 50 session(s) max****
>
> min idle cpu 0.00/91.00****
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice
> *Sent:* 11 February 2013 16:10
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Throttle Error****
>
> ** **
>
> Did you restart after increasing sessions_per_second?  Check “status” from
> the cli...
>
> You can change it on the fly inside freeswitch with the fsctl sps command
>
>
> On 2/11/13 9:51 AM, "Archana Venugopan" <a.venugopan at mundio.com> wrote:***
> *
>
> Hi,
>
> I have been getting this error in freeswitch for group calls. Can anyone
> please let me know what is the issue?
> I tried increasing sessions_per_second in switch.conf.xml but even after
> that I have been facing this issue. Please help. Thanks
>
> 2013-02-11 15:35:12.237145 [CRIT] switch_core_session.c:1813 Throttle
> Error! 33
> 2013-02-11 15:35:12.237145 [CRIT] mod_sofia.c:4278 Error Creating Session
> 2013-02-11 15:35:12.317103 [CRIT] switch_time.c:869 Over Session Rate of
> 10!
>
> Regards,
> Archana
>  ****
>  ------------------------------
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org****
>
>
> --
> Ken
> *http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
> *irc.freenode.net #freeswitch****
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
I'd love to change the world, but they wont gimme the source code to it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130212/cab89d49/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list