Hello Rodrigo, Maybe I didn't give enough information.
We are using Kannel as a client. Then we connect to a SMS gateway provider, who has connections with different carriers. When they recieve a MO message from an end user, they send that message to us through SMPP. Now, in the PDU they will set a carrier_id. So on one SMSC connection (with this gateway), we can recieve SMS from several carriers. The gateway provider will set the carrier_id in de PDU. How can we read this carrier_id? Would we have to change something in the source of Kannel, so that it can read this extra data from the PDU? Hope you can help a little bit further. Or somebody else of course :). Thanks in advance. Kind regards, Roland. On 24 November 2004, 16:55:34, Rodrigo wrote: RAC> What you call carrier_id is "smsc-id" inside Kannel. (Take a look at the RAC> smsc group configuration). When Kannel receives a SMS, it passes your script RAC> the "smsc-id" name in the %i variable. When you push a SMS, you should use RAC> that same name, this time setting the "smsc" CGI variable, so Kannel knows RAC> which connection to use.
