On 31.03.2011 11:43, Klaus Darilion wrote:
On 30.03.2011 19:05, Alexandre Abreu wrote:
Hi Timo,
Maybe I wasn't clear but access dialog data in the script it's not the
issue
right now. My goal at this moment is to add a
variable from the script
into
the dialog _and_ make this information available
from 'dlg_list_ctx' fifo
command.
I am justing parsing the output of 'dlg_list_ctx' and I am trying to
include
the user-agent information in the attributes
list. The user-agent
information is available from the script ($ua).
IIRC there is no such feature at the moment, but Carsten Bock recently
started working on dialog-variables (see mailing list archive) in his
"ims" branch.
I agree with Klaus that Carsten's approach seems most appropriate. In
fact, we have been taking his dialog variable code, fixed a few issues,
and extended it. The code we use is for Kamailio 1.5, however, as we
need to get it running there first. Getting the changes into the master
branch is something we definitely have on our schedule though.
@Carsten: Can you tell us what the status of your dialog variable code
basis is? Depending on what you may have changed list I checked your
branch, we may merge in our modifications.
Cheers,
--Timo