Daniel,
I think you may be a bit confused with what he's trying to do. He needs to initiate a call while on an already answered call with the person at the other end of the door phone in most cases. That means he needs a dynamic feature code. The way to do that in Asterisk is how he's proceeding, it requires Asterisk detect the feature code thus being vectored off to execute the appropriate dialplan.