== Automatic recognition of call origin and pass thru to a voicemail box ==
This query has more to do with an issues of "stealth" introduction of */PBX to "complement" an existing system than with a asterisk issue per se ... Someone asked me if they could set their phone to forward calls to an Asterisk server plugged into an extension on the existing PBX. Forwarded messages would get recorded/saved on * and then e-mailed to them instead of being saved on the current PBX (which either doesn't have this feature or doesn't have it turned on). Can I get Asterisk to automatically recognize incoming calls by their extension number on the foreign PBX and to associate the calls with one of its own voice mailboxes? Is this easily done? Since the forwarded calls would come from another extension on the current PBX, I guess what I want is LookupCIDName() to associate the forwarded call with the extension number that **received** it from the outside; and then to store the message in the Asterisk vmailbox that I would create for each of the foreign PBX extensions. I am having trouble working things out. Perhaps because: - when forwarding the existing PBX strips CID info; - the CID info comes from the external call and not the foreign PBX extension - some other random switch needs to be flipped on the existing PBX Are other folks doing this? Am I on the right track? :) Thanks for any ideas.
