RE: URL

2009-02-19 Thread Villada, Gustavo
Hi, 
he need URLENCODE the text parameter. I test with curl 
 
curl http://localhost/service?sender=99from=text=its+a+good+game;


 
 



From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Nikos Balkanas
Sent: Wednesday, February 18, 2009 2:14 PM
To: narendra reddy; users@kannel.org
Subject: Re: URL


Hi,
 
I don't quite make out your request, but I can infer that smt is wrong from 
your logs.
You have a typo in your get-url. Try:
 
get-url = http://localhost/service?sender=99from=text=its 
http://localhost/service?sender=99from=text=its  a good game

BR,
Nikos

- Original Message - 
From: narendra reddy mailto:kamaninaren...@gmail.com  
To: users@kannel.org 
Sent: Wednesday, February 18, 2009 5:45 PM
Subject: URL

HI,

how we can set  answer for cricket is  a keyword 

  group = sms-service
keyword = cricket
get-url = 
http://localhosthost/service?sender=99from=text=its a good game
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

but in the smsbox file it is showing below error
2009-02-18 21:06:25 [28265] [9] ERROR: Couldn't send request to 
http://host/service?sender=9958167784text=
2009-02-18 21:06:25 [28265] [9] ERROR: Error while gw_gethostbyname 
occurs.
2009-02-18 21:06:25 [28265] [9] ERROR: System error 1: Operation not 
permitted
2009-02-18 21:06:25 [28265] [9] ERROR: gethostbyname failed
2009-02-18 21:06:25 [28265] [9] ERROR: System error 2: No such file or 
directory


in the smsboxacceess log file also it is showing  like below.
2009-02-18 21:03:07 SMS HTTP-request sender:9958167784 request: 'Could 
not fetch content, sorry.' url: '' reply: -1 ''
2009-02-18 21:03:07 SMS HTTP-request sender:9958167784 request: 'Could 
not fetch content, sorry.' url: '' reply: -1 '
 
--wat is wrong in this issue.and wat is post-url and get-url .i 
kept the config file as above but it is showing so many errors.
Best Regards,







RE: Falling send sms via balanced conections

2009-02-06 Thread Villada, Gustavo
Thanks Alejandro, 
but if a message is droped by an error. 
the DLR interface report the failure? 

TIA
Gustavo




From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, February 06, 2009 1:37 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: Falling send sms via balanced conections


Gustavo,

Errors are:

SMPP_ESME_RX_P_APPN  0x0065 (ESME Receiver Permanent App Error Code)
SMPP_ESME_RUNKNOWNERR  0x00ff (Unknown Error)

Only this errors are considered temporary and cause kannel to retry:

SMPP_ESME_RSYSERR  0x0008
SMPP_ESME_RMSGQFUL   0x0014
SMPP_ESME_RTHROTTLED   0x0058
SMPP_ESME_RX_T_APPN  0x0064

All other errors returned from the SMSC are considered permanent and messages 
are discarded. If you need to change this, you need to patch kannel and 
recompile.

Here's how:

Go to gw/smsc/smsc_smpp.c, and around line 726, on function 
smpp_status_to_smscconn_failure_reason you need to add extra case lines 
with the error constants you need to fail temporarily. For example:

...
case SMPP_ESME_RX_P_APPN:
case SMPP_ESME_RUNKNOWNERR:
...

I'd first ask the smsc operator about what errors you should retry, to make the 
patch only once.

Contact me in private or on the devel list if you need more help with the 
patch, we're already getting off-topic on the users list.

Regards,

Alejandro


On Wed, Feb 4, 2009 at 3:01 PM, Villada, Gustavo gvill...@telemediala.com 
wrote:


Alejandro,
Copy the logs.
A clarification: the error response is sent by ESME on purpose.

Regards.
G


DEBUG: new group created `smpp'
DEBUG: SMPP[smsc2-TX]: Sending PDU:
DEBUG: SMPP PDU 0x101527e0 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x0004
DEBUG:   command_status: 0 = 0x
DEBUG:   sequence_number: 64 = 0x0040
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x0002
DEBUG:   source_addr_npi: 1 = 0x0001
DEBUG:   source_addr: 77832274
DEBUG:   dest_addr_ton: 2 = 0x0002
DEBUG:   dest_addr_npi: 1 = 0x0001
DEBUG:   destination_addr: 138000
DEBUG:   esm_class: 0 = 0x
DEBUG:   protocol_id: 0 = 0x
DEBUG:   priority_flag: 0 = 0x
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x
DEBUG:   replace_if_present_flag: 0 = 0x
DEBUG:   data_coding: 0 = 0x
DEBUG:   sm_default_msg_id: 0 = 0x
DEBUG:   sm_length: 7 = 0x0007
DEBUG:   short_message: TEST OK
DEBUG: SMPP PDU dump ends.
WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
DEBUG: SMPP[smsc2-TX]: Got PDU:
DEBUG: SMPP PDU 0x101b7ac0 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x8004
DEBUG:   command_status: 101 = 0x0065
DEBUG:   sequence_number: 64 = 0x0040
DEBUG:   message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[smsc2-TX]: SMSC returned error code 0x0065 (ESME 
Receiver Permanent App Error Code) in response
to submit_sm.



DEBUG: SMPP[smsc2-TX]: Sending PDU:
DEBUG: SMPP PDU 0x100c6410 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x0004
DEBUG:   command_status: 0 = 0x
DEBUG:   sequence_number: 50 = 0x0032
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x0002
DEBUG:   source_addr_npi: 1 = 0x0001
DEBUG:   source_addr: 77832274
DEBUG:   dest_addr_ton: 2 = 0x0002
DEBUG:   dest_addr_npi: 1 = 0x0001
DEBUG:   destination_addr: 138000
DEBUG:   esm_class: 0 = 0x
DEBUG:   protocol_id: 0 = 0x
DEBUG:   priority_flag: 0 = 0x
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x
DEBUG:   replace_if_present_flag: 0 = 0x
DEBUG:   data_coding: 0 = 0x
DEBUG:   sm_default_msg_id: 0 = 0x
DEBUG:   sm_length: 7 = 0x0007
DEBUG:   short_message: TEST OK
DEBUG: SMPP PDU dump ends.
DEBUG: SMPP[smsc2-TX]: Got PDU:
DEBUG: SMPP PDU 0x1012c4f8 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x8004
DEBUG:   command_status: 255 = 0x00ff
DEBUG:   sequence_number: 50 = 0x0032
DEBUG:   message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[smsc2-TX]: SMSC returned error code 0x00ff (Unknown 
Error) in response

RE: Falling send sms via balanced conections

2009-02-04 Thread Villada, Gustavo
Alejandro, 
Copy the logs. 
A clarification: the error response is sent by ESME on purpose.  

Regards.
G


DEBUG: new group created `smpp'
DEBUG: SMPP[smsc2-TX]: Sending PDU:
DEBUG: SMPP PDU 0x101527e0 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x0004
DEBUG:   command_status: 0 = 0x
DEBUG:   sequence_number: 64 = 0x0040
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x0002
DEBUG:   source_addr_npi: 1 = 0x0001
DEBUG:   source_addr: 77832274
DEBUG:   dest_addr_ton: 2 = 0x0002
DEBUG:   dest_addr_npi: 1 = 0x0001
DEBUG:   destination_addr: 138000
DEBUG:   esm_class: 0 = 0x
DEBUG:   protocol_id: 0 = 0x
DEBUG:   priority_flag: 0 = 0x
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x
DEBUG:   replace_if_present_flag: 0 = 0x
DEBUG:   data_coding: 0 = 0x
DEBUG:   sm_default_msg_id: 0 = 0x
DEBUG:   sm_length: 7 = 0x0007
DEBUG:   short_message: TEST OK
DEBUG: SMPP PDU dump ends.
WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
DEBUG: SMPP[smsc2-TX]: Got PDU:
DEBUG: SMPP PDU 0x101b7ac0 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x8004
DEBUG:   command_status: 101 = 0x0065
DEBUG:   sequence_number: 64 = 0x0040
DEBUG:   message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[smsc2-TX]: SMSC returned error code 0x0065 (ESME Receiver 
Permanent App Error Code) in response
to submit_sm.
 
 
 
