Also separate bearerbox access file from smsbox access file, do not use the
same file.
It would be easier.

On Sat, Sep 29, 2012 at 9:18 PM, Rinor Hoxha <[email protected]> wrote:

> Hi,
>
> If we see some logs maybe can help you. Check
> "/usr/local/kannel/log/clientA/smsbox.log" and see if the url gets called.
> Does the msg exists in the smsbox access file
> "/usr/local/kannel/log/clientA/Access.log" ? How many smsbox-es do you have?
>
> If you can post both logs here.
>
> Br, Rinor
>
>
> On Sat, Sep 29, 2012 at 9:01 PM, Satyadeep Kumar <[email protected]>wrote:
>
>>  Hi
>>
>> Anyone , any idea ? I am stuck on this .
>>
>> Thanks
>>
>> On 29-09-2012 20:20, Satyadeep Kumar wrote:
>> My Kannel.conf is :
>>
>> group = core
>> admin-port = X
>> smsbox-port = Y
>> admin-password = Z
>> log-file = "/usr/local/kannel/log/clientA/kannel.log"
>> log-level = 0
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "127.0.0.1"
>> access-log = "/usr/local/kannel/log/clientA/Access.log"
>> store-type = file
>> store-file = "/usr/local/kannel/log/clientA/clientA.store"
>>
>> ###############################################################
>>
>> group = smsc
>> smsc = smpp
>> smsc-id = clientA
>> host =A.B.C.D
>> port = 9081
>> throughput = 2
>> wait-ack = 600
>> smsc-username = myuser
>> smsc-password = mypass
>> keepalive=30
>> system-type =
>> transceiver-mode = 1
>> enquire-link-interval = 1200
>> source-addr-ton = 0
>> source-addr-npi = 1
>> dest-addr-ton = 1
>> dest-addr-npi = 1
>> max-pending-submits = 3
>>
>> #################################################################
>>
>> group = smsbox
>> smsbox-id = smsbox82
>> bearerbox-host = localhost
>> sendsms-port = portSend
>> global-sender = XXXXXXX
>> mo-recode = true
>> log-file = "/usr/local/kannel/log/clientA/smsbox.log"
>> log-level = 0
>> access-log = "/usr/local/kannel/log/clientA/Access.log"
>>
>> ###################################################################
>> group = sendsms-user
>> username = myu
>> password = myp
>> max-messages = 3
>> concatenation = true
>>
>> ##################################################################
>>
>> group = sms-service
>> keyword = default
>> get-url = "http://localhost:80/insdb.php?sender=%p&receiver=%r&smsid=%I";
>>
>>
>>
>>  I have apache running on port 80 and the URL when individually called
>> inserts messages in DB, however, when a message is sent to the App , it
>> never reaches DB, and I do not see any error in logs explaining this.
>>
>> Any thoughts where am I missing ?
>>
>> Thanks
>>
>> --
>> Satyadeep Kumar
>> [email protected]+91 971 147 5156
>>
>>
>> --
>> Satyadeep Kumar
>> [email protected]+91 971 147 5156
>>
>>
>

Reply via email to