pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/42089?usp=email )


Change subject: xua_as_fsm: Trigger PC (un)availability to upper layers in IPSP
......................................................................

xua_as_fsm: Trigger PC (un)availability to upper layers in IPSP

Same as done in ASP. This is specially important in IPSP in order to
trigger availability/unavailability of PCs defined in the SCCP
addressbook.

Change-Id: I0e6015f04ad0647cc151d3c772355a18cb55547a
---
M src/xua_as_fsm.c
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran 
refs/changes/89/42089/1

diff --git a/src/xua_as_fsm.c b/src/xua_as_fsm.c
index 092db55..53e2c00 100644
--- a/src/xua_as_fsm.c
+++ b/src/xua_as_fsm.c
@@ -523,6 +523,7 @@

        switch (role) {
        case OSMO_SS7_ASP_ROLE_ASP:
+       case OSMO_SS7_ASP_ROLE_IPSP:
                if (s7i->sccp) {
                        if (became_available)
                                as_snm_pc_available(as);
@@ -539,9 +540,6 @@
                        xua_snm_pc_available(as, &aff_pc, 1, NULL, 
became_available);
                }
                break;
-       case OSMO_SS7_ASP_ROLE_IPSP:
-               /* TODO */
-               break;
        }
 };


--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/42089?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I0e6015f04ad0647cc151d3c772355a18cb55547a
Gerrit-Change-Number: 42089
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to