DEBUG: SMPP[smsc2-TX]: Sending PDU:
DEBUG: SMPP PDU 0x100c6410 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x0004
DEBUG:   command_status: 0 = 0x
DEBUG:   sequence_number: 50 = 0x0032
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x0002
DEBUG:   source_addr_npi: 1 = 0x0001
DEBUG:   source_addr: 77832274
DEBUG:   dest_addr_ton: 2 = 0x0002
DEBUG:   dest_addr_npi: 1 = 0x0001
DEBUG:   destination_addr: 138000
DEBUG:   esm_class: 0 = 0x
DEBUG:   protocol_id: 0 = 0x
DEBUG:   priority_flag: 0 = 0x
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x
DEBUG:   replace_if_present_flag: 0 = 0x
DEBUG:   data_coding: 0 = 0x
DEBUG:   sm_default_msg_id: 0 = 0x
DEBUG:   sm_length: 7 = 0x0007
DEBUG:   short_message: TEST OK
DEBUG: SMPP PDU dump ends.
DEBUG: SMPP[smsc2-TX]: Got PDU:
DEBUG: SMPP PDU 0x1012c4f8 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x8004
DEBUG:   command_status: 255 = 0x00ff
DEBUG:   sequence_number: 50 = 0x0032
DEBUG:   message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[smsc2-TX]: SMSC returned error code 0x00ff (Unknown Error) in 
response to submit_sm.

 
 



From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Wednesday, February 04, 2009 11:50 AM
To: Villada, Gustavo
Subject: Re: Falling send sms via balanced conections


Gustavo,

It depends on which error messages you're dealing with.

Kannel fails on some and retries on others. For example, an invalid_dest_addr 
is a permanent error and kannel discards it, while a throttling_error is 
temporary and kannel retries.

Please post log details showing the PDU's for the submit_sm and submit_sm_resp

Regards,

Alejandro


On Wed, Feb 4, 2009 at 2:13 PM, Villada, Gustavo gvill...@telemediala.com 
wrote:


Hi,

We have load balanced connections ( 2RX  2TX connections with same 
provider)

Kannel are working ok.
But in homologation test cases with the provider, we have the next 
problem:

On one TX connection the provider send us the submit_sm_resp message 
with error status, kannel receive this status and drop the sms.

The ask is:
What we do for recovering these failed messages or any other workaround 
for resend the failed messages?

We need recover and resend this...

Best regards
Gustavo









Falling send sms via balanced conections

2009-02-04 Thread Villada, Gustavo
Hi, 

We have load balanced connections ( 2RX  2TX connections with same provider) 

Kannel are working ok. 
But in homologation test cases with the provider, we have the next problem: 

On one TX connection the provider send us the submit_sm_resp message with error 
status, kannel receive this status and drop the sms. 

The ask is:
What we do for recovering these failed messages or any other workaround for 
resend the failed messages?

We need recover and resend this... 

Best regards
Gustavo
 
 



How to receive deliver_sm

2008-11-07 Thread Villada, Gustavo
Hi, 
My doubt is very basic, but I can't found in the userguide nor list how I can 
capture deliver_sm messages  and process it. 

Regards in advance.
Gustavo



How to configure two conections, one for RX-only other for TX-oly

2008-10-29 Thread Villada, Gustavo
A SMSC say that us must receive (only) the messages via one connection and must 
send the responses via other connection...

We have kannel correctly configured for others carriers...

How we can configure this situation with kannel only?

We think that adding a HTTP processor that receive by one and transmit by other 
is possible, but not desirable.

The HOST, port are equals, we have different users for each connection.


Copy the piece of kannel.conf

group = smsc
smsc = smpp
smsc-id = v-tx
host = HOST
port = 9001
smsc-username = user01
smsc-password = pwd01
system-type = 
my-number = 1
log-file = /var/log/kannel/v-tx.log
log-level = 1

