RE: users Digest, Vol 66, Issue 41

2012-02-19 Thread Ahmed Shabana
Dear Michael ,
You can use SQLBox
But please do not use more than one mailing list   :) 


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Michael Farouk
Sent: Sunday, February 19, 2012 11:04 AM
To: Michael Farouk; Iain Dooley; de...@kannel.org; devel-repo...@kannel.org; 
commerc...@kannel.org
Cc: users@kannel.org
Subject: RE: users Digest, Vol 66, Issue 41

Can you help me ?

Best Regards
Michael Farouk



-Original Message-
From: Michael Farouk
Sent: Sunday, February 19, 2012 10:00 AM
To: 'Iain Dooley'
Cc: users@kannel.org
Subject: RE: users Digest, Vol 66, Issue 41

Hi Iain,

Thanks for your reply.
I don't need php interface to insert in the database. The kannel insert the SMS 
traffic in the log file beareraccess.log I don't like the solution I need 
kannel write in the mysql direct no interface between kannel  mysql.


I like that

MO Message SMSC  --Kannel  --mo---   Mysql  ---  
Application 

MT Message    SMSC  --   Kannel  --MT---   Mysql  ---  
Application



Best Regards
Michael Farouk 



-Original Message-
From: Iain Dooley [mailto:i...@workingsoftware.com.au]
Sent: Sunday, February 19, 2012 9:27 AM
To: Michael Farouk
Cc: users@kannel.org
Subject: RE: users Digest, Vol 66, Issue 41

Hey Michael,

