[Freeswitch-users] Terminating calls prior to answer using api

Gary Foreman gaz.foreman at gmail.com
Mon Feb 11 19:40:06 MSK 2013


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130211/a05a57e1/attachment.html 


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