group = smsc
smsc = smpp
smsc-id = v-rx
host = HOST
port = 9001
receive-port = 9001
smsc-username = user01
smsc-password = pwd01
system-type = 
my-number = 1
log-file = /var/log/kannel/v-rx.log
log-level = 1


TIA
Gustavo



RE: trouble with smpp optional parameter

2008-10-24 Thread Villada, Gustavo
Alejandro, thanks for the guides...

I must define a *smpp-tlv* group for each parameter. This is Ok.
I undertant the use with get/post/xml sendsms.

But I saw in SMSC group use  *meta-data* property but isn't clear why nor how.

Best regards and TIA
Gustavo




From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2008 3:56 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: trouble with smpp optional parameter


Gustavo,

Here's the HTML and a PDF I've just compiled from my local source tree. Please 
ignore all the rest, since it may be outdated.

I'm not sure if the list will allow the attachments, if anyone else needs the 
files let me know and I'll upload it somewhere.

Hope it helps,

Alejandro


On Thu, Oct 23, 2008 at 3:34 PM, Alejandro Guerrieri [EMAIL PROTECTED] wrote:


You need to checkout the meta-data branch from the CVS and build the 
documentation from there.

I'm not sure there's an online version of the compiled HTML and/or 
PDF's. Building from source can be tricky unless you have the right packages 
installed (I've sent an email to the list with instructions and patches for OSX 
Leopard a few weeks ago, on linux should be simpler, tough).

Regards,

Alejandro


On Thu, Oct 23, 2008 at 5:55 PM, Villada, Gustavo [EMAIL PROTECTED] 
wrote:


Alejandro,
do ou have any example of URL for sent sms with meta-data.

and/or the userguide generated???


regards
Gustavo



From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2008 7:18 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: trouble with smpp optional parameter


Hi,

You need the meta-data patch, which is not (yet) part of the 
core Kannel distribution.

Check here:


http://www.nabble.com/-PATCH--meta-data-branch-vs.-CVS-HEAD-td19468597.html

I've made a patch that documents it's functionality, which is 
available here:


http://www.magicom-bcn.net/kannel/userguide-meta-data-cleanup-20080922.patch

Hope it helps,

Alejandro




On Fri, Oct 3, 2008 at 6:10 PM, Villada, Gustavo [EMAIL 
PROTECTED] wrote:


Hello everyone,

Our smsc provider require that we must send an optional 
parameter in the message that we response.

we must set the optional parameter 0x01D 
(SMPP_additional_status_info_text) with our short number.

We saw in gw/smsc/smpp_pdu_opt.def are defined this 
flag, but we don't saw where is used or how.

anyone can help us?

copy our config file and part of log
we are using 1.4.1


regards in advance
Gustavo
PS: sorry any language mistake


#
# CORE
group = core
admin-port = 13000
admin-password = x
status-password = x
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1;10.240.*.*
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 = 1
sms-incoming-queue-limit = -1


#SMPP 4545
group = smsc
smsc = smpp
smsc-id = smpp
host = iptoprovider
port = 7010
smsc-username = x
smsc-password = x
system-type = VMA
my-number = 4545
transceiver-mode=true
log-file = /var/log/kannel/smsc.log
log-level = 1

#SMSBOX
group = smsbox
bearerbox-host = localhost
sendsms-port = 13113
sendsms-chars = 0123456789 +
access-log = /var/log/kannel/kannel.access
log-file = /var/log/kannel/smsbox.log
log-level = 1


#SS-SERVICE 4545
group = sms-service

RE: trouble with smpp optional parameter

2008-10-23 Thread Villada, Gustavo
Alejandro,
do ou have any example of URL for sent sms with meta-data.

and/or the userguide generated???


regards
Gustavo


From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2008 7:18 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: trouble with smpp optional parameter

Hi,

You need the meta-data patch, which is not (yet) part of the core Kannel 
distribution.

Check here:

http://www.nabble.com/-PATCH--meta-data-branch-vs.-CVS-HEAD-td19468597.html

I've made a patch that documents it's functionality, which is available here:

http://www.magicom-bcn.net/kannel/userguide-meta-data-cleanup-20080922.patch

Hope it helps,

Alejandro



