Show destination address in MO SHORT MESSAGE CONTROL summaries
- _build_summary: append 'DA <tp_da>' after the SMSC part for the MO SHORT MESSAGE CONTROL envelope (the envelope decoder already stores the second address TLV as cmd.tp_da; the detail view already showed it) - test: constructed D5 envelope with SMSC + destination address - Backend-only, no version bump
This commit is contained in:
1 parent
500e764a1b
commit
04443878a7
2 files changed
+16
No files matched your search
@@ -3744,6 +3744,8 @@ def _build_summary(result):
|
||||
parts.append(cmd['text'])
|
||||
if cmd.get('smsc'):
|
||||
parts.append(f"SMSC {cmd['smsc']}")
|
||||
if cmd.get('tp_da'):
|
||||
parts.append(f"DA {cmd['tp_da']}")
|
||||
if cmd.get('events'):
|
||||
parts.append(', '.join(cmd['events']))
|
||||
if cmd.get('address'):
|
||||
|
||||
Reference in new issue
Block a user