Does this carrier_id come in a TLV (Tag / Length / Value)? In such case,
there is no way of getting TLV values into Kannel, and no way of setting
TLV's in outgoing PDU's either. Optional parameters are not implemented into
Kannel, although they are parsed and logged. But it would be an interesting
thing to do.

More info on TLV's: look for SMPP ver.3.4 specification.

----- Original Message ----- 
From: "Rolandow" <[EMAIL PROTECTED]>
To: "Rodrigo A. Cremaschi" <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 1:36 PM
Subject: Re[2]: parse carrier_id from SMPP


> 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.
>
>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
informaci�n CONFIDENCIAL sometida a secreto profesional o cuya divulgaci�n
est� prohibida en virtud de la legislaci�n vigente. Si ha recibido este
mensaje por error, le rogamos que nos lo comunique inmediatamente por esta
misma v�a o por tel�fono (54.11 5776-5000) y proceda a su destrucci�n.
N�tese que el correo electr�nico v�a Internet no permite asegurar ni la
confidencialidad de los mensajes que se transmiten ni la correcta recepci�n
de los mismos. En caso de que el destinatario de este mensaje no
consintiera la utilizaci�n de correo electr�nico v�a Internet rogamos lo
ponga en nuestro conocimiento de manera inmediata.
       

Reply via email to