[Freeswitch-users] How to kill multiple UUIDs.

mayamatakeshi mayamatakeshi at gmail.com
Wed Feb 10 15:46:56 PST 2010


On Thu, Feb 11, 2010 at 8:45 AM, mayamatakeshi <mayamatakeshi at gmail.com>wrote:

>
>
> On Thu, Feb 11, 2010 at 4:29 AM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> if you put a var in the leading {} it will get set on all channels
>>
>> {foo=bar}sofia/internal/test at server.com
>
>
> I can see that when I use command bridge, CHANNEL_ORIGINATE shows up with
> variable Other-Leg-Unique-ID set to the UID of the channel executing bridge.
> To be consistent, could I use this same name when calling originate to
> create LegB for a parked LegA? Would it clash with anything?
>

Ah, nevermind. As soon as I hit the send button I realized the variable will
be named:
variable_Other-Leg-Unique-ID.


>
>
>>
>>
>> On Wed, Feb 10, 2010 at 11:16 AM, Henry Huang <red.rain.seven at gmail.com>wrote:
>>
>>> is there an example of setting common var for multiple channels?
>>> or just do it normally like set var=foo before all the bridged call I
>>> would like to hang up at the same time?
>>> and the var name can be anything I want?
>>>
>>>
>>> Henry
>>>
>>>
>>> On Wed, Feb 10, 2010 at 11:59 PM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>>> or you can set a common var like foo=bar on all the chans and do
>>>>
>>>> hupall normal_clearing foo bar
>>>>
>>>>
>>>>
>>>> On Wed, Feb 10, 2010 at 9:16 AM, Michael Jerris <mike at jerris.com>wrote:
>>>>
>>>>> you can api hangup hook to call
>>>>>
>>>>> lua multi_kill.lua uuid1 uuid2 uuid….
>>>>>
>>>>> and then write the trivial lua script for that.
>>>>>
>>>>> Mike
>>>>>
>>>>> On Feb 10, 2010, at 6:07 AM, lakshmanan ganapathy wrote:
>>>>>
>>>>> > Hi all,
>>>>> >
>>>>> > My situation is
>>>>> >     A called to 1005 -- Which executes an ESL program.
>>>>> >     Now from the program I will made the parallel call using "api
>>>>> originate [origination_uuid=uuid1]user/1006,[origination_uuid2]user/1001
>>>>> &park()".
>>>>> >     UUID's are obtained from create_uuid.
>>>>> >
>>>>> >     I'll then wait for the api to return, to check whether the call
>>>>> is answered or rejected by the other end.
>>>>> >     But while I'm waiting, if A hangup the call, I just want to kill
>>>>> the calls that are originated by my program.
>>>>> >     So I taught of using api_hang_up_hook and I set that variable to
>>>>> uuid_kill uuid1 uuid2.
>>>>> >     But it only killed the uuid1.
>>>>> >
>>>>> > Is there any other ways to kill multiple uuid's??
>>>>> > please help?
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Anthony Minessale II
>>>>
>>>> FreeSWITCH http://www.freeswitch.org/
>>>> ClueCon http://www.cluecon.com/
>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>
>>>> AIM: anthm
>>>> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>>>> IRC: irc.freenode.net #freeswitch
>>>>
>>>> FreeSWITCH Developer Conference
>>>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>>>> iax:guest at conference.freeswitch.org/888
>>>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>>>> pstn:+19193869900
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>> pstn:+19193869900
>>
>> _______________________________________________
>> 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/20100211/7fa156b0/attachment-0002.html 


More information about the FreeSWITCH-users mailing list