On Fri, Oct 3, 2008 at 6:10 PM, Villada, Gustavo [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Hello everyone,

Our smsc provider require that we must send an optional parameter in the 
message that we response.

we must set the optional parameter 0x01D (SMPP_additional_status_info_text) 
with our short number.

We saw in gw/smsc/smpp_pdu_opt.def are defined this flag, but we don't saw 
where is used or how.

anyone can help us?

copy our config file and part of log
we are using 1.4.1


regards in advance
Gustavo
PS: sorry any language mistake

#
# CORE
group = core
admin-port = 13000
admin-password = x
status-password = x
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1http://127.0.0.1;10.240.*.*
smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1http://127.0.0.1
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
log-level = 1
sms-incoming-queue-limit = -1


#SMPP 4545
group = smsc
smsc = smpp
smsc-id = smpp
host = iptoprovider
port = 7010
smsc-username = x
smsc-password = x
system-type = VMA
my-number = 4545
transceiver-mode=true
log-file = /var/log/kannel/smsc.log
log-level = 1

#SMSBOX
group = smsbox
bearerbox-host = localhost
sendsms-port = 13113
sendsms-chars = 0123456789 +
access-log = /var/log/kannel/kannel.access
log-file = /var/log/kannel/smsbox.log
log-level = 1


#SS-SERVICE 4545
group = sms-service
keyword = OP
accepted-smsc = smpp
catch-all = true
concatenation = true
assume-plain-text = true
omit-empty = true
text = gracias por participar
#


(we edit the cell number)
-
kannel.access file:
2008-10-03 16:02:22 Log begins
2008-10-03 16:02:24 SMS request sender:+549114165 request: 'OP' fixed 
answer: 'gracias por participar'


-
smsbox.log file:
2008-10-03 16:02:22 [13896] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `1'.
2008-10-03 16:02:22 [13896] [0] INFO: Logging accesses to 
'/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: Started access logfile 
`/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: HTTP: Opening server at port 13113.
2008-10-03 16:02:22 [13896] [0] INFO: Set up send sms service at port 13113
2008-10-03 16:02:22 [13896] [0] INFO: Connected to bearerbox at localhost port 
13001.
2008-10-03 16:02:24 [13896] [4] INFO: Starting to service Op from 
+549114165 to 4545








RE: trouble with smpp optional parameter

2008-10-23 Thread Villada, Gustavo
I can' t found any reference for the branch...
the cvs viewer don' t show it...
and here I have blocked cvs access :S

regards
Gustavo


From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2008 3:35 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: trouble with smpp optional parameter

You need to checkout the meta-data branch from the CVS and build the 
documentation from there.

I'm not sure there's an online version of the compiled HTML and/or PDF's. 
Building from source can be tricky unless you have the right packages installed 
(I've sent an email to the list with instructions and patches for OSX Leopard a 
few weeks ago, on linux should be simpler, tough).

Regards,

Alejandro

On Thu, Oct 23, 2008 at 5:55 PM, Villada, Gustavo [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Alejandro,
do ou have any example of URL for sent sms with meta-data.

and/or the userguide generated???


regards
Gustavo


From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
Sent: Friday, October 03, 2008 7:18 PM
To: Villada, Gustavo
Cc: users@kannel.orgmailto:users@kannel.org
Subject: Re: trouble with smpp optional parameter

Hi,

You need the meta-data patch, which is not (yet) part of the core Kannel 
distribution.

Check here:

http://www.nabble.com/-PATCH--meta-data-branch-vs.-CVS-HEAD-td19468597.html

I've made a patch that documents it's functionality, which is available here:

http://www.magicom-bcn.net/kannel/userguide-meta-data-cleanup-20080922.patch

Hope it helps,

Alejandro



On Fri, Oct 3, 2008 at 6:10 PM, Villada, Gustavo [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Hello everyone,

Our smsc provider require that we must send an optional parameter in the 
message that we response.

we must set the optional parameter 0x01D (SMPP_additional_status_info_text) 
with our short number.

We saw in gw/smsc/smpp_pdu_opt.def are defined this flag, but we don't saw 
where is used or how.

anyone can help us?

copy our config file and part of log
we are using 1.4.1


regards in advance
Gustavo
PS: sorry any language mistake

#
# CORE
group = core
admin-port = 13000
admin-password = x
status-password = x
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1http://127.0.0.1;10.240.*.*
smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1http://127.0.0.1
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
log-level = 1
sms-incoming-queue-limit = -1


#SMPP 4545
group = smsc
smsc = smpp
smsc-id = smpp
host = iptoprovider
port = 7010
smsc-username = x
smsc-password = x
system-type = VMA
my-number = 4545
transceiver-mode=true
log-file = /var/log/kannel/smsc.log
log-level = 1

#SMSBOX
group = smsbox
bearerbox-host = localhost
sendsms-port = 13113
sendsms-chars = 0123456789 +
access-log = /var/log/kannel/kannel.access
log-file = /var/log/kannel/smsbox.log
log-level = 1


#SS-SERVICE 4545
group = sms-service
keyword = OP
accepted-smsc = smpp
catch-all = true
concatenation = true
assume-plain-text = true
omit-empty = true
text = gracias por participar
#


(we edit the cell number)
-
kannel.access file:
2008-10-03 16:02:22 Log begins
2008-10-03 16:02:24 SMS request sender:+549114165 request: 'OP' fixed 
answer: 'gracias por participar'


-
smsbox.log file:
2008-10-03 16:02:22 [13896] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `1'.
2008-10-03 16:02:22 [13896] [0] INFO: Logging accesses to 
'/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: Started access logfile 
`/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: HTTP: Opening server at port 13113.
2008-10-03 16:02:22 [13896] [0] INFO: Set up send sms service at port 13113
2008-10-03 16:02:22 [13896] [0] INFO: Connected to bearerbox at localhost port 
13001.
2008-10-03 16:02:24 [13896] [4] INFO: Starting to service Op from 
+549114165 to 4545









RE: Interactive SMS

2008-10-20 Thread Villada, Gustavo
Rodrigo,

More easy is using sms-service keyword and text.
By example

group = sms-service
keyword = A
accepted-smsc = smpptest
concatenation = true
assume-plain-text = true
omit-empty = true
text = You have selected the option A


group = sms-service
keyword = B
accepted-smsc = smpptest
concatenation = true
assume-plain-text = true
omit-empty = true
text = You have selected the option B

Just change the accepted-smsc for yours (smsc-id)

Regards
Gus



-Original Message-
From: Rodrigo Cremaschi [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2008 12:54 PM
To: Carlos Ruiz Diaz
Cc: users@kannel.org
Subject: Re: Interactive SMS

I think it will be much simpler if you code a script from zero, instead of 
having to translate every wap page into an SMS (which may end up in more than 
160 chars).

On Fri, Oct 17, 2008 at 12:06 PM, Carlos Ruiz Diaz [EMAIL PROTECTED] wrote:
 Thank for the reply Stipe.
 Let me explain myself better with an example, maybe there was
 something wrong with my bad English :).
 I want to send the following kind of messages to the users:
 
 Make your choice:
 A. Vote for Carlos
 B. Vote for Augusto
 
 if the user sends me a reply with an A or B I want to send:

 
 You have selected the option A|B
 

 and if not:

 
 No such option
 

 I already have a wap page for the above example and but I don't know
 if there exists a way to translate it transparently to interactive SMS
 or I should write my own system using sms services with keywords like A, 
 B.






 On Fri, Oct 17, 2008 at 8:20 AM, Stipe Tolj [EMAIL PROTECTED] wrote:

 Alejandro Guerrieri schrieb:
  Carlos,
 
  Of course you could program a system that responds an SMS with a
  wap-push that points to a particular wap page, but I'm not sure if
  that's what you're trying to achieve. Could you please clarify further?
 
  Regarding sending wap pages using SMS transport, that sounds a lot
  like [EMAIL PROTECTED] which is precisely that (a subste of wml over SMS
  transport). If that's the case, Kannel cannot help you on that
  department, you'd need a [EMAIL PROTECTED] gateway for that.

 what is [EMAIL PROTECTED] Any URL reference for that?

 A WAP Push can have a WML conent-type as payload. From a protocol
 architecture this is possible, as the PPG (push proxy gateway) knows
 how to encode this.

 The problem is (like most times) on the device side. I don't know
 exactly how many devices are out there that DO support WAP push
 messages, but KNOW how to interpret WML pushed payload too. Obviously
 they know how to display WML, using the browser component in the
 device. But the WAP Push component has usually an own browser that
 does the handling. So there is no nice registry mime type
 correlation as we know if from the Windows world ;)

 In addition USSD may be used for what you intend to do. But this
 requires again more dependencies in the core network structure and a
 dedicated USSD gateway too.

 The way I would do it:

 - let the user initiate, via a normal MO SMS keyword
 - send a WAP push SI (session indication) to the user, this will pop
 up on the screen and ask the user if he wants to make his decission.
 - the user can either say yes or no, yes means opening the
 embeded URL.
 - and the URL is your WML deck with the decision A or B.

 This has the benefits:

 a) you know that SI documents work on any WAP push capable phones, no
 failures.
 b) adding a session ID to the URL in the SI, maps the MSISDN of the
 user into your application, so when the user comes into the
 application you know who it is by MSISDN number, which makes later
 notifications or other SMS transmissions MT wise very easy to him

 Stipe

 --
 ---
 Kölner Landstrasse 419
 40589 Düsseldorf, NRW, Germany

 tolj.org system architecture  Kannel Software Foundation (KSF)
 http://www.tolj.org/  http://www.kannel.org/

 mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
 ---







