Hi Alvaro,

Thanks for the response. I am new using kannel and i think i am missing
some info. I also tried sending my own url to the message i submit to
kannel. When a send to sms-service cgi i add these two parameters:
..&dlr-url=$dlr_url_encoded&dlr-mask=1+2

where $dlr_url_encoded = http://xxx.xxx.xxx.dlr.php?myId=YYY&type=%d

Message are sent successfully but i do not get the call back to the url i
defined above in order to process.

Thanks





On Fri, Oct 18, 2013 at 7:56 PM, Alvaro Cornejo <cornejo.alv...@gmail.com>wrote:

> Hi
>
> The table defined in kannel config is only for kannel usage. kannel
> stores dlr there only until message is delivered, then reccord is
> deleted. That is why it is normally empty.
>
> If you do want to store dlrs, you should add your own ulr to the
> message you submit to kannel. Then you do whatever you want with that
> info. Check user manual for dlr-url and related.
>
> Regards
>
> Alvaro
>
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.perusms.com
>
>
> On Fri, Oct 18, 2013 at 2:30 PM, Alejandro Mussi <alemu...@gmail.com>
> wrote:
> > Hi,
> >
> > I am trying to save dlr on a persistant system in order to check messages
> > that were successfully delivered or not,  but i am having problems to run
> > dlr on mysql or using dlr-url. Here is my kannel.conf file
> >
> > group = core
> > admin-port = 13000
> > admin-password = xxx
> > status-password = xxx
> > admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "127.0.0.1"
> > smsbox-port = 13001
> > #wapbox-port = 13002
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > wdp-interface-name = "*"
> > log-file = "/var/log/kannel/bearerbox.log"
> > log-level = 0
> >
> > group = mysql-connection
> > id = mydlr
> > host = localhost
> > username = xx
> > password = xx
> > database = xx
> > 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
> >
> >
> > Attach goes the dlr table structure.
> >
> > If I add on the core group dlr-storage = mysql, Kannnel does not start.
> >
> >
> >
> > #Using dlr-url
> >
> > I tried also using dlr-url on sms-service adding the following data:
> >
> > $url = Constant::$KANNEL_SMS_SENDER_URL .
> >
> "to=$to_number&from=$src_number&binfo=$service_type&text=$text_encoded&dlr-url=$dlr_url_encoded&dlr-mask=1+2";
> >
> > Kannel receives and process the message but i could not get the response
> > from kannel to the url i especified.
> >
> > I tried to add also in kannel.conf dlr-url and dlr-mas (see below) but
> > kannel does not start when i add those two lines.
> >
> >
> > group = sms-service
> > keyword = default
> > get-url =
> > "http://xxx.xxx.file.php?binfo=%B&keyword=%k&from=%p&to=%P&text=%a";
> > accept-x-kannel-headers = true
> > max-messages = 3
> > concatenation = true
> > catch-all = true
> > omit-empty = true
> > dlr-url = "http://xxx.xxx.dlr.php?type=%d";
> > dlr-mask = 1+2
> >
> >
> >
> > Any help with this issue??
> >
> > Thanks
> >
> > --
> > ---------------------------------------------------------
> > Alejandro Mussi Campos Cervera
>



-- 
---------------------------------------------------------
Alejandro Mussi Campos Cervera

Reply via email to