Skip to content
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

[Bug]: Set serviceType to null (hex 0x00) #3526

Open
anupama-pathirage opened this issue Aug 16, 2024 · 0 comments
Open

[Bug]: Set serviceType to null (hex 0x00) #3526

anupama-pathirage opened this issue Aug 16, 2024 · 0 comments

Comments

@anupama-pathirage
Copy link
Contributor

Description

Moving issue from https://github.com/wso2-extensions/esb-connector-smpp/issues/16

image

Description:
Hi, please rewrite this code

public void setServiceType(String serviceType) {
        if (StringUtils.isEmpty(serviceType)) {
            serviceType = SMPPConstants.CMT;
        }
        this.serviceType = serviceType;
}

in SMSDTO.java file.

If ServiceType null, this connector addet "CMT" string to ServiceType, but according to SMPP specification need hex 0x00 (default). My SMSC acceptance only hex 0x00 in ServiceType. Therefore, I can not be used this connector.

Steps to Reproduce

No response

Affected Version(s)

No response

OS, DB, other environment details and versions

No response

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant