Mohan Potluri | One way to do it is to use the select route API that allows chaning the calling number. Instead of directly calling B from CTIPort, call a RP and use the following API specifying DN of A for modifyingCallingNumber, B for routeSelected.
<pre>void selectRoute(java.lang.String[] routeSelected, int callingSearchSpace, java.lang.String[] modifyingCallingNumber) throws javax.telephony.PrivilegeViolationException, javax.telephony.MethodNotSupportedException</pre> <pre> </pre> <pre>You need to register the RP and register a route call back. When a call is offered, application will get a ROUTE event and application can call the above selectRoute API. </pre> <pre>Let us know if it resolves the issue.</pre> |
| Please sign in to flag this as inappropriate. |