In order do this, you need to define a service which receives the messages. 
This is done by creating a script that is located at a URL (eg. 
http://localhost/my_receiver.php) that will take the inbound message and do all 
the processing for you.

You can look at how to configure a service in the kannel user guide:

http://kannel.org/userguide

Cheers,
Iain

On Sun, 19 Feb 2012, Michael Farouk wrote:

 Dears,

 Kindly, I need kannel to insert the sms traffic in data base MYsql how can I 
 do that? Anyone can help me ...


 Best Regards
 Michael Farouk







RE: compile time of sqlbox;

2012-02-15 Thread Ahmed Shabana
I think the solution was using additional option when executing ./configure (as 
I remember was  ./configure --with-kannel-dir )

Best Regards,

Ahmed Shabana| System Engineer | Creative Communication Solutions
Skype_id : AhmedShabana2000


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Vijay kumar Dadhich
Sent: Wednesday, February 15, 2012 1:39 PM
To: users@kannel.org
Subject: compile time of sqlbox;

Hello to all,
   My problem is that,, i  compile the kannel with this ./configuer 
--enable-start-stop-daemon --with-mysql --with-mysql make make install then all 
things are well, but i compile with thread then the db support is disabled.
CFLAGS='-pthread' .c/onfiguer
CFLAGS='Wall -O2 -g' ./configuer

and after this i face the mysql disabled problem,and when i leave the CFLAGS 
compile process then this process create the sqlbox compile form but not with 
database SQLBOX. and showing this error.
without CFALGS

#make
config.status: creating sb-config.h
config.status: sb-config.h is unchanged
make[3]: Leaving directory `/usr/local/Gateway/trunk/gw'
make  all-recursive
make[3]: Entering directory `/usr/local/Gateway/trunk/gw'
Making all in gw
/bin/sh: line 17: cd: gw: No such file or directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/Gateway/trunk/gw'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/Gateway/trunk/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/Gateway/trunk'
make: *** [all] Error 2


[root@localhost trunk]# make install
Making install in gw
make[1]: Entering directory `/usr/local/Gateway/trunk/gw'
Making install in gw
/bin/sh: line 17: cd: gw: No such file or directory
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/Gateway/trunk/gw'
make: *** [install-recursive] Error 1
[root@localhost trunk]#

so now please help me to solve this problem.



--
Thanks  Regards,

-Vijay Kumar Dadhich



RE: SQLBOX installation problem;

2012-02-15 Thread Ahmed Shabana
Try ./configure --help 
And use the option which include gw lib dir .

Best Regards,

Ahmed Shabana| System Engineer | Creative Communication Solutions
Skype_id : AhmedShabana2000


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Vijay kumar Dadhich
Sent: Wednesday, February 15, 2012 2:49 PM
To: users@kannel.org
Subject: SQLBOX installation problem;

Helllo to all,
 I am using kannel-1.4.3 version,and i install kannel with 
mysql storage and this is running successfully. but when i want to instal the 
SQLBOX then i face a issue imentioned the logs below. i use this process in 
trunk folder.
./bootstrap
./configuer
make
make install

logs are like this

[root@localhost trunk]# make
make  all-recursive
make[1]: Entering directory `/usr/local/Gateway/sqlbox/trunk'
Making all in gw
make[2]: Entering directory `/usr/local/Gateway/sqlbox/trunk/gw'
cd ..  /bin/sh ./config.status sb-config.h
config.status: creating sb-config.h
config.status: sb-config.h is unchanged
make[3]: Entering directory `/usr/local/Gateway/sqlbox/trunk/gw'
cd ..  /bin/sh ./config.status sb-config.h
config.status: creating sb-config.h
config.status: sb-config.h is unchanged
make[3]: Leaving directory `/usr/local/Gateway/sqlbox/trunk/gw'
make  all-recursive
make[3]: Entering directory `/usr/local/Gateway/sqlbox/trunk/gw'
Making all in gw
/bin/sh: line 17: cd: gw: No such file or directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/Gateway/sqlbox/trunk/gw'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/Gateway/sqlbox/trunk/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/Gateway/sqlbox/trunk'
make: *** [all] Error 2
[root@localhost trunk]# make install
Making install in gw
make[1]: Entering directory `/usr/local/Gateway/sqlbox/trunk/gw'
Making install in gw
/bin/sh: line 17: cd: gw: No such file or directory
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/Gateway/sqlbox/trunk/gw'
make: *** [install-recursive] Error 1
[root@localhost trunk]#

kindly help me to solve this problem.


--
Thanks  Regards,

-Vijay Kumar Dadhich



RE: pbs with accent with kannel SMPP and OPENSMPPBOX

2012-02-13 Thread Ahmed Shabana
I think it may be the BB link that you bind the openSmppBox should have a field 
called alt-charset = LATIN1


Best Regards,

Ahmed Shabana| System Engineer | Creative Communication Solutions
Egypt Cell +20 (10) 3325373 | KSA Cell +966 (50) 0259791   
Skype_id : AhmedShabana2000

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
info.ubic...@free.fr
Sent: Monday, February 13, 2012 3:45 PM
To: users@kannel.org
Subject: pbs with accent with kannel SMPP and OPENSMPPBOX

Hello,

I posted a previous issue, I solved it, this one is a new one : it is a problem 
with accent, some of accent èéùìòÇÉ€à are shown as ? on the mobile. 


I got the following architecture :
  - kannel 1.5.0 (compile with mysql from last SVN)
  - opensmppbox coming from the addons in the above svn

I want to have a kannel machine acting as a SMPP server and then sent traffic 
to other kannel gw.

SMPP client - kannel SMPP Server - Kannel GW[1..4]

The kannel SMPP server got connection to Kannel GW1 with SMPP configuration.




The kannel SMPP server is acting as a load balancer between the final Kannel GW.



It looks the encoding format is not well recognized :


I saw the SMPP client is sending ISO8859 caracters but it looks the data.coding 
value is still 0 which means GSM alphabet. Does there is anything to force in 
the opensmppbox or SMPP client configuration ?


Thanks in advance for your answer


2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP PDU dump ends.
2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00)
2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00)
2012-02-10 17:02:24 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence 
at position 12, skeep it.
2012-02-10 17:02:24 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence 
at position 13, skeep it.
2012-02-10 17:02:24 [1615] [6] WARNING: Invalid/Incomplete multibyte sequence 
at position 14, skeep it.
2012-02-10 17:02:24 [1615] [6] DEBUG: Found an invalid multibyte sequence at 
position 15
2012-02-10 17:02:24 [1615] [6] DEBUG: new group created `smpp'
2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: Sending PDU:
2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP PDU 0x9609d58 dump:
2012-02-10 17:02:24 [1615] [6] DEBUG:   type_name: submit_sm
2012-02-10 17:02:24 [1615] [6] DEBUG:   command_id: 4 = 0x0004
2012-02-10 17:02:24 [1615] [6] DEBUG:   command_status: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   sequence_number: 47 = 0x002f
2012-02-10 17:02:24 [1615] [6] DEBUG:   service_type: NULL
2012-02-10 17:02:24 [1615] [6] DEBUG:   source_addr_ton: 5 = 0x0005
2012-02-10 17:02:24 [1615] [6] DEBUG:   source_addr_npi: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   source_addr: hcn1
2012-02-10 17:02:24 [1615] [6] DEBUG:   dest_addr_ton: 2 = 0x0002
2012-02-10 17:02:24 [1615] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2012-02-10 17:02:24 [1615] [6] DEBUG:   destination_addr: 0033629814865
2012-02-10 17:02:24 [1615] [6] DEBUG:   esm_class: 3 = 0x0003
2012-02-10 17:02:24 [1615] [6] DEBUG:   protocol_id: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   priority_flag: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   schedule_delivery_time: NULL
2012-02-10 17:02:24 [1615] [6] DEBUG:   validity_period: NULL
2012-02-10 17:02:24 [1615] [6] DEBUG:   registered_delivery: 1 = 0x0001
2012-02-10 17:02:24 [1615] [6] DEBUG:   replace_if_present_flag: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   data_coding: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2012-02-10 17:02:24 [1615] [6] DEBUG:   sm_length: 15 = 0x000f
2012-02-10 17:02:24 [1615] [6] DEBUG:   short_message:
2012-02-10 17:02:24 [1615] [6] DEBUG:Octet string at 0x960a2c8:
2012-02-10 17:02:24 [1615] [6] DEBUG:  len:  15
2012-02-10 17:02:24 [1615] [6] DEBUG:  size: 16
2012-02-10 17:02:24 [1615] [6] DEBUG:  immutable: 0
2012-02-10 17:02:24 [1615] [6] DEBUG:  data: 74 65 73 74 20 73 66 72 20 38 
3a 20 e2 82 ac  test sfr 8: ...
2012-02-10 17:02:24 [1615] [6] DEBUG:Octet string dump ends.
2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP PDU dump ends.
2012-02-10 17:02:24 [1615] [6] DEBUG: SMPP[laurel]: throughput limit exceeded 
(1.00,1.00)
2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00)
2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: Got PDU:
2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP PDU 0x95b3ea0 dump:
2012-02-10 17:02:25 [1615] [6] DEBUG:   type_name: enquire_link_resp
2012-02-10 17:02:25 [1615] [6] DEBUG:   command_id: 2147483669 = 0x8015
2012-02-10 17:02:25 [1615] [6] DEBUG:   command_status: 0 = 0x
2012-02-10 17:02:25 [1615] [6] DEBUG:   sequence_number: 46 = 0x002e
2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP PDU dump ends.
2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput (0.00,1.00)
2012-02-10 17:02:25 [1615] [6] DEBUG: SMPP[laurel]: throughput

