-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/Connectivity API there is no indication for which particular subscriber event (DATA/SMS) #115
Comments
Actually the API call returns the available reachability, SMS or DATA or none. So it doesn't map 1:1 to the MonitorinEvent API, but provides the caller a possibility the check both kind of connectivity in 1 call. |
As per my understanding, in the current API specification:
I believe, we can introduce 'ReachabilityType" in the request to indicate its preference |
In the connectivity response, the client may receive one of the following connectivity status (based on the specification): Connectivity status: CONNECTED_SMS: Indicates the device is connected to the network via SMS usage. Do we have provision available for the client to select their preferred status between CONNECTED_SMS and CONNECTED_DATA (or both in the same response)? |
I don't think that the Camara API has to match 1:1 the underlying NEF API. In Camara we want to provide user-friendlier APIs so that the developer can ask the connectivity status of device in one call. But I think our current responses doesn't allow all combinations. Currently it's not clear if DATA means DATA+SMS or DATA only. |
If we extend the context attributes (https://github.com/cloudevents/spec/blob/main/cloudevents/primer.md#cloudevent-extension-attributes) with one more attribute "reachability_type", a filter could be used in subscription by the consumer, to specify/indicate the preference of only certain reachability type events. |
NEF (Monitoring Event) API understands this that either DATA or SMS is used:
|
my recommendation: I agree with @akoshunyadi --> we shouldnt be tied to what NEF can do and provide; in CAMARA we should be looking from a regular non-telecom developer perspective and provide what they are looking for. AFAIK, this API caller wants to know if the device is connected for DATA or SMS or both (or potential other types in the future). Also agree that we need to fix the response to account for multi-channel availability (already existing issue) |
Currently, in connectivity response, we have CONNECTED_SMS, CONNECTED_DATA, or NOT_CONNECTED. There is no option for both (SMS+DATA), or can we consider CONNECTED_DATA means (SMS+DATA)? |
@bigludo7 & @jlurien: However, is there a possibility that we can offer the requester to provide an optional {
...
"reachabilityType": "SMS"
} If we do not get any information about that we could respond with HTTP-422? (see latest comment here #148) Wdyt? |
Hi all I know this issue is somewhat old now, but it is still open, so I will add my comments here. My first comments is that we should always look to the use case, rather than designing the API to simplify a possible implementation. For this API, probably the use case was not rigorously defined, but I always assumed it provided the API consumer with the following information:
So, if we consider implementation using the NEF, then the sequence of calls to the NEF would be:
So the possible reachability states can be considered "hierarchical", and there is no need for a I would also add that the number of devices that can have data connectivity but cannot receive SMS must be tiny if the device SIM has a MSISDN. Even IoT devices can generally receive SMS - they just might have no mechanism to display the message, which is hardly a concern for the API. But other network operators may have implementations where data only devices cannot receive SMS. However, I'm aware of discussions to extend the use case, in particular, to extend the API to explicitly return the connectivity state for both DATA and SMS connectivity (for those rare cases where a device has data connectivity but cannot receive SMS). So I do believe the use case itself requires a review. In particular:
|
As per /Connectivity API there is no indication for which particular subscriber event (DATA/SMS) this particular request is being initiated , as this parameter “reachabilityType” would be required (TS 29.122) when NEF further triggered to 5G network function via using Monitoring Event API
The text was updated successfully, but these errors were encountered: