Andreas Fink wrote:
Not it looks like the operators MC adds the + sign even when sending just 123.
On Dienstag, Februar 4, 2003, at 08:33 Uhr, Dziugas Baltrunas wrote:
Hi,
I think this patch is very useful (for me too), but I would like to
ask,
should there be operator permission to set ANY short number as the
number
of the sender? and if so, what is the difference between
'shortnumber' and
'from' number? because, for example, SMPP (if operator permits)
allows to
set any number, iregarding of it's lenght, using, for example, the same
'from' variable in send-sms.
I don't understand what's the issue here. If you send the number as 123 it arrives on the phone as 123, if you send it as +123 it will arrive as +123. So is this not good enough??
in GSM transmission, a from number is the originator of the number. it can be of different type. In reality any phone number is specified by 3 parameters which are:I can not find any way in the CIMD2 specifications to set this. To quote the specifications "If an origination address is given in the submit message, it is regarded as a subaddress and it is appended to the end of the address that is set in the interface profile".
TON: type of number
NPI: network plan indicator
Address:
A short ID is nothing else than TON = shortid while an international number (+...) would be TON=international.
the receiving phone would display the + if the originator has TON=international set but not if TON is unknown or national or shortid.
In Kannel, if your number starts with +, it will set TON=international automatically. At least thats the case in SMPP. In EMI it puts 00 instead because EMI doesnt support TON field and only knows international numbers as numbers which start with 00... (international prefix in europe).
So the correct approach for CIMD would be to set TON=international only if the number starts with +. If this is not the case, then this is a bug to be fixed but forcing it to another type is for sure not the right approach.
The specs state that there are two optional (none mandatory) sender parameters - originator address and alphanumeric originator address. Without using the patch all numerical values in the 'from=' field will be sent as originator address. The operator will/may prepend the pluss sign, thus ruining the ability to answer directly.
What the patch does is just that it treats all numerical 'from=' fields up to shortnumber= digits as an alphanumeric sender. This avoids the MC prepending the pluss sign. So if shortnumber=4 - from=2030 will be received without the pluss sign.
As long as the operator allows you to use the alphanumeric originator address (it has been in the specs. since Feb. 2001) this should be perfectly legal.
--
Med vennlig hilsen,
Eurobate ASA
Arne K. Haaje
Senior Network Engineer
--------------------------------------------------------------------
Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
http://www.eurobate.com/
