sccp_routing: properly treat return tuple of osmo_ss7:route_dpc()
This commit is contained in:
parent
b25d878a48
commit
5b0f66f828
|
@ -133,7 +133,7 @@ route_local_out_action(1, SccpMsg, CalledParty) ->
|
|||
% primitive is invoked unless the compatibility test returns
|
||||
% the message to SCLC or unless the message is discarded by the
|
||||
% traffic limitation mechanism;
|
||||
LsName = ss7_routes:route_dpc(Pc),
|
||||
{ok, LsName} = ss7_routes:route_dpc(Pc),
|
||||
{remote, SccpMsg, LsName}
|
||||
end;
|
||||
|
||||
|
@ -158,7 +158,7 @@ route_local_out_action(2, SccpMsg, CalledParty) ->
|
|||
% compatibility test returns the message to SCLC or
|
||||
% unless the message is discarded by the traffic
|
||||
% limitation mechanism
|
||||
LsName = ss7_routes:route_dpc(Dpc),
|
||||
{ok, LsName} = ss7_routes:route_dpc(Dpc),
|
||||
{remote, SccpMsg, LsName}
|
||||
end
|
||||
end;
|
||||
|
@ -178,7 +178,7 @@ route_local_out_action(3, SccpMsg, CalledParty) ->
|
|||
% primitive is invoked unless the compatibility test returns
|
||||
% the message to SCLC or unless the message is discarded by the
|
||||
% traffic limitation mechanism;
|
||||
LsName = ss7_routes:route_dpc(Pc),
|
||||
{ok, LsName} = ss7_routes:route_dpc(Pc),
|
||||
{remote, SccpMsg, LsName}
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue