I don't think you'd get any other dlrs from fake smsc. Status 8 is delivered to 
smsc, it's as far s you can get there. Try using an smppbox connection (eg 
against opensmppbox or an smsc simulator).

--
Alex Guerrieri

> On Feb 21, 2014, at 0:39, MOSES KARIUKI <kariuk...@gmail.com> wrote:
> 
> Come on guys, this is not the hardest question ever asked. Is it? Somebody 
> please assist me!.
> 
> Thanks,
> Moses
> 
> 
>> On Wed, Feb 19, 2014 at 12:10 PM, Murgor Bendon <bendonmur...@gmail.com> 
>> wrote:
>> He is using fakesms, not yet bound to any SMSC provider yet.
>> 
>> 
>> 
>> 
>> Best Regards,
>> Bendon Murgor : Systems Engineer/IT Systems Auditor.
>> Phone: Kenya:  +254-720529868
>> Twitter: @bendonmurgor
>> 
>> 
>>> On Wed, Feb 19, 2014 at 12:05 PM, Otandeka Simon Peter 
>>> <sotand...@gmail.com> wrote:
>>> 
>>> Consult your SMSC provider. They should sort you out on that. It is not a 
>>> kannel issue. 
>>> 
>>> 
>>> @sotandeka
>>> +256 716 801 124
>>> Senior Programmer in VAS Mobile services, ERP, Health and Web-based Systems.
>>> Experienced Linux System Administrator and Open Source Developer. 
>>> 
>>> 
>>> 
>>>> On Wed, Feb 19, 2014 at 12:01 PM, MOSES KARIUKI <kariuk...@gmail.com> 
>>>> wrote:
>>>> Hi Guys,
>>>> 
>>>> Any help on this request? Please assist.
>>>> 
>>>> Moses
>>>> 
>>>> 
>>>>> On Tue, Feb 18, 2014 at 12:11 PM, MOSES KARIUKI <kariuk...@gmail.com> 
>>>>> wrote:
>>>>> Hi All,
>>>>> 
>>>>> I have set up Kannel on Ubuntu. I am testing functionality using 
>>>>> fakesmsc. Below is the configuration.
>>>>> 
>>>>> group = core
>>>>> admin-port = 13000
>>>>> admin-password = bar
>>>>> admin-deny-ip = "*.*.*.*"
>>>>> admin-allow-ip = "127.0.0.1"
>>>>> #wapbox-port = 13002
>>>>> smsbox-port = 13001
>>>>> wdp-interface-name = "*"
>>>>> log-file = "/var/log/kannel/bearerbox.log"
>>>>> log-level = 0
>>>>> box-deny-ip = "*.*.*.*"
>>>>> box-allow-ip = "127.0.0.1"
>>>>> #dlr-storage = pgsql
>>>>> 
>>>>> group = smsbox
>>>>> bearerbox-host = localhost
>>>>> sendsms-port = 13013
>>>>> global-sender = 13013
>>>>> smsbox-id = "box1"
>>>>> log-file = "/var/log/kannel/smsbox.log"
>>>>> log-level = 0
>>>>> 
>>>>> group = sendsms-user
>>>>> username =
>>>>> password =
>>>>> dlr-url = 
>>>>> "http://localhost/kannel/dlr_status.php?d=%p&mask=%d&message_id=%F";
>>>>> 
>>>>> group = sms-service
>>>>> keyword = default
>>>>> #get-url = "http://localhost/kannel/receivesms.php?sender=%p&amp;text=%b";
>>>>> accept-x-kannel-headers = true
>>>>> concatenation = true
>>>>> catch-all = true
>>>>> 
>>>>> #group = wapbox
>>>>> #bearerbox-host = localhost
>>>>> #log-file = "/var/log/kannel/wapbox.log"
>>>>> 
>>>>> group = smsc
>>>>> smsc = fake
>>>>> smsc-id = FAKE
>>>>> port = 10000
>>>>> connect-allow-ip = 127.0.0.1
>>>>> #msg-id-type = 0x00
>>>>> 
>>>>> group = pgsql-connection
>>>>> id = mydlr
>>>>> host = localhost
>>>>> port = 5439
>>>>> username = kannel_admin
>>>>> password = RFID_dev12??
>>>>> database = postgres
>>>>> max-connections = 1
>>>>> 
>>>>> group = dlr-db
>>>>> id = mydlr
>>>>> table = tbl_dlr
>>>>> field-smsc = smsc
>>>>> field-timestamp = _timstamp
>>>>> field-destination = destination
>>>>> field-source = source
>>>>> field-service = _service
>>>>> field-url = url
>>>>> field-mask = mask
>>>>> field-status = status
>>>>> field-boxc-id = boxc_id
>>>>> 
>>>>> This is the url I am calling to test:
>>>>> http://localhost:13013/cgi-bin/sendsms?username=&password=&to=125345&text=tests&smsc=FAKE&dlr-mask=31
>>>>> 
>>>>> However, in the table for delivery reports, I am only getting dlr report 
>>>>> 8. But the message is being sent. it displays "0: Accepted for delivery" 
>>>>> after I call the above url.
>>>>> 
>>>>> What Im I doing wrong? Please assist.
>>>>> 
>>>>> Thanks
>>>>> Moses
> 

Reply via email to