RE: Ubuntu trouble

2008-10-14 Thread Villada, Gustavo
Guillaume,
Kannel 1.4.1 are in repositories... are divided into 3 packages...

I download and compile from CVS too... with Ubuntu 8.04
I just need install libxml2-devel...

regards
Gus



-Original Message-
From: Guillaume Godart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 12:07 PM
To: users@kannel.org
Subject: Ubuntu trouble

Hi,

Does anybody have successfully installed kannel with synaptic ? or with the 
debian package ?



After installing kannel with synaptic on ubuntu 8.04, trying :
  lynx -dump http://localhost:13000/status?password=bar;


I get the error message :

Looking for localhost:13000
HTTP Connection to localhost:13000
Sending request HTTP
Request routed to server. Please wait
Alert! : Unexpected reading error; interrupted connection Impossible access  
`http://localhost:13000/status?password=bar'
Alert! : Impossible to access document.

lynx : impossible access to start file

Sincerely,
Guillaume





RE: sqlbox compiling

2008-10-08 Thread Villada, Gustavo
Alejandro,

I made points 1  2.
3. I have problem here and update the version to 1.5 (was 1.1.10)
4. Linux RetHat under i586

Finally I get a solution...
But I need update autoconf and libutil... strange because the error wasn't so 
clear.


regards and thank a lot
Gustavo




From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 4:44 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: sqlbox compiling


Looks like you're not alone:

http://www.kannel.org/pipermail/users/2007-March/001757.html

Nobody answered, though :(

A few things to check:

1. Did you run bootstrap first right?
2. Have you tried with a clean extract? Maybe your previous attempts changed 
something...
3. Which autoconf version are you using?
4. What platform (Linux? Mac?). Version?

Hope it helps,

Alejandro


On Tue, Oct 7, 2008 at 5:35 PM, Villada, Gustavo [EMAIL PROTECTED] wrote:


I try, with errors

$ ./configure
checking cvs checkout date... ./configure: line 1760: syntax error near 
unexpected token `CVS_DATE'
./configure: line 1760: `AC_CVS_DATE(CVS_DATE)'

regards
Gustavo
PS: I know that I am green, bt first read the docs, next googlish and 
finaly I ask in the list :'(





From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 3:54 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: sqlbox compiling



Run:

./bootstrap

and then

./configure

Regards,

Alex

On Tue, Oct 7, 2008 at 4:47 PM, Villada, Gustavo [EMAIL PROTECTED] 
wrote:


   please ignore my previous email ;) I must googlish some

   I run the script and receive the next error:


   $autoconf  configure.ac
   configure.ac:20: error: possibly undefined macro: AC_CVS_DATE
If this token and others are legitimate, please use 
m4_pattern_allow.
See the Autoconf documentation.
   configure.ac:29: error: possibly undefined macro: 
AM_INIT_AUTOMAKE
   configure.ac:31: error: possibly undefined macro: 
AM_MAINTAINER_MODE
   configure.ac:36: error: possibly undefined macro: AC_PROG_LIBTOOL

   some advice?

   regards in advance again
   Gustavo


   -Original Message-
   From: Villada, Gustavo
   Sent: Tuesday, October 07, 2008 3:44 PM
   To: users@kannel.org
   Subject: sqlbox compiling

   Hi,
   I alredy download the package


   http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz 
http://www.kannel.org/%7Emconte/sqlbox/sqlbox-standalone.tar.gz  
http://www.kannel.org/%7Emconte/sqlbox/sqlbox-standalone.tar.gz  (06-Dec-2007 
14:59 147K)

   I saw the instruction from the list
   http://www.kannel.org/pipermail/users/2006-October/000841.html

   but in the package aren't any file name configure

   just a configure.ac but I unknown how use it

   regards in advance
   Gus










RE: sqlbox compiling

2008-10-08 Thread Villada, Gustavo
Alejandro,

bootstrap script tell a error about autoconf version, but this error wasn't 
clear... and because until the error a piece +of configure script was generated.

When drop sqlbox directory, untar and execute bootstrap I read again the same 
warning/error and I update the version of autoconf...
latter I repeat all previous step and get again another unclear error about 
libtool.
I update it and repeat 1st step. And I get success.

The not presence of a readme nor a userguide made that sqlbox loss part of the 
potential that it have (I presume)

best regards
Gustavo






From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 10:25 AM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: sqlbox compiling


Gustavo,

Glad it helped. Could you please tell the list a little more about the problem 
and what you did, so other people facing a similar scenario in the future can 
benefit from your experience?

Thank you in advance,

Alejandro Guerrieri


On Wed, Oct 8, 2008 at 10:49 AM, Villada, Gustavo [EMAIL PROTECTED] wrote:


Alejandro,

I made points 1  2.
3. I have problem here and update the version to 1.5 (was 1.1.10)
4. Linux RetHat under i586

Finally I get a solution...
But I need update autoconf and libutil... strange because the error 
wasn't so clear.


regards and thank a lot
Gustavo





From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]

Sent: Tuesday, October 07, 2008 4:44 PM

To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: sqlbox compiling


Looks like you're not alone:

http://www.kannel.org/pipermail/users/2007-March/001757.html

Nobody answered, though :(

A few things to check:

1. Did you run bootstrap first right?
2. Have you tried with a clean extract? Maybe your previous attempts 
changed something...
3. Which autoconf version are you using?
4. What platform (Linux? Mac?). Version?

Hope it helps,

Alejandro


On Tue, Oct 7, 2008 at 5:35 PM, Villada, Gustavo [EMAIL PROTECTED] 
wrote:


   I try, with errors

   $ ./configure
   checking cvs checkout date... ./configure: line 1760: syntax 
error near unexpected token `CVS_DATE'
   ./configure: line 1760: `AC_CVS_DATE(CVS_DATE)'

   regards
   Gustavo
   PS: I know that I am green, bt first read the docs, next 
googlish and finaly I ask in the list :'(



   

   From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 07, 2008 3:54 PM
   To: Villada, Gustavo
   Cc: users@kannel.org
   Subject: Re: sqlbox compiling



   Run:

   ./bootstrap

   and then

   ./configure

   Regards,

   Alex

   On Tue, Oct 7, 2008 at 4:47 PM, Villada, Gustavo [EMAIL 
PROTECTED] wrote:


  please ignore my previous email ;) I must googlish some

  I run the script and receive the next error:


  $autoconf  configure.ac
  configure.ac:20: error: possibly undefined macro: 
AC_CVS_DATE
   If this token and others are legitimate, please use 
m4_pattern_allow.
   See the Autoconf documentation.
  configure.ac:29: error: possibly undefined macro: 
AM_INIT_AUTOMAKE
  configure.ac:31: error: possibly undefined macro: 
AM_MAINTAINER_MODE
  configure.ac:36: error: possibly undefined macro: 
AC_PROG_LIBTOOL

  some advice?

  regards in advance again
  Gustavo


  -Original Message-
  From: Villada, Gustavo
  Sent: Tuesday, October 07, 2008 3:44 PM
  To: users@kannel.org
  Subject: sqlbox compiling

  Hi,
  I alredy download the package



  
http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz 
http://www.kannel.org/%7Emconte/sqlbox/sqlbox-standalone.tar.gz  
http://www.kannel.org/%7Emconte/sqlbox/sqlbox-standalone.tar.gz  
http://www.kannel.org/%7Emconte/sqlbox/sqlbox-standalone.tar.gz  (06-Dec-2007 
14:59 147K)


  I saw the instruction from the list
  
http://www.kannel.org/pipermail/users/2006-October/000841.html

  but in the package aren't any file name configure

  just a configure.ac but I unknown how use it

  regards in advance

RE: trouble with smpp optional parameter

2008-10-07 Thread Villada, Gustavo
Alejandro.
works fine.

thanks!!!


From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 10:48 AM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: trouble with smpp optional parameter

Ah, if you copied the patch from the HTML, the whitespaces are probably wrong.

Try adding --ignore-whitespace and you should be ok.

Hope it helps,

Alejandro

On Tue, Oct 7, 2008 at 11:17 AM, Villada, Gustavo [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Alejandro,
I haven' t access to CVS because security politics :S

I download last night snapshot (Snapshot build starts: Tue Oct  7 06:00:03 CEST 
2008)
but when apply below patch I get lot of errors.

what I doing bad?

$ patch -p0 parche.patch
patching file gw/urltrans.c
patching file gw/bb_smscconn.c
Hunk #1 succeeded at 92 (offset 1 line).
Hunk #2 succeeded at 647 with fuzz 1 (offset 6 lines).
Hunk #3 succeeded at 846 (offset 1 line).
patching file gw/msg-decl.h
Hunk #1 FAILED at 109.
1 out of 1 hunk FAILED -- saving rejects to file gw/msg-decl.h.rej
patching file gw/smsbox.c
Hunk #1 FAILED at 506.
Hunk #2 FAILED at 596.
Hunk #4 succeeded at 838 with fuzz 2.
Hunk #5 FAILED at 884.
Hunk #8 FAILED at 1146.
Hunk #9 FAILED at 1166.
Hunk #10 FAILED at 1176.
Hunk #12 FAILED at 1196.
Hunk #14 FAILED at 1479.
Hunk #15 FAILED at 1638.
Hunk #16 FAILED at 1983.
Hunk #17 succeeded at 2311 with fuzz 1.
Hunk #18 FAILED at 2495.
Hunk #20 FAILED at 2593.
Hunk #21 succeeded at 2611 with fuzz 1.
Hunk #22 FAILED at 2623.
Hunk #23 FAILED at 2639.
Hunk #24 FAILED at 2647.
Hunk #25 FAILED at 2704.
Hunk #28 FAILED at 2748.
17 out of 28 hunks FAILED -- saving rejects to file gw/smsbox.c.rej
patching file gw/smsc/smpp_pdu.h
patching file gw/smsc/smpp_pdu.c
patching file gw/smsc/smsc_smpp.c
Hunk #5 succeeded at 1378 (offset 14 lines).
patching file doc/userguide/userguide.xml
patching file gwlib/cfg.def
patching file gw/meta_data.c
patching file gw/meta_data.h

regards
Gustavo





From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
Sent: Friday, October 03, 2008 7:18 PM
To: Villada, Gustavo
Cc: users@kannel.orgmailto:users@kannel.org
Subject: Re: trouble with smpp optional parameter


Hi,

You need the meta-data patch, which is not (yet) part of the core Kannel 
distribution.

Check here:

http://www.nabble.com/-PATCH--meta-data-branch-vs.-CVS-HEAD-td19468597.html

I've made a patch that documents it's functionality, which is available here:

http://www.magicom-bcn.net/kannel/userguide-meta-data-cleanup-20080922.patch

Hope it helps,

Alejandro




On Fri, Oct 3, 2008 at 6:10 PM, Villada, Gustavo [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:


   Hello everyone,

   Our smsc provider require that we must send an optional parameter in the 
message that we response.

   we must set the optional parameter 0x01D 
(SMPP_additional_status_info_text) with our short number.

   We saw in gw/smsc/smpp_pdu_opt.def are defined this flag, but we don't 
saw where is used or how.

   anyone can help us?

   copy our config file and part of log
   we are using 1.4.1


   regards in advance
   Gustavo
   PS: sorry any language mistake

   #
   # CORE
   group = core
   admin-port = 13000
   admin-password = x
   status-password = x
   admin-deny-ip = *.*.*.*
   admin-allow-ip = 127.0.0.1http://127.0.0.1;10.240.*.*
   smsbox-port = 13001
   #wapbox-port = 13002
   box-deny-ip = *.*.*.*
   box-allow-ip = 127.0.0.1http://127.0.0.1
   wdp-interface-name = *
   log-file = /var/log/kannel/bearerbox.log
   log-level = 1
   sms-incoming-queue-limit = -1


   #SMPP 4545
   group = smsc
   smsc = smpp
   smsc-id = smpp
   host = iptoprovider
   port = 7010
   smsc-username = x
   smsc-password = x
   system-type = VMA
   my-number = 4545
   transceiver-mode=true
   log-file = /var/log/kannel/smsc.log
   log-level = 1

   #SMSBOX
   group = smsbox
   bearerbox-host = localhost
   sendsms-port = 13113
   sendsms-chars = 0123456789 +
   access-log = /var/log/kannel/kannel.access
   log-file = /var/log/kannel/smsbox.log
   log-level = 1


   #SS-SERVICE 4545
   group = sms-service
   keyword = OP
   accepted-smsc = smpp
   catch-all = true
   concatenation = true
   assume-plain-text = true
   omit-empty = true
   text = gracias por participar
   #


   (we edit the cell number)
   -
   kannel.access file:
   2008-10-03 16:02:22 Log begins
   2008-10-03 16:02:24 SMS request sender:+549114165 request: 'OP' 
fixed answer: 'gracias por participar

RE: trouble with smpp optional parameter

2008-10-07 Thread Villada, Gustavo
Alejandro,
I haven' t access to CVS because security politics :S

I download last night snapshot (Snapshot build starts: Tue Oct  7 06:00:03 CEST 
2008)
but when apply below patch I get lot of errors.

what I doing bad?

$ patch -p0 parche.patch
patching file gw/urltrans.c
patching file gw/bb_smscconn.c
Hunk #1 succeeded at 92 (offset 1 line).
Hunk #2 succeeded at 647 with fuzz 1 (offset 6 lines).
Hunk #3 succeeded at 846 (offset 1 line).
patching file gw/msg-decl.h
Hunk #1 FAILED at 109.
1 out of 1 hunk FAILED -- saving rejects to file gw/msg-decl.h.rej
patching file gw/smsbox.c
Hunk #1 FAILED at 506.
Hunk #2 FAILED at 596.
Hunk #4 succeeded at 838 with fuzz 2.
Hunk #5 FAILED at 884.
Hunk #8 FAILED at 1146.
Hunk #9 FAILED at 1166.
Hunk #10 FAILED at 1176.
Hunk #12 FAILED at 1196.
Hunk #14 FAILED at 1479.
Hunk #15 FAILED at 1638.
Hunk #16 FAILED at 1983.
Hunk #17 succeeded at 2311 with fuzz 1.
Hunk #18 FAILED at 2495.
Hunk #20 FAILED at 2593.
Hunk #21 succeeded at 2611 with fuzz 1.
Hunk #22 FAILED at 2623.
Hunk #23 FAILED at 2639.
Hunk #24 FAILED at 2647.
Hunk #25 FAILED at 2704.
Hunk #28 FAILED at 2748.
17 out of 28 hunks FAILED -- saving rejects to file gw/smsbox.c.rej
patching file gw/smsc/smpp_pdu.h
patching file gw/smsc/smpp_pdu.c
patching file gw/smsc/smsc_smpp.c
Hunk #5 succeeded at 1378 (offset 14 lines).
patching file doc/userguide/userguide.xml
patching file gwlib/cfg.def
patching file gw/meta_data.c
patching file gw/meta_data.h

regards
Gustavo





From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2008 7:18 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: trouble with smpp optional parameter


Hi,

You need the meta-data patch, which is not (yet) part of the core Kannel 
distribution.

Check here:

http://www.nabble.com/-PATCH--meta-data-branch-vs.-CVS-HEAD-td19468597.html

I've made a patch that documents it's functionality, which is available here:

http://www.magicom-bcn.net/kannel/userguide-meta-data-cleanup-20080922.patch

Hope it helps,

Alejandro




On Fri, Oct 3, 2008 at 6:10 PM, Villada, Gustavo [EMAIL PROTECTED] wrote:


Hello everyone,

Our smsc provider require that we must send an optional parameter in 
the message that we response.

we must set the optional parameter 0x01D 
(SMPP_additional_status_info_text) with our short number.

We saw in gw/smsc/smpp_pdu_opt.def are defined this flag, but we don't 
saw where is used or how.

anyone can help us?

copy our config file and part of log
we are using 1.4.1


regards in advance
Gustavo
PS: sorry any language mistake


#
# CORE
group = core
admin-port = 13000
admin-password = x
status-password = x
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1;10.240.*.*
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 = 1
sms-incoming-queue-limit = -1


#SMPP 4545
group = smsc
smsc = smpp
smsc-id = smpp
host = iptoprovider
port = 7010
smsc-username = x
smsc-password = x
system-type = VMA
my-number = 4545
transceiver-mode=true
log-file = /var/log/kannel/smsc.log
log-level = 1

#SMSBOX
group = smsbox
bearerbox-host = localhost
sendsms-port = 13113
sendsms-chars = 0123456789 +
access-log = /var/log/kannel/kannel.access
log-file = /var/log/kannel/smsbox.log
log-level = 1


#SS-SERVICE 4545
group = sms-service
keyword = OP
accepted-smsc = smpp
catch-all = true
concatenation = true
assume-plain-text = true
omit-empty = true
text = gracias por participar
#


(we edit the cell number)
-
kannel.access file:
2008-10-03 16:02:22 Log begins
2008-10-03 16:02:24 SMS request sender:+549114165 request: 'OP' 
fixed answer: 'gracias por participar'


-
smsbox.log file:
2008-10-03 16:02:22 [13896] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `1'.
2008-10-03 16:02:22 [13896] [0] INFO: Logging accesses to 
'/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: Started access logfile 
`/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: HTTP: Opening server at port 
13113.
2008-10-03 16:02:22 [13896] [0] INFO: Set up send sms service at port 
13113
2008-10-03 16:02:22 [13896] [0

sqlbox compiling

2008-10-07 Thread Villada, Gustavo
Hi,
I alredy download the package

http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz (06-Dec-2007 
14:59 147K)

I saw the instruction from the list
http://www.kannel.org/pipermail/users/2006-October/000841.html

but in the package aren't any file name configure

just a configure.ac but I unknown how use it

regards in advance
Gus



RE: sqlbox compiling

2008-10-07 Thread Villada, Gustavo
please ignore my previous email ;) I must googlish some

I run the script and receive the next error:


$autoconf  configure.ac
configure.ac:20: error: possibly undefined macro: AC_CVS_DATE
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:31: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:36: error: possibly undefined macro: AC_PROG_LIBTOOL

some advice?

regards in advance again
Gustavo

-Original Message-
From: Villada, Gustavo
Sent: Tuesday, October 07, 2008 3:44 PM
To: users@kannel.org
Subject: sqlbox compiling

Hi,
I alredy download the package

http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz (06-Dec-2007 
14:59 147K)

I saw the instruction from the list
http://www.kannel.org/pipermail/users/2006-October/000841.html

but in the package aren't any file name configure

just a configure.ac but I unknown how use it

regards in advance
Gus



RE: sqlbox compiling

2008-10-07 Thread Villada, Gustavo
I try, with errors

$ ./configure
checking cvs checkout date... ./configure: line 1760: syntax error near 
unexpected token `CVS_DATE'
./configure: line 1760: `AC_CVS_DATE(CVS_DATE)'

regards
Gustavo
PS: I know that I am green, bt first read the docs, next googlish and finaly I 
ask in the list :'(





From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 3:54 PM
To: Villada, Gustavo
Cc: users@kannel.org
Subject: Re: sqlbox compiling


Run:

./bootstrap

and then

./configure

Regards,

Alex

On Tue, Oct 7, 2008 at 4:47 PM, Villada, Gustavo [EMAIL PROTECTED] wrote:


please ignore my previous email ;) I must googlish some

I run the script and receive the next error:


$autoconf  configure.ac
configure.ac:20: error: possibly undefined macro: AC_CVS_DATE
 If this token and others are legitimate, please use 
m4_pattern_allow.
 See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:31: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:36: error: possibly undefined macro: AC_PROG_LIBTOOL

some advice?

regards in advance again
Gustavo


-Original Message-
From: Villada, Gustavo
Sent: Tuesday, October 07, 2008 3:44 PM
To: users@kannel.org
Subject: sqlbox compiling

Hi,
I alredy download the package

http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz 
http://www.kannel.org/%7Emconte/sqlbox/sqlbox-standalone.tar.gz  (06-Dec-2007 
14:59 147K)

I saw the instruction from the list
http://www.kannel.org/pipermail/users/2006-October/000841.html

but in the package aren't any file name configure

just a configure.ac but I unknown how use it

regards in advance
Gus







trouble with smpp optional parameter

2008-10-03 Thread Villada, Gustavo
Hello everyone,

Our smsc provider require that we must send an optional parameter in the 
message that we response.

we must set the optional parameter 0x01D (SMPP_additional_status_info_text) 
with our short number.

We saw in gw/smsc/smpp_pdu_opt.def are defined this flag, but we don't saw 
where is used or how.

anyone can help us?

copy our config file and part of log
we are using 1.4.1


regards in advance
Gustavo
PS: sorry any language mistake

#
# CORE
group = core
admin-port = 13000
admin-password = x
status-password = x
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1;10.240.*.*
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 = 1
sms-incoming-queue-limit = -1


#SMPP 4545
group = smsc
smsc = smpp
smsc-id = smpp
host = iptoprovider
port = 7010
smsc-username = x
smsc-password = x
system-type = VMA
my-number = 4545
transceiver-mode=true
log-file = /var/log/kannel/smsc.log
log-level = 1

#SMSBOX
group = smsbox
bearerbox-host = localhost
sendsms-port = 13113
sendsms-chars = 0123456789 +
access-log = /var/log/kannel/kannel.access
log-file = /var/log/kannel/smsbox.log
log-level = 1


#SS-SERVICE 4545
group = sms-service
keyword = OP
accepted-smsc = smpp
catch-all = true
concatenation = true
assume-plain-text = true
omit-empty = true
text = gracias por participar
#


(we edit the cell number)
-
kannel.access file:
2008-10-03 16:02:22 Log begins
2008-10-03 16:02:24 SMS request sender:+549114165 request: 'OP' fixed 
answer: 'gracias por participar'


-
smsbox.log file:
2008-10-03 16:02:22 [13896] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `1'.
2008-10-03 16:02:22 [13896] [0] INFO: Logging accesses to 
'/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: Started access logfile 
`/var/log/kannel/kannel.access'.
2008-10-03 16:02:22 [13896] [0] INFO: HTTP: Opening server at port 13113.
2008-10-03 16:02:22 [13896] [0] INFO: Set up send sms service at port 13113
2008-10-03 16:02:22 [13896] [0] INFO: Connected to bearerbox at localhost port 
13001.
2008-10-03 16:02:24 [13896] [4] INFO: Starting to service Op from 
+549114165 to 4545