[Freeswitch-users] Scheduled Hangup Issue

Tamas Cseke cstomi.levlist at gmail.com
Fri Apr 11 09:21:50 PDT 2008


Hello,

Thanks your help!

I have problems with it.
when i try

<action application="set" data="execute_on_answer=set_global 
spy_uuid=\${bridge_uuid}"/>

expand doesn't change its input, so the value of spy_uuid will be 
'\$bridge_uuid'.

I can figure this out with

<action application="set" data="execute_on_answer=set_global 
spy_uuid=\${bridge_uuid}${foobar}"/>

In this case it is expanded to spy_uuid=${bridge_uuid}
But on answer brigde_uuid is undefined.
Is it any other solution for setting a global variable with the value of 
the bridge_uuid on answer?

Thanks any help,
Tamas





> oops i meant \$
>
> On Thu, Apr 10, 2008 at 4:24 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>   
>> try escaping the $ with /$
>>
>>
>> On Thu, Apr 10, 2008 at 2:21 PM, Tamas Cseke <cstomi.levlist at gmail.com>
>> wrote:
>>
>>     
>>> Hello,
>>>
>>> I would like to mark the uuid of the called channel for further process.
>>> (Spying this channel with eavesdrop for other call)
>>>
>>> i tried with the execute_on_answer variable but it doesn't suit for me.
>>> I think the value of the var is evaluated immediately, when bridged_uuid
>>> isn't set yet.
>>> Could you advise a solution for this please, if there is?
>>>
>>> Something like:
>>> <action application="bridge" data="portaudio"/>
>>> <action application="set" data="execute_on_answer=set_global
>>> spy_uuid=${bridged_uuid}"/>
>>>
>>> Thanks,
>>> Tamas
>>>
>>>
>>> On 4/2/08, Anthony Minessale <anthony.minessale at gmail.com> wrote:
>>>       
>>>> I added support in the latest trunk to set the variable
>>>> execute_on_answer to an application of your choice
>>>>
>>>> <action application="set" data="execute_on_answer=sched_hangup +20
>>>> alloted_timeout"/>
>>>>
>>>> --
>>>> Anthony Minessale II
>>>>
>>>> FreeSWITCH http://www.freeswitch.org/
>>>> ClueCon http://www.cluecon.com/
>>>>
>>>> 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:213-799-1400
>>>> _______________________________________________
>>>> 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/
>>
>> 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:213-799-1400
>>
>>     
>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   





More information about the FreeSWITCH-users mailing list