Actually you have your variables wrong.
It should be:
endpoint: "local/1244@originate-aa" context: “from-internal”