[sr-dev] dialog functions in reply/failure route
Timo Reimann
timo.reimann at 1und1.de
Fri Sep 16 18:57:00 CEST 2011
Hey Jasmin,
On 16.09.2011 18:09, Jasmin Schnatterbeck wrote:
> In reply route the dlg functions/flags are not available, and trying to
> call a normal route with dlg_manage() out of reply(or failure) route
> results in strange behaviour...
>
> I think it is generally a good idea to have access to dlg
> flags/functions in reply/failure route. So what about the suggestion to
> identify the dialog, if a reply on a request arrives?
Dialogs can already be accessed in response routes. The required glue
code was added a while ago and should be part of 3.1.5.
The main purpose for that, however, was to make callbacks work properly.
(And to implement dialog variables correctly in the master branch.)
Dialog flags weren't considered at the time but it shouldn't be too hard
to make it work.
Could you please issue a bug report on the tracker?
Thanks,
--Timo
More information about the sr-dev
mailing list