[Freeswitch-users] Hangup hooks on B legs

Isaac Jurado ijurado at econcept.es
Wed Aug 3 21:47:46 MSD 2011


On Wed, Aug 3, 2011 at 7:39 PM, Avi Marcus <avi at avimarcus.net> wrote:
>
> I'm not sure exactly what you are trying to do, but yes, the ${uuid}
> is expanded at the time of the "hunt" in the dialplan, before the
> second leg was even created.

My original intention was to set a channel variable from the
api_hangup_hook:

<action application="export" data="nolocal:api_hangup_hook=uuid_setvar
${uuid} fooooo baaaaar"/>

But as the expanded ${uuid} does not exist, the uuid_setvar command
complains.

Cheers.

-- 
Isaac Jurado
Internet Busines Solutions eConcept



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