We cannot determine the MTP3 DPC from simply looking at the CalledParty
GT address, as there is no PC in the GT. We have to use the result
of the routing decision as MTP3 DPC in this case!
This is a major patch that brings SCCP SCOC from 'should theoretically
work' to 'has actaully been tested to some extent for locally-originated
connections'
When we receive local-out messages from SCOC into SCRC, they need to be
SCCP-encoded, routed and MTP3-encoded before they can be passed on.
Spotted by dialyzer.
we now use ss7_links in order to determine which point codes are local
or not, and we use the routing table to determine the signalling link.
local-out routing form N-UNITDATA.req to the actual MTP3 on the correct
signalling link is now working.