Dear users, basically I'm trying to relay an SMS message. My bearerbox is connected with two (emi2) SMSCs, let's say SMSC-A and SMSC-B. When I receive a message from SMSC-A then I have to forward it to SMSC-B, and viceversa; when I receive a message from SMSC-B then I have to forward it to SMSC-A.
I can set up two smsboxes, SMSBOX-A and SMSBOX-B with two different services. When a message arrives from SMSC-A is sent to SMSBOX-A, then the service calls http://localhost/cgi-bin/sendsms... with the same text received, forcing SMSC-B. Analogous is the process path of a message coming from SMSC-B. My problem is: how can I create an exact copy of the message received? How the outgoing message can be made identical to the incoming one? For the outgoing message, I can set the PID field. By means of coding, mclass, mwi, and alt-dcs I should be able to control the DCS field. Then using udh and text I should be able to control the User Data part of the message. But how can I read these values from the incoming message? Is there any solution to this problem? Is Kannel meant for this usage? Thank you in advance for your time. Francesco Trotta
