I thought I had found and answer to this question by using
CALLERID(ani) but it seems that only works on versions prior to 12. On
Asterisk 13 setting CALLERID(num) before dialing to an external trunk
always changes CDR(src) to the number you set and the original extension
number that dialed is lost. How are you handling this? Am I forced to
use a custom field to keep the original caller number? My billing
software uses the src field to get the extension that dialed the call.
Any tips?
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users