I am trying to develop small application for call handling.I am using the Phonelistener sample code. Here i am having some doubts.

1. Actually i tried to dial a number(9986866605) then i need to cut the call(disconnect) and added the international code(+919986866605), and redial the call through this number(+919986866605).
Using the PhoneListener sample code is it possible? Please help me i need this very urgent. International Code means(MCC).