RE: Regarding Open smpp problem;

2012-02-09 Thread Ahmed Shabana
Put the opensmpp config in a separate file and append in the first of it this 
line
Include = PATH/TO/BEARERBOX_CONF_FILE

Best Regards,

Ahmed Shabana| System Engineer | Creative Communication Solutions
Egypt Cell +20 (10) 3325373 | KSA Cell +966 (50) 0259791   
Skype_id : AhmedShabana2000

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Vijay kumar Dadhich
Sent: Saturday, July 09, 2011 7:43 PM
To: users@kannel.org
Subject: Regarding Open smpp problem;

-- Forwarded message --
From: Vijay kumar Dadhich vk1dadh...@gmail.com
Date: Sat, Jul 9, 2011 at 10:12 PM
Subject: Regarding Open smpp problem;
To: rajat goyal rajat.go...@grras.com
Cc: akhilesh.jain akhilesh.j...@grras.com


Hello,
I  face this problem from last weak,my work is completeed. on this project.
when execute rhis command
location = /usr/local/sbin
./opensmppbox
PANIC: No 'opensmppbox' group in configuration

my opensmpp file looking like as

group = core
 dlr-storage = mysql

 group = mysql-connection
 id = mydlr
 host = localhost
 username = gebruikersnaam
 password = geheimwoord
 database = tekstberichten
 max-connections = 10

 group = dlr-db
 id = mydlr
 table=verslag
 field-smsc=smsc
 field-timestamp=timestamp
 field-destination=destination
 field-source=source
 field-service=service
 field-url=url
 field-mask=mask
 field-status=status
 field-boxc-id=boxc-id

 group = opensmppbox
 opensmppbox-id = smppbox
 opensmppbox-port = 8000
 bearerbox-host = localhost
 bearerbox-port = 13003
 log-level = 0
 log-file = /var/log/kannel/opensmppbox.log
 our-system-id = opensmppid
 route-to-smsc = fc
 smpp-logins = /usr/local/kannel.1.5/smpplogins.txt



Vijay Kr. Dadhich



-- 
Vijay Kr. Dadhich




bind to Opensmppbox fail !!

2012-02-09 Thread Ahmed Shabana
I am just installed the smppbox
And cannot bind to it , it gives me this error in bind

   type_name: bind_transceiver_resp
   command_id: 2147483657 = 0x8009
   command_status: 13 = 0x000d

I installed the last version of gateway and opensmppbox from (svn.kannel.org) 
and this is the conf file that I use

include = kannel.conf.2
# Proxy configuration
group = opensmppbox
bearerbox-host = 127.0.0.1
bearerbox-port = 53001
opensmppbox-id = smppbox1
opensmppbox-port = 13001
#log-file = /var/log/kannel/opensmppbox.log
log-level = 0
our-system-id = opensmppid
#Inaccess
# New accounts
smpp-logins=SMPPClients.txt

and

vim SMPPClients.txt
shabana shabana mainbox1*.*.*.*

have anyone face this issue  ?


Best Regards,

Ahmed Shabana| System Engineer | Creative Communication Solutions
Skype_id : AhmedShabana2000

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Rene Kluwen
Sent: Friday, December 09, 2011 2:13 PM
To: 'Otandeka Simon Peter'
Cc: 'Kannel Users'
Subject: RE: Opensmppbox throughput

Onfurtunately, this isn't possible.

From: Otandeka Simon Peter [mailto:sotand...@gmail.com]
Sent: Thursday, 08 December, 2011 14:56
To: Rene Kluwen
Cc: Kannel Users
Subject: Opensmppbox throughput


Hi Rene,

Is it possible to configure a throughput for each smppbox login created?
Or can there be a limit on each login created?

Thanks,
Peter.


Compilation Error .

2012-02-08 Thread Ahmed Shabana
Dear Developers ,
Have a nice day
I face this issue today while compiling kannel gateway from  svn.kannel.org

# make
byacc -d -p ws_yy_ wmlscript/wsgram.y  mv y.tab.c wmlscript/wsgram.c
byacc: e - line 111 of wmlscript/wsgram.y, syntax error
%pure-parser
^
make: *** [wmlscript/wsgram.c] Error 1

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions




RE: Compilation Error .

2012-02-08 Thread Ahmed Shabana
Seems that I am the first one have this issue ? !!

Best Regards,

Ahmed Shabana| System Engineer | Creative Communication Solutions
Skype_id : AhmedShabana2000

From: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf Of 
Ahmed Shabana
Sent: Wednesday, February 08, 2012 12:15 PM
To: de...@kannel.org
Cc: users@kannel.org
Subject: Compilation Error .

Dear Developers ,
Have a nice day
I face this issue today while compiling kannel gateway from  svn.kannel.org

