Hangup handler won't work for me


Somewhere in the beginning of my dialplan I have the following code:

And here is the hang up handler’s context:


exten => s,1,Verbose(1, Hangup handler)
same => n,Set(myUrlAuthLogout=http://www.example.be/ivr/auth/logout/uniqueId/${UNIQUEID})
same => n,Set(dummy=${CURL(${myUrlAuthLogout})})
same => n,Return()[/code]

Any idea why it will never print “Hangup handler” when I hang up?
Thank you for any help!
I have 10.7.1 version of Asterisk, running on Ubuntu 12.04.1 LTS

I found out that this feature is only available for version 11.