How to get the ID of call SIP/200-3484059?

Hi. I want to develop an AGI script to redirect calls.
I was wondering How can I get the ID of a call.
Ex: SIP/200-3484059?<-- Exist a way To i get this parameter?