Ganeshwari,
You pretty much want to have NPI always set to 1 (E164/ISDN), as for
the TON this will depend on what your operator wants but I would
expect it should be 1 meaning international. You should then send all
your numbers in international format, e.g. it the UK that would be
447700900725 instead of 0770090725
If you want to send in national format then the TON is 2, but more
than likely your operator might not accept it, and insist that you
send in international format. I'm sure they must have given you some
guidelines when they set the connection up as to formats they expect
etc.
Regards
Ben
On 8 Dec 2006, at 10:49, Ganeshwari wrote:
Hi Ben,
Thanks for you reply. I dont know what is the source
address, the smsc assigned to us. So we have set the following
variable values like this in the smsc group configuration.
source-addr-ton=0
source-addr-npi=0
dest-addr-ton=1
dest-addr-npi=1
Now, I am receiving another error message, that is "invalid
destination address" from smsc.
We have used only ten digit mobile number for destination address.
Can you please tell whether
we need to specify any country code or international code as the
prefix of the mobile number ?
On 12/8/06, Ben Suffolk < [EMAIL PROTECTED]> wrote:
Hi Ganeshwair,
Are you sending a source address with your message?
I would have a look at the global-sender setting in the smsbox
section of the config file and see if you have it set to anything.
This will at least give you a default if you don't override it with
any specific at the time of submitting a message.
Failing that you might have the wrong TON set in the smpp section.
So have a look at source-addr-ton It defaults to international,
but may need to be set to network pending on what your operator has
assigned to you as the a source number.
Regards
Ben
On 8 Dec 2006, at 03:32, Ganeshwari wrote:
Hai All,
I have SMPP connection, using this I am trying to send
sms.It was sending SMS from the Kannel gateway to the SMSC
correctly and it returning the status 202 sent, but the message
was not received.
From the smsc log I found the following error message ,
"SMSC returned error code 0x0000000a (Invalid Source Address)
in response to submit_sm."
After get the SMPP connection, I have changed the smsc
configuration like this,
group = smsc
smsc = smpp
host = ***.***.***.**
port = ****
smsc-username = "xxxxxxx"
smsc-password = "*****"
system-type = ""
address-range = ""
log-file=/SMSLOGS/smsc.log
log-level=0
msg-id-type=1
Can I need to change any other group of configuration especially
for SMPP ?
What could be the problem ? Please can any one help me ?
Thanks in Advance,
Ganeshwari.
--
Regards,
S.K.Ganeshwari.