{"action":"opened","issue":{"url":"https://api.github.com/repos/jookies/jasmin/issues/181","labels_url":"https://api.github.com/repos/jookies/jasmin/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/jookies/jasmin/issues/181/comments","events_url":"https://api.github.com/repos/jookies/jasmin/issues/181/events","html_url":"https://github.com/jookies/jasmin/issues/181","id":84796193,"number":181,"title":"Message state received in the receipt are not smpp-standard","user":{"login":"zoufou","id":1020111,"avatar_url":"https://avatars.githubusercontent.com/u/1020111?v=3","gravatar_id":"","url":"https://api.github.com/users/zoufou","html_url":"https://github.com/zoufou","followers_url":"https://api.github.com/users/zoufou/followers","following_url":"https://api.github.com/users/zoufou/following{/other_user}","gists_url":"https://api.github.com/users/zoufou/gists{/gist_id}","starred_url":"https://api.github.com/users/zoufou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoufou/subscriptions","organizations_url":"https://api.github.com/users/zoufou/orgs","repos_url":"https://api.github.com/users/zoufou/repos","events_url":"https://api.github.com/users/zoufou/events{/privacy}","received_events_url":"https://api.github.com/users/zoufou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jookies/jasmin/labels/bug","name":"bug","color":"FF9999"}],"state":"open","locked":false,"assignee":{"login":"zoufou","id":1020111,"avatar_url":"https://avatars.githubusercontent.com/u/1020111?v=3","gravatar_id":"","url":"https://api.github.com/users/zoufou","html_url":"https://github.com/zoufou","followers_url":"https://api.github.com/users/zoufou/followers","following_url":"https://api.github.com/users/zoufou/following{/other_user}","gists_url":"https://api.github.com/users/zoufou/gists{/gist_id}","starred_url":"https://api.github.com/users/zoufou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoufou/subscriptions","organizations_url":"https://api.github.com/users/zoufou/orgs","repos_url":"https://api.github.com/users/zoufou/repos","events_url":"https://api.github.com/users/zoufou/events{/privacy}","received_events_url":"https://api.github.com/users/zoufou/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jookies/jasmin/milestones/4","html_url":"https://github.com/jookies/jasmin/milestones/v0.6","labels_url":"https://api.github.com/repos/jookies/jasmin/milestones/4/labels","id":818500,"number":4,"title":"v0.6","description":null,"creator":{"login":"zoufou","id":1020111,"avatar_url":"https://avatars.githubusercontent.com/u/1020111?v=3","gravatar_id":"","url":"https://api.github.com/users/zoufou","html_url":"https://github.com/zoufou","followers_url":"https://api.github.com/users/zoufou/followers","following_url":"https://api.github.com/users/zoufou/following{/other_user}","gists_url":"https://api.github.com/users/zoufou/gists{/gist_id}","starred_url":"https://api.github.com/users/zoufou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoufou/subscriptions","organizations_url":"https://api.github.com/users/zoufou/orgs","repos_url":"https://api.github.com/users/zoufou/repos","events_url":"https://api.github.com/users/zoufou/events{/privacy}","received_events_url":"https://api.github.com/users/zoufou/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":41,"state":"open","created_at":"2014-10-08T15:21:49Z","updated_at":"2015-06-03T22:19:21Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-03T22:19:21Z","updated_at":"2015-06-03T22:19:21Z","closed_at":null,"body":"Final message state received in the receipt gets converted to its full name counterpart before getting transmitted in DLR to SMPP client.\r\n\r\nApparently, message state is converted to a constant whose mapped value is later used for generating a DLR for SMPP user, whereby providing a non standard value:\r\n\r\nCurrent values:\r\nmessage_state_name_map = {\r\n    'ENROUTE': 0x01,\r\n    'DELIVERED': 0x02,\r\n    'EXPIRED': 0x03,\r\n    'DELETED': 0x04,\r\n    'UNDELIVERABLE': 0x05,\r\n    'ACCEPTED': 0x06,\r\n    'UNKNOWN': 0x07,\r\n    'REJECTED': 0x08,\r\n}\r\n\r\nStandard defined values:\r\nmessage_state_name_map = {\r\n    'ENROUTE': 0x01,\r\n    'DELIVRD': 0x02,\r\n    'EXPIRED': 0x03,\r\n    'DELETED': 0x04,\r\n    'UNDELIV': 0x05,\r\n    'ACCEPTD': 0x06,\r\n    'UNKNOWN': 0x07,\r\n    'REJECTD': 0x08,\r\n}"}}