Send Text after feature code

Hi Guys

Im running asterisk 1.6 and i was wondering how do i send text after *1 for record.

eg. call is made and user dials *1… i want to send the unique number back to phone after that.

thanks
Leon

HI Guys

is there any way i can edit the *1 feature?

thanks