# make
byacc -d -p ws_yy_ wmlscript/wsgram.y  mv y.tab.c wmlscript/wsgram.c
byacc: e - line 111 of wmlscript/wsgram.y, syntax error
%pure-parser
^
make: *** [wmlscript/wsgram.c] Error 1

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions




RE: kannel SMPP and USSD

2011-12-29 Thread Ahmed Shabana
Did any one worked before  with USSD in kannel ??

Best Regards,

Ahmed Shabana

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Anshu Sah
Sent: Tuesday, December 27, 2011 9:08 AM
To: users; Platinum 2010; Nikos Balkanas
Subject: kannel SMPP and USSD

Hi,

I would like to understand more about USSD and Kannel. Will you guide me.


Regards
Anshu Sah


RE: Help store DLR REPORTS‏

2011-12-26 Thread Ahmed Shabana
I used 7 and work with me

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
mohamed keita
Sent: Friday, December 23, 2011 1:05 AM
To: users kannel
Subject: Help store DLR REPORTS‏

Hello

I found the problem. Read carefully the user guide on page 116(SMS Delivery 
reports). I just add  dlr-mask=31, in the url who permits to send a sms. Now i 
can store dlr on mysql.

thanks


RE: Kannel in Amazon cloud

2011-12-22 Thread Ahmed Shabana
Did any one establish site to site VPN from his amazon kannel ?

Best Regards,

Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Sixto L Santos
Sent: Wednesday, December 21, 2011 6:33 PM
To: 'Richard Crawshaw'; 'users@kannel.org'
Subject: RE: Kannel in Amazon cloud

Hello Richard,

I'm running Kannel on the Amazon cloud, and it's working really well.

Try installing the libxml2 development libraries by doing:

yum install libxml2-devel

Cheers,
Sixto

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Richard Crawshaw
Sent: Wednesday, December 21, 2011 12:06 PM
To: users@kannel.org
Subject: Kannel in Amazon cloud

Hi

Has anyone tried to get Kannel running on one of Amazon's cloud servers?

I'm currently having problems getting ./configure to run happily.  It's 
complaining about the lack of libxml2; the server confirms that it's installed, 
but I can't locate it.

Regards
Richard


Richard Crawshaw
Software Developer


[www.the-contactgroup.com]http://www.the-contactgroup.com



Contact Group
Telephone (UK): 0844 448 4422
Telephone (ROI): 0818 286 795
Mobile : 0786 625 9418
Direct Facsimile: 0844 448 9090
Email: 
richard.craws...@the-contactgroup.commailto:richard.craws...@the-contactgroup.com
Web Site: www.the-contactgroup.comhttp://www.the-contactgroup.com
Twitter: @contactgroup




EducationInvestor 
Awardshttp://www.the-contactgroup.com/news/latest-news/contact-group-wins-technology-supplier-of-the-year-at-the-educationinvestor-awards/
 - Technology Supplier of the Year 2011 WINNER




This e-mail is intended for the above named only. It may contain private and 
confidential information or material that is privileged. If it has come to you 
in error you must take no action based upon it, nor must you copy or show it to 
anyone. Please return the message immediately to 
postmas...@the-contactgroup.commailto:postmas...@the-contactgroup.com The 
Validity of any pricing information contained herein is 30 days unless 
otherwise stated. E  OE. Standard terms and conditions apply. Service by 
Truancy Call Ltd. Registered in England No. 4125665. Registered office: 
Lonsdale House, 52 Blucher Street, Birmingham, B1 1QU. Data Protection No. 
Z7911829


inline: image001.gif

RE: Help store DLR REPORTS

2011-12-22 Thread Ahmed Shabana
Dear ,  the 
 group = dlr-db
Is just used to store dlr till it returns from operator and once it return it 
will be deleted instantaneously .
Its mainly advantage is persistence keep DLR  till come from operator even if 
your kannel boxes  restarted .

Best Regards,
   
Egypt M +20 (10) 3325373    | Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791 

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Carlos Massoglia Lillo
Sent: Wednesday, December 21, 2011 8:11 PM
To: mohamed keita
Cc: users kannel
Subject: Re: Help store DLR REPORTS

You can use SQLBOX. It has two tables sent_sms and send_sms. In sent_sms table 
are saved the DLR automatically. 

best regards,

El mié, 21-12-2011 a las 13:43 +0100, mohamed keita escribió:
 Hello
 
 I read the documentation(user documentation) on dlr. I uninstalled and 
 recompiled kannel with  - with-mysql. Then I update my  core group by 
 adding dlr-storage = mysql. I added the following lines to my 
 configuration lines.
 
 # Configuration connection mysql
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = fyle
 database = kannel
 max-connections =2
 
 # Groupe dlr-db(stocker les informations sur les sms envoyés)
 
 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
 
 but i have no datas in my database.
 
 
 I have no data in my database.
 
 
 
 I
 
 
 
 field-boxc-id = boxc
 
 

--
Carlos Massoglia Lillo
Gerencia de Innovación y Desarrollo
MindFree Ingeniería Limitada
www.mindfree.cl




RE: Kannel in Amazon cloud

2011-12-22 Thread Ahmed Shabana
We used it really but some operator restrict the interesting traffic by using 
range of ports
And I could not found this feature in the openSwan .
Have you any idea ?

Best Regards,
   
Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373    | Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791 


