Check following:

- Does your operator allow alphanumeric masking for your LA?
- Are your TON/NPI settings matching the ones given by the operator? Is
00351xxxxxx the right format for recipient numbers? Try sending to
351xxxxxx (00 is attached by SMSC itself, depending upon TON/NPI settings).

Regards,

On Mon, Dec 19, 2011 at 7:48 PM, Jorge Raimundo <
[email protected]> wrote:

> Hi all.
>
> I'm trying to send sms but it fails and I can't figure out why.
>
> Via web I go to
> http://192.168.0.6:13013/cgi-bin/sendsms?username=tester&password=foobar&to=003519******67&text=Hello&from=MV
>
> On the smsbox I get:
> *INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <192.168.0.134>
> INFO: sendsms used by <tester>
> INFO: sendsms sender:<tester:MV> (192.168.0.134) to:<003519******67>
> msg:<Hello>
> DEBUG: Stored UUID eb7775c3-18fb-4ff1-9280-abee7dc3464e
> DEBUG: message length 5, sending 1 messages
> DEBUG: Status: 202 Answer: <Sent.>
> DEBUG: Delayed reply - wait for bearerbox
> DEBUG: Got ACK (0) of eb7775c3-18fb-4ff1-9280-abee7dc3464e
> DEBUG: HTTP: Resetting HTTPClient for `192.168.0.134'.
> DEBUG: Timeout for fd:24 appears.
> DEBUG: HTTP: Destroying HTTPClient area 0x7848b0.
> DEBUG: HTTP: Destroying HTTPClient for `192.168.0.134'.*
>
> On the bearerbox I get:
> *DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps to pid 5042.
> DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender)
> DEBUG: boxc_receiver: got boxc_id <SMSBOX> from <127.0.0.1>
> DEBUG: boxc_receiver: sms received
> DEBUG: send_msg: sending msg to boxc: <SMSBOX>
> DEBUG: HTTP: Creating HTTPClient for `192.168.0.134'.
> DEBUG: HTTP: Created HTTPClient area 0x7dba70.*
>
> On the access log I get:
> *send-SMS request added - sender:tester:MV 192.168.0.134
> target:003519******67 request: 'Hello'
> FAILED Send SMS [SMSC:SMSC] [SVC:tester] [ACT:] [BINF:] [FID:] [META:]
> [from:MV] [to:003519******67] [flags:-1:0:-1:-1:-1] [msg:5:Hello] [udh:0:]
> *
>
> My configuration file has this:
> *# Config file for kannel
>
> group = core
> admin-port = 13000
> admin-password = f00bar
> log-file = "/var/log/kannel/kannel.log"
> log-level = 1
> access-log = "/var/log/kannel/access.log"
> dlr-storage = mysql
> smsbox-port = 13003
>
> group = smsc
> smsc = smpp
> smsc-id = SMSC
> host = *******
> port = 7777
> smsc-username = *******
> smsc-password = *******
> system-type = "VMA"
> log-file = "/var/log/kannel/smsc.log"
> log-level = 1
>
> group = smsbox
> smsbox-id = SMSBOX
> bearerbox-host = localhost
> sendsms-port = 13013
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 1
> access-log = "/var/log/kannel/access.log"
> sms-length = 160
>
> group = sendsms-user
> username = tester
> password = foobar
>
> group = sms-service
> keyword = default
> text = "No service specified"
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = *******
> password = *******
> database = *******
> 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*
>
> How can I find out what's going wrong?
>
> Best regards,
> --
>
>   [image: Multivision] *Jorge Raimundo
> *  RAN Consultant | [email protected]  .  Rua António Albino
> Machado, Nº33, 2ºB.  S. Domingos de Benfica, 1600 - 870 Lisboa  Fixed PT: +351
> 21 155 20 53 | Mobile PT: +351 91 933 13 67  www.multivision.pt
>
>

Reply via email to