[Freeswitch-users] How to kill call/channel on the reception of CUSTOM avmd::beep

Chris Tunbridge blasterjr at gmail.com
Fri Feb 26 21:28:47 MSK 2016


Glad to hear and i'm glad i could help.

On Thu, Feb 25, 2016 at 2:15 PM, Aqs Younas <aqsyounas at gmail.com> wrote:

> My fault. Got it working with uuid_kill Unique-ID
>
> Thanks.
>
> On 26 February 2016 at 01:01, Aqs Younas <aqsyounas at gmail.com> wrote:
>
>> Thanks for your Reply.
>>
>> freeswitch at debian> uuid_hangup Unique-ID
>> Unknown Command: uuid_hangup 11e64e66-f81b-4d23-a8e1-e6af0eaa0bbc
>>
>> Tried to kill.
>>
>> freeswitch at debian> uuid_kill Unique-ID
>>
>> -ERR No such channel!
>>
>> Any suggestion?
>>
>> On 25 February 2016 at 23:43, Chris Tunbridge <blasterjr at gmail.com>
>> wrote:
>>
>>> uuid_hangup the value of the Unique-ID field possibly?
>>>
>>> On Thu, Feb 25, 2016 at 10:13 AM, Aqs Younas <aqsyounas at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have subscribed to CUSTOM avmd::beep and this is what I get.
>>>>
>>>>         "Event-Subclass":       "avmd::beep",
>>>>         "Event-Name":   "CUSTOM",
>>>>         "Core-UUID":    "11e64e66-f81b-4d23-a8e1-e6af0eaa0bbc",
>>>>         "FreeSWITCH-Hostname":  "debian",
>>>>         "FreeSWITCH-Switchname":        "debian",
>>>>         "FreeSWITCH-IPv4":      "192.168.10.59",
>>>>         "FreeSWITCH-IPv6":      "::1",
>>>>         "Event-Date-Local":     "2016-02-25 10:46:17",
>>>>         "Event-Date-GMT":       "Thu, 25 Feb 2016 15:46:17 GMT",
>>>>         "Event-Date-Timestamp": "1456415177487145",
>>>>         "Event-Calling-File":   "mod_avmd.c",
>>>>         "Event-Calling-Function":       "avmd_process",
>>>>         "Event-Calling-Line-Number":    "550",
>>>>         "Event-Sequence":       "3174",
>>>>         "Beep-Status":  "stop",
>>>>         "Unique-ID":    "80d33754-b234-47e2-b7c5-16ffa20f359c",
>>>>         "call-command": "avmd"
>>>>
>>>> Now I need to hangup that call(beep detected), but could not find any
>>>> event variable connected to the call.
>>>>
>>>> How can i kill the call.
>>>>
>>>> Any pointer is much appreciated.
>>>>
>>>> This email has been sent from a virus-free computer protected by Avast.
>>>> www.avast.com
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>> <#-2020178404_996209302_-2019354057_-1458571440_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.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
>>>
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160226/45175636/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list