Originated calls

How to answer all originated calls to asterisk? the calls come form another office with SIP format by internet connection, and all should be handled by asterisk to send to mailboxes by pressing appropriate number in origin.

any help/advise highly appreciated.