Finally i got the smsc manager to recheck his configuration and he found out
that he had set up a rule not allowing my smpp account to send smsbut just
to receive and that was what was causing that error. So now everythng is ok. 
Thanks to all.



yanngates wrote:
> 
> Hi everybody.
> I'm a new to kannel but I thnk i installed and configured it properly. Sms
> from the phone through the operator's Smsc are received and treated
> correctly by kannel but when my script tries to send the mt to those sms,
> the smsc returns an error: "SMSC returned error code 0x00000431 
> (Vendor-specific error, please refer to your SMPP provider) in response to
> submit_sm."
> I contacted the smsc provider who says everything is right on his side and
> that i should check my config again. So here his my kannel.conf
> 
> group = core
> admin-port = 14000
> admin-password = password
> status-password = password
> smsbox-port = 14001
> dlr-storage = internal
> store-file = "/var/log/kannel/kannel.store"
> sms-incoming-queue-limit = -1
> #admin-deny-ip = ""
> admin-allow-ip = "*.*.*.*"
> log-file = "/tmp/kannel.log"
> #log-level = 0
> access-log = "/var/log/kannel/access.log"
> 
> group = smsc
> smsc = smpp
> smsc-id = MY_ID
> allowed-smsc-id = MY_ID
> host = x.x.x.x
> port = 5016
> receive-port = 5016
> smsc-username = "username"
> smsc-password = "pass"
> system-type = "VMA"
> 
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 14013
> global-sender = 1234
> sendsms-chars = "0123456789 +-"
> log-file = "/var/log/smsbox.log"
> log-level = 0
> access-log = "/var/log/access.log"
> 
>  this sender is for Kannel relay testing (http_smsc)
> 
> group = sendsms-user
> username = "user"
> password = "pwd"
> #user-deny-ip = "*.*.*.*"
> user-allow-ip =
> "127.0.0.1;192.168.10.6;192.168.10.1;192.168.10.*;192.168.5.*;*.*.*.*"
> forced-smsc = MY_ID
> max-messages = 1
> concatenation = 1
> 
> 
> group = mysql-connection
> id = mydlr
> host = localhost
> username = root
> password = "pswd"
> database = db
> # max count of connections that will be opened for dbpool
> # default is 1
> max-connections = 1
> 
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
> 
> 
> group = sms-service
> keyword = g
> max-messages = 0
> #text = "No service specified"
> get-url =
> "http://localhost/routeursms/routeur.php?Content=%a&SOA=%p&DA=%P&date=%t&smscid=%i&msgid=%I";
> 
> # there should be default always
> group = sms-service
> keyword = default
> max-messages = 0
> #text = "No service specified"
> get-url =
> "http://localhost/routeursms/routeur.php?Content=%a&SOA=%p&DA=%P&date=%t&smscid=%i&msgid=%I";
> 
> I really need help because i have been searching for a week now and i'm
> still stuck.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SMSC-returned-error-code-0x00000431--%28Vendor-specific-error%2C-please-refer-to-your-SMPP-provider%29-in-response-to-submit_sm.-tp24723780p24768062.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to