ss7_{links,routes}: deal with tuple/record point codes
diff --git a/src/ss7_routes.erl b/src/ss7_routes.erl
index 6aac951..ba66742 100644
--- a/src/ss7_routes.erl
+++ b/src/ss7_routes.erl
@@ -69,10 +69,12 @@
 % all write operations go through gen_server:call(), as only the ?MODULE
 % process has permission to modify the table content
 
-create_route(RemotePc, RemoteMask, LinksetName) ->
+create_route(RemotePcIn, RemoteMask, LinksetName) ->
+	RemotePc = osmo_util:pointcode2int(RemotePcIn),
 	gen_server:call(?MODULE, {create_route, {RemotePc, RemoteMask, LinksetName}}).
 
-delete_route(RemotePc, RemoteMask, LinksetName) ->
+delete_route(RemotePcIn, RemoteMask, LinksetName) ->
+	RemotePc = osmo_util:pointcode2int(RemotePcIn),
 	gen_server:call(?MODULE, {delete_route, {RemotePc, RemoteMask, LinksetName}}).
 
 % the lookup functions can directly use the ets named_table from within