Use the variable “origination_uuid”, and set to an uuid that you know. Then it’s possible to detect the events showing up for this channel uuid.
/Peter
Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
För Michael Lutz
Skickat: den 12 april 2012 10:11
Till: 'FreeSWITCH Users Help'
Ämne: [Freeswitch-users] ESL originate retreiving dialresult.
Hi Guys,
I am in an urgent matter an need help with something, I am using an ESL inbound connection to setup a new call.
It works fine on successful answered calls.
I am using the uuid_getvar api function whilst dialing to get the endpoint_disposition of the dialing uuid to check when a call is answered.
So when it’s answered it will return “ANSWER”.
The problem with this is that if an attempt fails, the endpoint disposition cannot be read with the uuid_getvar function because the dialing session is already gone.
What is the best way to get the result in realtime?, I really need to know the reason it failed.
Thanks for your help,
Mike.
!DSPAM:4f868d9c32761957721393!