SIP trunks are setup as DID to start with. If the function is to use them as tie lines then try using froute with e&m config.