Hi Rolando,

    What you call carrier_id is "smsc-id" inside Kannel. (Take a look at the
smsc group configuration). When Kannel receives a SMS, it passes your script
the "smsc-id" name in the %i variable. When you push a SMS, you should use
that same name, this time setting the "smsc" CGI variable, so Kannel knows
which connection to use.

Best regards,
Rodrigo Cremaschi

----- Original Message ----- 
From: "Rolandow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 12:31 PM
Subject: parse carrier_id from SMPP


> Hello users,
>
> After struggling a while through the configuration files and stuff,
> Kannel works perfectly. It's perfectly clear how we can send an
> recieve SMS, useing SMPP as protocol.
>
> Now, we also need to know the carrier_id, because some carriers
> require a double opt-in. When I take a look at the sms-service part of
> the user guide, I am able to send some variables with an HTTP get.
>
> Though, I can't find the carrier_id, indicating what network the
> end user uses. My guess is that this just isn't parsed from the PDU
> package.
>
> Now, can I configure what fields kannel has to read, and parse to my
> script?
>
> Help would be very much appreciated :).
>
> Thanks in advance!
>
> Roland.
>


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