Thanks everyone for your help. The code in the dialplan was ok. I had to switch to CVS head and everything worked straight away. Any clues on when this will be working in the stable release ? Thanks