RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
178 stars 218 forks source link

Added code for using callingparty match in SCCP rules #229

Closed faizann closed 7 years ago

faizann commented 7 years ago

Fixes issu224 SCCP Routing based on callingGT Added code for using callingparty as secondary match when available in the routing. Also fixed bugs in modify/addrule in sccpexecutor and routerimpl. jss7-management-console work is in progress. CallingParty rule is used as secondary rule for sorting the rules when CalledRule is same for multiple rules. This allows better control on routing. CallingParty rule only matches SSN and GT TYPE and GT digits. It doesn't have mask as address overridden is done via new calling-party address id.

faizann commented 7 years ago

I will do Documentation and GUI after we are satisfied with the logic. The new options added to create rule via ss7-cli are

sccp rule create backup-addressid loadsharing-algo newcgparty-addressid origination-type calling-ai calling-pc calling-ssn calling-tt calling-np calling-nai mask-calling mask-calling-digits stackname

faizann commented 7 years ago

Missed a file change.