The main problem is, in my application we are receiving files from one end and delivering it to the other end without checking the content of the file. This application is for BANK and custoemrs sends Payment files, statements and such kind of files. Customer is allowed to use any format as backend systems has to do with the file format as back system will process those files. Our application liability is to only send and receive file securly.
So when we have to recoznize the customer we do on the basis of SSL hand shake and if SSL hand shake is successful the it takes the custoemr name associated with certificate (mapped on IS) and check the profile on TN and if profile is there then further action is taken (like encryption, decryption, compresion, duplicate check. etc.)
Now in this senario when we are receiving it from customer we recognizing it on the basis of IS certificaten mapping as explained above. When we are sending then we are configuring TN partner id as receiver in routing rules and while sending files to customer checking this receiver value on TN. IF exists then delivery will happen else it will fail.
Now i am not able to understand delivery is not failing but receiver is not coming on TN also when MDN is coming back then SSL handshake is also happening but still Customer ID is not coming on TN only Unknown is coming.