CallerID - Patch - for users with basic knowledge of C programming

The patch causes that the "Originate" command parameter "CallerID" is not sent to both participants (A=originator/TAPI User, Called=B), but only to the B subscriber. The participant A (TAPI User) instead gets the CallerID that was specified into "Originate/Exten" as destination number.

So I see, when I - as TAPI user "10" - call the user "99" via CTI, in my phone display a call from "99", and when I pickup the phone and Asterisk setup the call, the "99" see my correct CallerID: "10".

Patch for Asterisk 1.4:asterisk-1.4-exten-as-CLI-for-originator.diff