After issuing the following httapi variable and work tags:
<variables>
<continue_on_fail>true</continue_on_fail>
</variables>
<work>
<execute application="bridge" data="user/242@test1.mydomain"/>
<execute application="log" data="ERR Bridge-result ${originate_disposition}"/>
</work>
I cannot get httapi to return the originate_disposition channel variable back to my webserver, no matter what I try. I see it gets logged OK and I can see it in the CDR records but I just can not figure how to evaluate it in httapi so I can take some action.
The bigger picture here is that I am experimenting to see if I can manage the whole call in httapi instead of falling back to the dialplan.
I hope this makes sense, and any help will be very much appreciated.
Kind regards Adrian.