smsc-id is almost as good, but not completely. mcc and mnc are
normalized values, and when you have for example 20 connections to the same
operator (as I do, one emi2 link for each short code), if you use smsc-id you'll
have to translate this value in every application behind kannel, wich is error
prone.
I know kannel doesn't have a way to know mcc and mnc, that's why i
suggest smsc directives.
But for extensibility (i mean custom drivers) it would be a good thing:
for example, a custom NetSize driver we have developed, gets mcc and mnc
information directly from the provider, as you can have any mcc and mnc through
this link. In this situation, neither using %i or appendind
&mcc=xx&mnc=xx would work.
Angel Fradejas
Mediafusión España, S.A.
[EMAIL PROTECTED]
www.mediafusion.es
Tel. +34 91 252 32 00
Fax +34 91 572 27 08
Mediafusión España, S.A.
[EMAIL PROTECTED]
www.mediafusion.es
Tel. +34 91 252 32 00
Fax +34 91 572 27 08
-----Mensaje original-----
De: Andreas Fink [mailto:[EMAIL PROTECTED]]
Enviado el: lunes 3 de junio de 2002 19:00
Para: Angel Fradejas
CC: [EMAIL PROTECTED]
Asunto: Re: [RFC] mcc and mncA question for all developers,What do you think about having kannel pass mnc and mcc information to applications? Sometimes applications need to know the operator for the incoming MO (a logo download application being the typical example), and kannel is the closer element to the operator (and so the most reliable point to declare this info, so you have not to guess based on the mobile number).You can do that by adding &mnc=xxx&mcc=yyy inside the service definition passing those values as a constant string. So you would have an entry for every logo cgi for every SMSC connection. Or you could simply use the %i which is the smsc name. Kannel has no way of knowing which MNC and MCC goes with which SMSC so the smsc name is as good as anything else. --
Andreas Fink
Fink-Consulting
------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/ Nickname afink
