QMUX mapping 0800 -> 9800

40 views
Skip to first unread message

Jeronimo Paoletti

unread,
Jun 23, 2023, 7:22:41 AM6/23/23
to jpos-users
Hi there, I'm not sure why this happens, never seen that before but we are testing a provider that sometimes responds to a 0800 message with a 9800 message, resulting in MUX not being able to process it as a responde. 

I've tried this but it didn't work. 

    <key mti="0800">7 11 70</key>
    <key mti="9800">7 11 70</key>
    <mtimapping>0123456789 0123456789 0123456789</mtimapping>

I'm not able to figure out how mtimapping works so far but I think the solution must be around here. Any help would be appreciated.

Best regards!
--
Lic. Jerónimo Paoletti 

Andrés Alcarraz

unread,
Jun 23, 2023, 8:17:26 AM6/23/23
to jpos-...@googlegroups.com

Hi Jeronimo, I think it doesn’t work for two reasons:

  • the 9800 MTI is not a response MTI.
  • even if it was, the first digits wouldn’t match (‘08 vs 98)

You could add an incoming filter that converts 9800 to 0810, but it wouldn’t do any good, since that response is probably the same you sent, but with the first digit changed to 9. This is used by some systems to indicate they didn’t understand the message.

There is usually some indication in the header on what field they encountered a problem. More important than to be able to match those messages is to avoid them by correcting the issue that generates them, since it would indicate a misalignment in some field. This may not be too bad if only happens in some 0800 but is still a potential issue.

Hope this helps.

Andrés Alcarraz.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CACu86S%2Ba%2BCFWsDT5Xu%3DSgnpYr3AiZRrodbPAbVxCgXPzXb0%2BCQ%40mail.gmail.com.

Mark Salter

unread,
Jun 23, 2023, 8:19:56 AM6/23/23
to jpos-...@googlegroups.com
There have been recent discussions on mtimapping recently, inpresume you searched and considered.

Have you asked the target why they do this - is it also random, do they have a bug they plan to fix?

For the mapping of the 9800 back to the 0800 request sent, I would think your mtimapping setting would be :-

<mtimapping>0123456780 0123456789 0022446789</mtimapping>

To convert the first digit '9' back to 0 and leave the rest asis.

-- 
Mark


Sent from Proton Mail mobile



-------- Original Message --------
--
signature.asc

Mark Salter

unread,
Jun 23, 2023, 8:23:47 AM6/23/23
to jpos-...@googlegroups.com
I prefer this answer to mine.

If the 9800 is the target's indication back to you that they simply don't like your 0800, then that is something you need to confirm with them and then resolve on your side...

... perhaps you have the bug to fix and bot them :-)

Is their response your request with just the MTI being changed?



-- 
Mark


Sent from Proton Mail mobile



-------- Original Message --------
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/238cb550-0192-cf89-a0ff-cff76ec9f276%40gmail.com.
signature.asc

Andrés Alcarraz

unread,
Jun 23, 2023, 8:36:32 AM6/23/23
to jpos-...@googlegroups.com

I’ve forgotten about the MTI mapping feature. I just realized with Mark’s mail, I knew I was missing something.

To match the first digit of MTI you better use he mtimapping as sugested by Mark, but I believe you still need to map the MTI to a response. See https://groups.google.com/g/jpos-users/c/uSYPjJaorQQ/m/3_nItNnfAAAJ.

Andrés Alcarraz.

Jeronimo Paoletti

unread,
Jun 23, 2023, 2:40:44 PM6/23/23
to jpos-...@googlegroups.com
Hey all thanks for your answers. Indeed there is a problem in my MAC generation that i need to address but the answer is giving me a headache, I'd love to receive a 0810 and some RC code but no, all I got is a 9800... 

I'll give the mapping a try and the incoming filter is also a good idea to try. Thank you all very much!

best regards

--
Lic. Jerónimo Paoletti 


Reply all
Reply to author
Forward
0 new messages