Re: Problem with TON=1
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Alejandro Guerrieri wrote:
> *-addr-ton=1 y *-ton-npi=1 were as per operator's requirement.
>
> So they are (probably) violating some specs by setting ton=1 and using
> a 5 digits short number? I didn't find the 7-digits limit on SMPP 3.4
> papers, but I'm sure it's there for some reason (only I wasn't able to
> find it).
Hi,
yes, if you take the SMPP v3.4 spec literally and not relaxed, then they are
violating.
The issue is that TON=1 means international. Mainly Alex (who included the
semantical check here) argues that you can't construct an international number
with less then 7 digits, which is right.
Now, operator wants TON=1 for submit_sm PDUs, which may be "ok", in some sence,
since they care about semantically interpreting the message and the TON, but for
the delivery side, deliver_sm should contain TON=5 if the message is a network
internal shortcode number. That's what the specs say.
If they won't change and you have to resolve on your own, simply remove the if
statement in the code.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------