-Original Message-
From: Singularnet [mailto:singular...@gmail.com] 
Sent: Thursday, December 22, 2011 2:04 PM
To: Ahmed Shabana; Sixto L Santos; Richard Crawshaw; users@kannel.org
Subject: Re: Kannel in Amazon cloud

VPN tools of amazon clouds are not as flexible as anyone want, so I would try 
using OpenSwan

On 12/22/11, Ahmed Shabana a.shab...@egyptnetwork.com wrote:
 Did any one establish site to site VPN from his amazon kannel ?

 Best Regards,

 Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
 Saudi STC Mobile + 966 500 259791

 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On 
 Behalf Of Sixto L Santos
 Sent: Wednesday, December 21, 2011 6:33 PM
 To: 'Richard Crawshaw'; 'users@kannel.org'
 Subject: RE: Kannel in Amazon cloud

 Hello Richard,

 I'm running Kannel on the Amazon cloud, and it's working really well.

 Try installing the libxml2 development libraries by doing:

 yum install libxml2-devel

 Cheers,
 Sixto

 From: users-boun...@vm1.kannel.org 
 [mailto:users-boun...@vm1.kannel.org] On Behalf Of Richard Crawshaw
 Sent: Wednesday, December 21, 2011 12:06 PM
 To: users@kannel.org
 Subject: Kannel in Amazon cloud

 Hi

 Has anyone tried to get Kannel running on one of Amazon's cloud servers?

 I'm currently having problems getting ./configure to run happily.  
 It's complaining about the lack of libxml2; the server confirms that 
 it's installed, but I can't locate it.

 Regards
 Richard


 Richard Crawshaw
 Software Developer


 [www.the-contactgroup.com]http://www.the-contactgroup.com



 Contact Group
 Telephone (UK): 0844 448 4422
 Telephone (ROI): 0818 286 795
 Mobile : 0786 625 9418
 Direct Facsimile: 0844 448 9090
 Email:
 richard.craws...@the-contactgroup.commailto:richard.crawshaw@the-cont
 actgroup.com Web Site: 
 www.the-contactgroup.comhttp://www.the-contactgroup.com
 Twitter: @contactgroup




 EducationInvestor
 Awardshttp://www.the-contactgroup.com/news/latest-news/contact-group-
 wins-technology-supplier-of-the-year-at-the-educationinvestor-awards/
 - Technology Supplier of the Year 2011 WINNER




 This e-mail is intended for the above named only. It may contain 
 private and confidential information or material that is privileged. 
 If it has come to you in error you must take no action based upon it, 
 nor must you copy or show it to anyone. Please return the message 
 immediately to 
 postmas...@the-contactgroup.commailto:postmas...@the-contactgroup.com
  The Validity of any pricing information contained herein is 30 days 
 unless otherwise stated. E  OE. Standard terms and conditions apply. Service 
 by Truancy Call Ltd. Registered in England No. 4125665. Registered office:
 Lonsdale House, 52 Blucher Street, Birmingham, B1 1QU. Data Protection No.
 Z7911829




--
Sent from my mobile device



RE: Send bulk SMS with higher rate

2011-12-22 Thread Ahmed Shabana

Hi Suranga Ranjith  ,

You can find some replies below





