"Invalid Destination Address" means that the mobile number was
rejected by the SMSC. Maybe you're missing some prefix, maybe the
number was rejected by some other reasons (it happened to me that some
carriers throw that error when the number does not have enough credit,
for example). Check if you're formatting the number exactly as
received, otherwise check with the SMSC operator, maybe they require
something different (some require international formatting even when
they send you the number without it).

Regards,

Alejandro
On 8/15/07, Amr Qanadilo //AMC// <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Dear All;
>
>
>
> Hello All,
>
>
>
> I have connected and sent msgs via kannel. it was working perfect. now, when
> i tired to receive msgs it did not work. then, after some time i came to
> know that it was due to the fact that my shortcode provider did not
> initiated the short codes. then after they did it. i am able to receive msgs
> but i can not send any, i am getting this error.
>
>
>
> ERROR: SMPP[SMPP:10.1.1.144:6060/6060:arabmo:VMA]: SMSC returned error code
> 0x0000000b (Invalid Destination Address) in response to submit_sm.
>
>
>
>
>
> Kannel config
>
>
>
>
>
> group = core
>
> admin-port = 13000
>
> wapbox-port = 13001
>
> smsbox-port = 13002
>
> admin-password = bar
>
> admin-deny-ip = "*.*.*.*"
>
> admin-allow-ip = "127.0.0.1"
>
> wdp-interface-name = "*"
>
> store-file = "kannel.store"
>
> unified-prefix = "+962,00962,0;+,00"
>
> log-file = "/var/log/bearerbox.log"
>
> log-level = 0
>
> box-deny-ip = "*.*.*.*"
>
> box-allow-ip = "127.0.0.1"
>
> dlr-storage = internal
>
>
>
> include = "wapbox.conf"
>
>
>
> group = smsbox
>
> bearerbox-host = 127.0.0.1
>
> sendsms-port = 13013
>
> #sendsms-url = http://domain.com/cgi-bin/test/sendsms
>
> global-sender = 12345
>
> sendsms-chars = "0123456789 +-"
>
> log-file = "/tmp/smsbox.log"
>
> log-level = 0
>
> access-log = "/tmp/access.log"`
>
>
>
>
>
> group = smsc
>
> smsc = smpp
>
> host = x.x.x.x
>
> port = xxxx
>
> receive-port = xxxx
>
> smsc-username = "xxxxxxxx"
>
> smsc-password = "xxxx"
>
> system-type = "VMA"
>
> address-range =""
>
>
>
> group = sendsms-user
>
> username = tester
>
> password = foobar
>
> #user-deny-ip = ""
>
> user-allow-ip = "*.*.*.*"
>
>
>
> group = sms-service
>
> keyword = nop
>
> text = "You asked nothing and I did it!"
>
>
>
>
>
>
>
> =========
>
>
>
> <?php
>
> // Include file for SMS interface.
>
>
>
> // These variables MUST match your kannel.conf configuration
>
>
>
> $bearerboxhost = "127.0.0.1";
>
> define("BEARERBOX_HOST", "127.0.0.1");
>
> define("SENDSMS_PORT",   "13031");
>
> define("ADMIN_PORT",     "13000");
>
> define("ADMIN_PASSWORD", "bar");
>
> define("USERNAME",       "tter");
>
> define("PASSWORD",       "fobar");
>
> define("GLOBAL_SENDER",  "12345");
>
> ?>
>
>
>
>
>
>
>
> PLZ HELP
>
>
>
>
>
> Amr Qanadilo
>
>
>
>


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to