Dear Tapan

 

1.     I use PlaySMS to sending SMS and receiving SMS (I think Playsms can do 
both of this) 

2.     For kannel , How I config that to receive and send SMS from PlaySMS? 
Such as group sendsms-user, or I must have sqlbox,opensmppbox(Now,  I don’t 
have sqlbox and smppbox because it error when I make install)

3.     My query related to sending.

 

Thanks & Regards
Nilubon Soonthon

 

 

From: Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com] 
Sent: Tuesday, March 3, 2015 10:59 AM
To: Nilubon Soonthon
Cc: users@kannel.org
Subject: Re: Quesion about Connet External Dabases of Kannel

 

Dear Nilubon,

I have not used playsms since so long however tried playsms 2-3 years back.

Can you please explain what exactly you are trying to achieve?

For Example:

PlaySMS -> Kannel (For sending SMS)

Kannel -> PlaySMS (For receiving SMS)

Is your query related to sending or receiving?

 

On Tue, Mar 3, 2015 at 8:03 AM, Nilubon Soonthon <nilubo...@jasmine.com> wrote:

Hi Tapan,



1. Do you mean I can use many smsbox to fix Operators That I want to transfer 
and then bearerbox will transfer my SMS to SMSCs ?

2. For PlaySMS, I must Query Data from databases and process its before send to 
kannel right?

3. What parameter that I must receive from PlaySMS to select the right smsbox?





My configuration file is below



#kannel.conf

group = core

admin-port = 13000

smsbox-port = 14000

admin-password = kannel

status-password = kannel

log-file = /var/log/kannel/kannel.log

log-level = 0

access-log = /var/log/kannel/access_kannel.log







#---- DLR table structure

group = dlr-db

id = mydlr

table = "kannel_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



group = smsbox

#smsbox-id = mysmsbox  do not uncomment this if you have only one smsbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 13013

#global-sender = 1000

log-file = /var/log/kannel/smsbox.log

log-level = 0

mo-recode = true



group = smsc

smsc = smpp

smsc-id = SMPPSim

host = 127.0.0.1

#port = 2775

transceiver-mode = 1

receive-port = 2775

smsc-username = smppclient1

smsc-password = 12345

system-type = 'VMA'

#service-type = 'test'

interface-version = 34

#system-id = smppclient1

preferred-smsc-id = SMPPSim



group = sendsms-user

username = kannel

password = kannel

#forced-smsc = SMPPSim

default-sender = '1000'





group = sms-service

keyword = default

accept-x-kannel-headers = true

#text = "No service specified"

catch-all = true

max-messages = 0 # it's better to put this parameter to 0 or you will have a 
lot Ack in      your network

get-url = "http://localhost/kannel/?phone=%p 
<http://localhost/kannel/?phone=%25p&text=%25a> &text=%a"





Thanks & Regards

Nilubon Soonthon



From: Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com]
Sent: Monday, March 2, 2015 12:03 PM
To: Nilubon Soonthon
Cc: users@kannel.org
Subject: Re: Quesion about Connet External Dabases of Kannel



Hi,

Kannel does not support this feature.

You have two options:

1. Modify playsms to select appropriate SMSC before submitting sms to kannel 
via SMSBOX.

2. You can make different users at kannel (SMSBOX) and use those users while 
submitting sms to kannel. Users will have their predefined SMSC fixed at SMSBOX 
level.

Thanks & Regards

Tapan Thapa



On Mon, Mar 2, 2015 at 10:00 AM, Nilubon Soonthon <nilubo...@jasmine.com> wrote:



I would like to know how to connect to external Databases (redirect servers 
that provide number and operators that numbers are register)  of Kannel to 
query data sush as number,operators and use that data to select SMSCs to 
transfer messages (I get messages from Web sevice Api using PlaySMS). Can 
Kannel do this and how I config it ?





Best Regards,



Description: Description: Description: Description: Description: 5090742_250




Nilubon  Soonthon

VoIP DIV.

Triple T Broadband PCL;

Office :02-100-7470






 

Reply via email to