1. Is there a way to send bulk messages using Kannel with higher speed (using 
SMPP) and also for receive ?
Yes just you need an enterprise connection specially in a 
transportation layer just like SS7 or sigtrain
2. If I have a SMPP connection (I'm using SMPPSim) then what is the standard 
way to send sms form internal to ESME?
(Now I use cgi-bin URL for send sms from kannel to ESME)
SMPP
3. Is there a way to send sms using cgi-bin URL with a time interval like below 
example?
(Because I think, this is the way to send sms with higher rate if this is 
the standard way)
Of course if you have multi application that send to smsbox  it 
will be better .
cgi-bin/sendsms?from=66456to=111+222+333+444+555text=messageinterval=0.1
you can do that using this command $ export 
x=http://smshost:port/cgi-bin/sendsms?from=66456to=111+222+333+444+555text=message;
 ;
$ watch -n 1 'curl $x ; curl $x ;curl $x 2 /dev/null'
This will send 3 per second
4. If the way to send sms by calling the cgi-bin URL (form internal to ESME), 
what happens when it uses for bulk sms and if the URL string (QueryString) 
exceeded the limit?
You can get this data from ESME . and from your side you can split 
messages .
5. We can use fakesmsc in the following way, but it sends the same sms to same 
number, multiple times

fakesmsc -r port -i interval -m count from to text your message

Is there a way to send different sms with different from numbers using 
fakesmsc ?
For eg, using a file with recipient numbers

fakesmsc -r 13010 -i 0.1 -m 100 /root/from.number.list 5656 text 
/root/from.msg.list

(This can mimic different mobile users send different messages to a 
specific SMSC and they route all messages to the Kannel)

6. What is the maximum incoming rate and outgoing rate  (msg/sec) in Kannel or 
any idea about it or in experience?
I think it is strongly depends on the hardware .

Thank you!



RE: queue

2011-12-22 Thread Ahmed Shabana
You can First dump the message queue using /store-status Bearerbox command
Then stop the BB , and from its config file get the location of the store-file 
and remove it . and touch a new one
Last step start your kannel boxes again . and you can use the dumped queue to 
extract msgs you want and resend it again

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Naren Shakya
Sent: Monday, December 05, 2011 8:40 AM
To: users@kannel.org
Subject: queue

i ve problem in kannel that when connection the kannel push multiple push
message. how to control multiple message or more message message from queue
n how to flush the queue message if the connection down or slow

--
with regard,
Naren Shakya
Nyatapol Technologies Pvt Ltd.
Prasuti Marg, Thapathali.
Phone:977-1-4241113,4256239
mobile: 977-9841521876


RE: DLR rerouting for SMSC some disabled.

2011-11-01 Thread Ahmed Shabana
Enable the core access log and open it for track it will so much help in 
tracking the receive dlr 

Best Regards,
   
Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373    | Tel +20 (50) 2528897
Saudi M + 966 (54) 8065712 | Tel +966 (1) 4040638 

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
vamsi
Sent: Monday, October 31, 2011 8:04 PM
To: users@kannel.org
Subject: DLR rerouting for SMSC some disabled.

Hi! Users,


i installed  kannel 1.5.0  every thing  working  more than expected.
Successfully configured  mysql integration too . But  all the time when i am 
testing  my smsc  it it showing  some  messages like DLR rerouting to 
particular smsc is disabled. 

Please  help me out  to resolve this . Iam unable to get DLR's also . 

I am using REDHAT EL.5.

my configuration is like this :

 Default kannel configuration file
group = core
admin-port = 13000
admin-password = changemenow
status-password = new
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
smsbox-port = 13001
dlr-storage = mysql
#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

group = smsc
smsc = smpp
smsc-id = smsc1
host = xxx.xxx.xxx.xxx
port = 2001
interface-version = 34
#receive-port = 2005
transceiver-mode = 1
smsc-username = X
smsc-password = X
system-type =
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
throughput = 10
connect-allow-ip = *.*.*.*
keepalive = 50
msg-id-type = 0x01

group = smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
sendsms-port = 13004
global-sender = kunal


group = mysql-connection
id = mdlr
host = localhost
username = root
password = root123
database = kannel

group = dlr-db
id = mdlr
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

group = sendsms-user
username = tester
password = foobar










RE: Opensmppbox filter by sender address

2011-10-10 Thread Ahmed Shabana
I have the same issue , and need urgently to block some sender from send sms , 
can anyone help


From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Miranda Weasley
Sent: Tuesday, March 29, 2011 9:17 AM
To: users@kannel.org
Subject: Opensmppbox filter by sender address

Hello, Folks,

I configured kannel 1.5.0 to allow sending of messages as follow:


ESME = opensmppbox = sqlbox = bearerbox = external SMSCs

Is there any way to block SMS by sender address anywhere in this chain of boxes?

I know there are white-list-regex and black-list-regex in core group but it 
seems that those parameters are filtering the messages going in the opposite 
direction (from external SMSC to bearerbox) and I need to do filtering in 
direction indicated by =.

Best regards,
Miranda Weasley
ITProfStudio


EgyptNetwork Stand: TA-B1 , Pod B12 at Microsoft Space - Sheikh Saeed Hall 2
[http://webmail.egyptnetwork.com/Logo/gitex.jpg]


RE: Sending SMS using kannel

2011-09-14 Thread Ahmed Shabana
I do not think that kannel have a built in xml interface

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi M + 966 (54) 8065712 | Tel +966 (1) 4040638

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
michael osakede
Sent: Thursday, September 08, 2011 12:50 PM
To: users@kannel.org
Subject: Sending SMS using kannel

Hi,

I want to send the xml file below to kannel

SMS
message
senderMichael/sender
texttestmessage/text
/message
recipients
gsm id=123480/gsm
gsm id=123480/gsm
gsm id=123480/gsm
gsm id=123480/gsm
gsm id=123480/gsm
gsm id=123480/gsm
..
/recipients
/SMS

Is this possible?
How can i post this to kannel?

Regards,
Michael



RE: Kannel in free pascal

2011-04-10 Thread Ahmed Shabana
You can call kannel using http , review UG for more information



-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
roelangga
Sent: Friday, April 08, 2011 2:00 PM
To: users@kannel.org
Subject: Kannel in free pascal


hi guest, my name is roel, I want to ask the problems that I experienced was 
the use kannel in free pascal, is there anything that can help me to solve this 
problem ..? please help me because this for my final project,
--
View this message in context: 
http://old.nabble.com/Kannel-in-free-pascal-tp31351005p31351005.html
Sent from the Kannel - User mailing list archive at Nabble.com.





Rotate DLR table

2011-04-10 Thread Ahmed Shabana
Hi all
As day after day the DLR table size grow ,I want to make simple script that 
rotate the dlr table based on ts field
But I really have not idea about its format , It just a varchar(100) field ,and 
I have no idea about its format
Do u have any idea about this field format

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi M + 966 (54) 8065712 | Tel +966 (1) 4040638
MSN e...@egyptnetwork.commailto:e...@egyptnetwork.com

Meet us at:
[cid:image001.jpg@01CBF7A4.FEC1C4C0]mailto:sa...@egyptnetwork.com?subject=Gitex%20KSA%202011%20-%20Meeting%20Request

inline: image001.jpg

RE: Rotate DLR table

2011-04-10 Thread Ahmed Shabana
Yes I tried it and it gives me the format that you mentioned below
But really most of its values are some thing like this '-00-00 00:00:00' ?


From: Sayed Hadi Rastgou Haghi [mailto:hadi.rast...@gmail.com]
Sent: Sunday, April 10, 2011 7:28 PM
To: Ahmed Shabana
Subject: Re: Rotate DLR table

yes
a timestamp = date in seconds and you can use queries like ts = 2011-01-01 
00:00:00 and mysql handles it.
On Sun, Apr 10, 2011 at 9:38 PM, Ahmed Shabana 
a.shab...@egyptnetwork.commailto:a.shab...@egyptnetwork.com wrote:
Did you tried that before

--
   _   __   __ _   _
  /_\ | |__  _ __ ___   ___  __| | / _\ |__   __ _| |__   __ _ _ __   __ _
 //_\\| '_ \| '_ ` _ \ / _ \/ _` | \ \| '_ \ / _` | '_ \ / _` | '_ \ / _` |
/  _  \ | | | | | | | |  __/ (_| | _\ \ | | | (_| | |_) | (_| | | | | (_| |
\_/ \_/_| |_|_| |_| |_|\___|\__,_| \__/_| |_|\__,_|_.__/ \__,_|_| |_|\__,_|



From: Sayed Hadi Rastgou Haghi 
[mailto:hadi.rast...@gmail.commailto:hadi.rast...@gmail.com]
Sent: Sunday, April 10, 2011 6:42 PM
To: Ahmed Shabana
Subject: Re: Rotate DLR table

please change it to timestamp.
Some other fields need a review too.
On Sun, Apr 10, 2011 at 8:00 PM, Ahmed Shabana 
a.shab...@egyptnetwork.commailto:a.shab...@egyptnetwork.com wrote:
Hi all
As day after day the DLR table size grow ,I want to make simple script that 
rotate the dlr table based on ts field
But I really have not idea about its format , It just a varchar(100) field ,and 
I have no idea about its format
Do u have any idea about this field format

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi M + 966 (54) 8065712 | Tel +966 (1) 4040638
MSN e...@egyptnetwork.commailto:e...@egyptnetwork.com

Meet us at:
[cid:image001.jpg@01CBF7B5.6A6BC4E0]mailto:sa...@egyptnetwork.com?subject=Gitex%20KSA%202011%20-%20Meeting%20Request




--
Sincerely,

Sayed Hadi Rastgou Haghi




--
Sincerely,

Sayed Hadi Rastgou Haghi

inline: image001.jpg

RE: Kannel access-log / sent SMS insert to MySQL?

2011-03-29 Thread Ahmed Shabana
Can not find any SQLBOX guide at user guide ,
Please could u provide us with any sqlbox guide

___
___  _  _   __   ___   __   _  _   __
/ __)( )( ) (  ) (  ,) (  ) ( \( ) (  )
\__ \ )__(  /__\  ) ,\ /__\  )  (  /__\
(___/(_)(_)(_)(_)(___/(_)(_)(_)\_)(_)(_)

Have fun. Don't forget to bookmark this website :)



From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
ha...@aeon.pk
Sent: Tuesday, March 29, 2011 11:34 AM
To: kurt.quehenber...@gmx.at
Cc: users@kannel.org
Subject: Re: Kannel access-log / sent SMS insert to MySQL?

Read SQLBOX from userguide.
On Tue, Mar 29, 2011 at 2:06 PM, Kurt Quehenberger 
kurt.quehenber...@gmx.atmailto:kurt.quehenber...@gmx.at wrote:
Dear all!

Has anybody an advice how to insert *sent* SMS from the KANNEL bearerbox into 
an MySQL Database?

For a simple test I defined the tag access-log in the core group:
group = core
...
access-log = var/log/kannel/access.log

The access.log file collects all sent/received SMS and looks like below:
2011-03-29 09:32:44 Log begins
2011-03-29 09:33:39 Receive SMS [SMSC:smsc-x] [SVC:] [ACT:] [BINF:] [FID:] 
[from:+43xxx] [to:+43yyy] [flags:-1:0:-1:0:-1] [msg:8:A Incoming] [udh:0:]
2011-03-29 09:33:41 Sent SMS [SMSC:smsc-x] [SVC:^[ ]*(a)[ ]*] [ACT:] [BINF:] 
[FID:] [from:+43] [to:+43xxx] [flags:-1:0:-1:-1:-1] [msg:31:Outgoing] 
[udh:0:]
2011-03-29 09:37:27 Log ends

But I need something similar to my received SMS Script:
---
That was an quite easy task, I did it via an cgi Script in the group = 
sms-service:
group = sms-service
keyword = A
get-url = 
http://hostname/cgi-bin/smsrxdb.cgi?time=%trx_phonenr=%ptx_phonenr=%Psendsms_user=%ntext=%ahttp://hostname/cgi-bin/smsrxdb.cgi?time=%25trx_phonenr=%25ptx_phonenr=%25Psendsms_user=%25ntext=%25a
(=The script connects to a MySQL Database and inserts all the values into a 
sentsms table)
---

Thanks very much in advance for your help!!!
Kind regards,
Kurt



sqlbox starting issue ?

2011-03-29 Thread Ahmed Shabana
When I try to start the sqlbox the process start with this error and do not 
terminates

[root@cloned-KannelTest svn]# sqlbox /etc/kannel.conf.sql
2011-03-29 17:18:29 [14082] [0] INFO: Debug_lvl = -1, log_file = none, 
log_lvl = 0
2011-03-29 17:18:29 [14082] [0] DEBUG: Kannel sqlbox version `svn-r4879'.
Build `Mar 28 2011 15:44:29', compiler `4.1.2 20080704 (Red Hat 4.1.2-48)'.
System Linux, release 2.6.18-028stab070.14, version #1 SMP Thu Nov 18 16:05:10 
MSK 2010, machine i686.
Hostname cloned-KannelTest, IP 196.2.194.58.
Libxml version 2.6.26.
Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008.
Compiled with MySQL 5.0.77, using MySQL 5.0.77.
Using native malloc.

2011-03-29 17:18:29 [14082] [0] INFO: Starting to log to file 
/var/log/kannel/kannel-sqlbox.log level 0
2011-03-29 17:18:29 [14082] [0] INFO: Added logfile 
`/var/log/kannel/kannel-sqlbox.log' with level `0'.
2011-03-29 17:18:29 [14082] [0] INFO: MYSQL: Connected to server at localhost.
2011-03-29 17:18:29 [14082] [0] INFO: MYSQL: server version 5.0.77, client 
version 5.0.77.
2011-03-29 17:18:29 [14082] [0] ERROR: Could not create new thread.
2011-03-29 17:18:29 [14082] [0] ERROR: System error 12: Cannot allocate memory


This is the system memory status :
[root@cloned-KannelTest svn]# free -m
 total   used   free sharedbuffers cached
Mem:  5525 34   5490  0  0  0
-/+ buffers/cache: 34   5490
Swap:0  0  0
[root@cloned-KannelTest svn]# df -Th
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/vzfs vzfs1.0G  650M  375M  64% /
none tmpfs1.8G  4.0K  1.8G   1% /dev

Have any one any idea that could solve this issue
___
___  _  _   __   ___   __   _  _   __
/ __)( )( ) (  ) (  ,) (  ) ( \( ) (  )
\__ \ )__(  /__\  ) ,\ /__\  )  (  /__\
(___/(_)(_)(_)(_)(___/(_)(_)(_)\_)(_)(_)

Have fun. Don't forget to bookmark this website :)



From: Kurt Quehenberger [mailto:kurt.quehenber...@gmx.at]
Sent: Tuesday, March 29, 2011 3:20 PM
To: Ahmed Shabana
Cc: ha...@aeon.pk; users@kannel.org
Subject: Re: Kannel access-log / sent SMS insert to MySQL?

You're absolutely right, Ahmed!
There's no information about sqlbox in the kannel userguide.
But I found that there's a documentation included in the source code, or just 
try the following link:
http://www.blogalex.com/archives/46

Best regards,
Kurt

Am 2011-03-29 12:47, schrieb Ahmed Shabana:
Can not find any SQLBOX guide at user guide ,
Please could u provide us with any sqlbox guide

___
___  _  _   __   ___   __   _  _   __
/ __)( )( ) (  ) (  ,) (  ) ( \( ) (  )
\__ \ )__(  /__\  ) ,\ /__\  )  (  /__\
(___/(_)(_)(_)(_)(___/(_)(_)(_)\_)(_)(_)

Have fun. Don't forget to bookmark this website :)



From: users-boun...@kannel.orgmailto:users-boun...@kannel.org 
[mailto:users-boun...@kannel.org] On Behalf Of 
ha...@aeon.pkmailto:ha...@aeon.pk
Sent: Tuesday, March 29, 2011 11:34 AM
To: kurt.quehenber...@gmx.atmailto:kurt.quehenber...@gmx.at
Cc: users@kannel.orgmailto:users@kannel.org
Subject: Re: Kannel access-log / sent SMS insert to MySQL?

Read SQLBOX from userguide.
On Tue, Mar 29, 2011 at 2:06 PM, Kurt Quehenberger 
kurt.quehenber...@gmx.atmailto:kurt.quehenber...@gmx.at wrote:
Dear all!

Has anybody an advice how to insert *sent* SMS from the KANNEL bearerbox into 
an MySQL Database?

For a simple test I defined the tag access-log in the core group:
group = core
...
access-log = var/log/kannel/access.log

The access.log file collects all sent/received SMS and looks like below:
2011-03-29 09:32:44 Log begins
2011-03-29 09:33:39 Receive SMS [SMSC:smsc-x] [SVC:] [ACT:] [BINF:] [FID:] 
[from:+43xxx] [to:+43yyy] [flags:-1:0:-1:0:-1] [msg:8:A Incoming] [udh:0:]
2011-03-29 09:33:41 Sent SMS [SMSC:smsc-x] [SVC:^[ ]*(a)[ ]*] [ACT:] [BINF:] 
[FID:] [from:+43] [to:+43xxx] [flags:-1:0:-1:-1:-1] [msg:31:Outgoing] 
[udh:0:]
2011-03-29 09:37:27 Log ends

But I need something similar to my received SMS Script:
---
That was an quite easy task, I did it via an cgi Script in the group = 
sms-service:
group = sms-service
keyword = A
get-url = 
http://hostname/cgi-bin/smsrxdb.cgi?time=%trx_phonenr=%ptx_phonenr=%Psendsms_user=%ntext=%ahttp://hostname/cgi-bin/smsrxdb.cgi?time=%25trx_phonenr=%25ptx_phonenr=%25Psendsms_user=%25ntext=%25a
(=The script connects to a MySQL Database and inserts all the values into a 
sentsms table)
---

Thanks very much in advance for your help!!!
Kind regards,
Kurt