The text must be urlencoded, like "test+from+sms-gw".

Also, you may have to use an smsc-id and use that on the smsc parameter
("smpp" is the smsc type, not the id).

Check on the logfiles for extra infor about the whereabouts of your
messages.

Regards,

Alejandro

On Wed, Apr 30, 2008 at 1:10 AM, Tharanga <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Iam using smpp v 3.4 to send/receive sms. i can receive sms's from my
> Virual
> mobile number. but i cant send sms's.
>
> this is my config.
>
>  #SMSC SMPP
> group = smsc
> smsc = smpp
> host = x.x.x.x
> port = 5911
> smsc-username = xxxxxxx
> smsc-password = xxxxx
> interface-version = 0x34
> source-addr-ton = 1
> address-range = 112281482211 (provided by my operator)
> source-addr-npi= 1
> dest-addr-ton = 1
> dest-addr-npi=1
> system-type = SMPP
> transceiver-mode=1
> alt-addr-charset=GSM
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 17018
> #sendsms-port-ssl = true
> #global-sender = 13013
> #sendsms-chars = "0123456789 +-"
> log-file = "/var/log/kannel/smsbox.log"
> #log-level = 0
> access-log = "/var/log/kannel/access.log"
>
> iam using
>
> lynx -dump
> "
> http://localhost:17018/cgi-bin/sendsms?username=test&password=test&smsc=smp
> p&to=+999987666&from=+776655878&text=test<http://localhost:17018/cgi-bin/sendsms?username=test&password=test&smsc=smpp&to=+999987666&from=+776655878&text=test>from
>  sms-gw"
>
> it says  0: Accepted for delivery
>
> but its not delivered to the specific address. ?
>
> where i went wrong ?
> and also iam not getting any dlr report on my Mysql.
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = root
> password = xxxx
> database = dlr
> 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
>
> many thanks,
> Tharanga
>
>
>
>

Reply via email to