Re: Kannel and SS7

2011-05-05 Thread Stipe Tolj

Am 04.05.2011 20:59, schrieb Juan Nin:

No, it can't


well, don't want to foul Juan hard here ;) but yes, it could.

There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP server 
on the one side, and inter-connects as own point code machine in the signaling 
network, performing the signal point resolution of the destination MSISDN and 
signaling the message to the phone.


So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
based side.


If not, then you need to develop a bearerbox module that talks the interface API 
of the signaling gateway to interact with it, which IS of course possible.


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
---



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Kannel and SS7

2011-05-05 Thread michael osakede
Hi Stipes,
Thanks for this, are there any commercial or open source bearerbox module for 
this?please assist with links for creating custom bearerbox modules.
thanksMichael

--- On Thu, 5/5/11, Stipe Tolj s...@tolj.org wrote:

From: Stipe Tolj s...@tolj.org
Subject: Re: Kannel and SS7
To: 
Cc: users@kannel.org users@kannel.org
Date: Thursday, May 5, 2011, 12:24 PM

Am 04.05.2011 20:59, schrieb Juan Nin:
 No, it can't

well, don't want to foul Juan hard here ;) but yes, it could.

There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
server on the one side, and inter-connects as own point code machine in the 
signaling network, performing the signal point resolution of the destination 
MSISDN and signaling the message to the phone.

So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
based side.

If not, then you need to develop a bearerbox module that talks the interface 
API of the signaling gateway to interact with it, which IS of course possible.

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
---



[Ticket #8] SMPP SQLBox

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:01 pm, sotand...@gmail.com wrote:
What version of Kannel did you install?  If you installed 1.5 version then
the folder it should be there.

Alternatively you can compile with the sources.  For example if your
download files were in  /usr/local/src/gateway/
You can run the configure command as * ./configure
--with-kannel-dir=/usr/local/src/gateway/ . *It should work.

P.


==Ticket History==

On May 05, 2011 @ 12:01 pm, ko...@babilon-m.tj wrote:
I`m download SQLBox and try to ./configure but in configure process I 
see this error:

checking for /usr/local/include/kannel/gw-config.h... no

I am check directory /usr/local/include/kannel/ but can`t find kannel 
directory.
But I have installing Kannel and connect to SMPP Gate to one of Mobile 
Operators.

How can I resolve this problem?

Komil

04.05.2011 10:56, Otandeka Simon Peter ?:
 Hi,

 You should install Kannel 1.5.0 and not 1.1.4 (if that version exists).

 SQLBox can be downloaded from svn.   Run the command svn co 
 https://svn.kannel.org/sqlbox/trunk sqlbox.

 P.

 On Tue, May 3, 2011 at 7:51 PM, Komil Gulboev ko...@babilon-m.tj 
 mailto:ko...@babilon-m.tj wrote:

 I am installing Kannel 1.1.4 and connect to one operators gateway
 but how can I send and receive message via operator SMPP gateway?
 Where can I download sqlbox?


 -- 
 Komil Gulboev

 System Administrator
 Automation Department
 CJSC Babilon-Mobile
 +992 91833 mobile
 +992 44672 phone




-- 
Komil Gulboev

System Administrator
Automation Department
CJSC Babilon-Mobile
+992 91833 mobile
+992 44672 phone

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/8



[Ticket #9] modem via ip

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:01 pm, cornejo.alv...@gmail.com wrote:
As stated in the UG , you just need to tell your smsc-at to use rawtcp
and specify ip/port for your device. Ip/port is whatever you set your
serial/ip converter to work with.

So just add

device = rawtcp
host = 10.10.5.3
port = 2100

to your smsc-at config


|-|
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.NET www.smsglobal.com.mx y
www.pravcom.com


==Ticket History==

On May 05, 2011 @ 12:01 pm, cornejo.alv...@gmail.com wrote:
read UG smsc-at section.

|-|
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.NET www.smsglobal.com.mx y
www.pravcom.com



On Wed, May 4, 2011 at 5:30 AM, Gil jpog...@gmail.com wrote:
 Hi,

 I have a Maestro GSM modem, with serial connection only, and a serial/IP
 convertor, connected to my network..

 My question is, if anyone have a similar environment, to answer some
 questions, like if u use rawtcp or telnet, and which ports do u use, and
 if u can show me a bit of your configuration, i would thanks a lot.

 Regards,
 João Gil




--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/9



[Ticket #8] SMPP SQLBox

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:01 pm, ko...@babilon-m.tj wrote:
I`m download SQLBox and try to ./configure but in configure process I 
see this error:

checking for /usr/local/include/kannel/gw-config.h... no

I am check directory /usr/local/include/kannel/ but can`t find kannel 
directory.
But I have installing Kannel and connect to SMPP Gate to one of Mobile 
Operators.

How can I resolve this problem?

Komil

04.05.2011 10:56, Otandeka Simon Peter ?:
 Hi,

 You should install Kannel 1.5.0 and not 1.1.4 (if that version exists).

 SQLBox can be downloaded from svn.   Run the command svn co 
 https://svn.kannel.org/sqlbox/trunk sqlbox.

 P.

 On Tue, May 3, 2011 at 7:51 PM, Komil Gulboev ko...@babilon-m.tj 
 mailto:ko...@babilon-m.tj wrote:

 I am installing Kannel 1.1.4 and connect to one operators gateway
 but how can I send and receive message via operator SMPP gateway?
 Where can I download sqlbox?


 -- 
 Komil Gulboev

 System Administrator
 Automation Department
 CJSC Babilon-Mobile
 +992 91833 mobile
 +992 44672 phone




-- 
Komil Gulboev

System Administrator
Automation Department
CJSC Babilon-Mobile
+992 91833 mobile
+992 44672 phone

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/8



[Ticket #10] test_ppg

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:02 pm, andrew.caru...@go.com.mt wrote:
Hi,

 

We're currently running Kannel Ver 1.4.3 and are trying to test WAP Push
using the test_ppg and test_http_server simulators.

 

Now, our question is, how can we confirm that the test is being carried
out end to end from the test_ppg (pi simulator) to the test_http_server
(smsc simulator) via wapbox?  That is, how can we confirm that a PI test
request is actually being proxied by the wapbox to the test_http_server?

 

We are questioning this because for both cases when the test_http_server
application is (i) running, and (ii) stopped, the same wapbox info (see
below) is provided on the debug screen:

 

16:30:19 [24694] [14] INFO: PPG: Accept request /wappush from
192.168.1.5
16:30:19 [24694] [14] INFO: client address was 213.243.140.102,
accepted
16:30:19 [24694] [14] INFO: PPG: handle_push_message: push message
accepted for processing

 

 

We have a hunch that the wapbox (as a http proxy) is replying back to
the test_ppg application with an Accept before it (the wapbox)
receives an Accept from the test_http_server application.

 

Any help is greatly appreciated.  

 

 

 

Kind regards,

 

 

 

Andrew  Deborah

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/10



[Ticket #8] SMPP SQLBox

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:02 pm, rene.klu...@chimit.nl wrote:
Did you make install from within your Kannel sources?

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org]


==Ticket History==

On May 05, 2011 @ 12:01 pm, sotand...@gmail.com wrote:
What version of Kannel did you install?  If you installed 1.5 version then
the folder it should be there.

Alternatively you can compile with the sources.  For example if your
download files were in  /usr/local/src/gateway/
You can run the configure command as * ./configure
--with-kannel-dir=/usr/local/src/gateway/ . *It should work.

P.

--
On May 05, 2011 @ 12:01 pm, ko...@babilon-m.tj wrote:
I`m download SQLBox and try to ./configure but in configure process I 
see this error:

checking for /usr/local/include/kannel/gw-config.h... no

I am check directory /usr/local/include/kannel/ but can`t find kannel 
directory.
But I have installing Kannel and connect to SMPP Gate to one of Mobile 
Operators.

How can I resolve this problem?

Komil

04.05.2011 10:56, Otandeka Simon Peter ?:
 Hi,

 You should install Kannel 1.5.0 and not 1.1.4 (if that version exists).

 SQLBox can be downloaded from svn.   Run the command svn co 
 https://svn.kannel.org/sqlbox/trunk sqlbox.

 P.

 On Tue, May 3, 2011 at 7:51 PM, Komil Gulboev ko...@babilon-m.tj 
 mailto:ko...@babilon-m.tj wrote:

 I am installing Kannel 1.1.4 and connect to one operators gateway
 but how can I send and receive message via operator SMPP gateway?
 Where can I download sqlbox?


 -- 
 Komil Gulboev

 System Administrator
 Automation Department
 CJSC Babilon-Mobile
 +992 91833 mobile
 +992 44672 phone




-- 
Komil Gulboev

System Administrator
Automation Department
CJSC Babilon-Mobile
+992 91833 mobile
+992 44672 phone

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/8



[Ticket #9] modem via ip

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:01 pm, cornejo.alv...@gmail.com wrote:
read UG smsc-at section.

|-|
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.NET www.smsglobal.com.mx y
www.pravcom.com



On Wed, May 4, 2011 at 5:30 AM, Gil jpog...@gmail.com wrote:
 Hi,

 I have a Maestro GSM modem, with serial connection only, and a serial/IP
 convertor, connected to my network..

 My question is, if anyone have a similar environment, to answer some
 questions, like if u use rawtcp or telnet, and which ports do u use, and
 if u can show me a bit of your configuration, i would thanks a lot.

 Regards,
 João Gil




--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/9



[Ticket #11] Kannel and SS7

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:02 pm, ire...@yahoo.com wrote:
Hi All,
Can kannel be used with an SS7 gateway as against the regular SMPP servers?
Please any help is welcome
Regards,Michael

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/11



[Ticket #9] modem via ip

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:11 pm, p...@itassistans.se wrote:
Please stop sending these to the kannel-users mailing list. You're flooding it 
with useless crap.

5 maj 2011 kl. 13.03 skrev IT:

 



==Ticket History==

On May 05, 2011 @ 12:01 pm, cornejo.alv...@gmail.com wrote:
As stated in the UG , you just need to tell your smsc-at to use rawtcp
and specify ip/port for your device. Ip/port is whatever you set your
serial/ip converter to work with.

So just add

device = rawtcp
host = 10.10.5.3
port = 2100

to your smsc-at config


|-|
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.NET www.smsglobal.com.mx y
www.pravcom.com

--
On May 05, 2011 @ 12:01 pm, cornejo.alv...@gmail.com wrote:
read UG smsc-at section.

|-|
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.NET www.smsglobal.com.mx y
www.pravcom.com



On Wed, May 4, 2011 at 5:30 AM, Gil jpog...@gmail.com wrote:
 Hi,

 I have a Maestro GSM modem, with serial connection only, and a serial/IP
 convertor, connected to my network..

 My question is, if anyone have a similar environment, to answer some
 questions, like if u use rawtcp or telnet, and which ports do u use, and
 if u can show me a bit of your configuration, i would thanks a lot.

 Regards,
 João Gil




--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/9



[Ticket #15] Kannel and SS7

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:16 pm, ire...@yahoo.com wrote:
Hi Stipes,
Thanks for this, are there any commercial or open source bearerbox module for 
this?please assist with links for creating custom bearerbox modules.
thanksMichael

--- On Thu, 5/5/11, Stipe Tolj s...@tolj.org wrote:

From: Stipe Tolj s...@tolj.org
Subject: Re: Kannel and SS7
To: 
Cc: users@kannel.org users@kannel.org
Date: Thursday, May 5, 2011, 12:24 PM

Am 04.05.2011 20:59, schrieb Juan Nin:
 No, it can't

well, don't want to foul Juan hard here ;) but yes, it could.

There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
server on the one side, and inter-connects as own point code machine in the 
signaling network, performing the signal point resolution of the destination 
MSISDN and signaling the message to the phone.

So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
based side.

If not, then you need to develop a bearerbox module that talks the interface 
API of the signaling gateway to interact with it, which IS of course possible.

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
---

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/15



Re: [Ticket #15] Kannel and SS7

2011-05-05 Thread Milan P. Stanic
Mailing list admin should block this e-mail address to prevent spam to
the list.

On Thu, 2011-05-05 at 12:16, IT wrote:
 This is a notification from the Help Desk.
 
 
 On May 05, 2011 @ 12:16 pm, ire...@yahoo.com wrote:
 Hi Stipes,
 Thanks for this, are there any commercial or open source bearerbox module for 
 this?please assist with links for creating custom bearerbox modules.
 thanksMichael
 
 --- On Thu, 5/5/11, Stipe Tolj s...@tolj.org wrote:
 
 From: Stipe Tolj s...@tolj.org
 Subject: Re: Kannel and SS7
 To: 
 Cc: users@kannel.org users@kannel.org
 Date: Thursday, May 5, 2011, 12:24 PM
 
 Am 04.05.2011 20:59, schrieb Juan Nin:
  No, it can't
 
 well, don't want to foul Juan hard here ;) but yes, it could.
 
 There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
 Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
 server on the one side, and inter-connects as own point code machine in the 
 signaling network, performing the signal point resolution of the destination 
 MSISDN and signaling the message to the phone.
 
 So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
 based side.
 
 If not, then you need to develop a bearerbox module that talks the interface 
 API of the signaling gateway to interact with it, which IS of course possible.
 
 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
 ---
 
 --
 This is an automated response.  Your issue has been noted.  We'll be in touch 
 soon.
 
 Please reply to this email or visit the URL below with any additional details.
 
 http://VM-Win-PC/portal/view-help-request/15
 


-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



[Ticket #15] Kannel and SS7

2011-05-05 Thread IT
This is a notification from the Help Desk.


On May 05, 2011 @ 12:21 pm, m...@arvanta.net wrote:
Mailing list admin should block this e-mail address to prevent spam to
the list.


==Ticket History==

On May 05, 2011 @ 12:16 pm, ire...@yahoo.com wrote:
Hi Stipes,
Thanks for this, are there any commercial or open source bearerbox module for 
this?please assist with links for creating custom bearerbox modules.
thanksMichael

--- On Thu, 5/5/11, Stipe Tolj s...@tolj.org wrote:

From: Stipe Tolj s...@tolj.org
Subject: Re: Kannel and SS7
To: 
Cc: users@kannel.org users@kannel.org
Date: Thursday, May 5, 2011, 12:24 PM

Am 04.05.2011 20:59, schrieb Juan Nin:
 No, it can't

well, don't want to foul Juan hard here ;) but yes, it could.

There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
server on the one side, and inter-connects as own point code machine in the 
signaling network, performing the signal point resolution of the destination 
MSISDN and signaling the message to the phone.

So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
based side.

If not, then you need to develop a bearerbox module that talks the interface 
API of the signaling gateway to interact with it, which IS of course possible.

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
---

--
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.

Please reply to this email or visit the URL below with any additional details.

http://VM-Win-PC/portal/view-help-request/15



Re: [Ticket #15] Kannel and SS7

2011-05-05 Thread Stipe Tolj

Am 05.05.2011 13:19, schrieb Milan P. Stanic:

Mailing list admin should block this e-mail address to prevent spam to
the list.


agree, I have removed the user from the list.

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
---



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Kannel and SS7

2011-05-05 Thread Juan Nin
Ok, but from Kannel's point of view it's still SMPP.
What I meant is that Kannel can not talk SS7 directly.   :)

On Thursday, May 5, 2011, Stipe Tolj s...@tolj.org wrote:
 Am 04.05.2011 20:59, schrieb Juan Nin:

 No, it can't


 well, don't want to foul Juan hard here ;) but yes, it could.

 There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
 Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
 server on the one side, and inter-connects as own point code machine in the 
 signaling network, performing the signal point resolution of the destination 
 MSISDN and signaling the message to the phone.

 So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
 based side.

 If not, then you need to develop a bearerbox module that talks the interface 
 API of the signaling gateway to interact with it, which IS of course possible.

 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: Kannel and SS7

2011-05-05 Thread Rene Kluwen
Chimit has developed an SS7 driver for CDMA, which can be adapted for GSM.
It's not cheap though. Info via me.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Juan Nin
Sent: Thursday, 05 May, 2011 15:26
To: Stipe Tolj
Cc: users@kannel.org
Subject: Re: Kannel and SS7

Ok, but from Kannel's point of view it's still SMPP.
What I meant is that Kannel can not talk SS7 directly.   :)

On Thursday, May 5, 2011, Stipe Tolj s...@tolj.org wrote:
 Am 04.05.2011 20:59, schrieb Juan Nin:

 No, it can't


 well, don't want to foul Juan hard here ;) but yes, it could.

 There are SS7 gateways that allow you to interface to it via SMPP v3.4.
So Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP
server on the one side, and inter-connects as own point code machine in the
signaling network, performing the signal point resolution of the destination
MSISDN and signaling the message to the phone.

 So the answer is: yes, if the signaling gateway acts as SMPP server on the
IP based side.

 If not, then you need to develop a bearerbox module that talks the
interface API of the signaling gateway to interact with it, which IS of
course possible.

 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
 ---






smime.p7s
Description: S/MIME cryptographic signature


SMS from sqlbox - Problem when sending more that 160 char with greek letters

2011-05-05 Thread Mike Nakos
Well, after many hours of digging, I found that sms is transmitted
perfectly if it has length up to 160 characters.
Note that, in kannel.conf on
group = smsc
section I use
alt-charset = UTF-8
and on db INSERT also (charset field).

But, as I figured out (smsccon.c - int smscconn_send(SMSCConn *conn,
Msg *msg)), when SMS has more than 160 characters then it changes path
and is transmitted data that comes from the below code:
parts = sms_split(msg, NULL, NULL, NULL, NULL, 1,
counter_increase(split_msg_counter)  0xff, 0xff,
conn-max_sms_octets);
which loses data with greek characters. That's because the data that
comes from sqlbox (for example for greek letter DELTA [Δ]) isn't utf-8
(which means U+0394 - ce 94) but ASCII value 0x10.
I won't examine why is this comes this way, but to I patched it for
myself (sms.c) so I have a workaround for it.
In a few words, when program flow comes into
extract_msgdata_part_by_coding() function and sms_msgdata_len()
function, thinks data is utf-8 but it is GSM encoded (Note that, all
characters that I insert INTO send_sms table are url-encoded ex.
%10%12 etc).
All the trick is done with functions charset_gsm_to_utf8() 
charset_utf8_to_gsm() at the points that have the remark text
// mnakos PATCH 2011-05-04 (concat problem fix)
I have the sms.c file attached. I hope it will by stayed attached and
save someone's desperate time like I was.


sms.c.gz
Description: GNU Zip compressed data


Re: SMS from sqlbox - Problem when sending more that 160 char with greek letters

2011-05-05 Thread Mike Nakos
Sorry for the mess on mailing list, but the previous mail (mail with the 
attachment) was referring the 1st email I sent on Apr 30 2011.


On 05/05/11 20:07, Mike Nakos wrote:

Well, after many hours of digging, I found that sms is transmitted
perfectly if it has length up to 160 characters.
Note that, in kannel.conf on
group = smsc
section I use
alt-charset = UTF-8
and on db INSERT also (charset field).

But, as I figured out (smsccon.c - int smscconn_send(SMSCConn *conn,
Msg *msg)), when SMS has more than 160 characters then it changes path
and is transmitted data that comes from the below code:
parts = sms_split(msg, NULL, NULL, NULL, NULL, 1,
 counter_increase(split_msg_counter)  0xff, 0xff,
conn-max_sms_octets);
which loses data with greek characters. That's because the data that
comes from sqlbox (for example for greek letter DELTA [Δ]) isn't utf-8
(which means U+0394 - ce 94) but ASCII value 0x10.
I won't examine why is this comes this way, but to I patched it for
myself (sms.c) so I have a workaround for it.
In a few words, when program flow comes into
extract_msgdata_part_by_coding() function and sms_msgdata_len()
function, thinks data is utf-8 but it is GSM encoded (Note that, all
characters that I insert INTO send_sms table are url-encoded ex.
%10%12 etc).
All the trick is done with functions charset_gsm_to_utf8()
charset_utf8_to_gsm() at the points that have the remark text
// mnakos PATCH 2011-05-04 (concat problem fix)
I have the sms.c file attached. I hope it will by stayed attached and
save someone's desperate time like I was.





Re: SMS from sqlbox - Problem when sending more that 160 char with greek letters

2011-05-05 Thread Nikos Balkanas
We are talking about charset encoding (ie Greek), not url-encoding.

BR,
Nikos

2011/5/5 Alejandro Guerrieri alejandro.guerri...@gmail.com

 Sqlbox url-encodes the content, and url-decodes when reading, so you
 shouldn't have any encoding issues with it.

 Regards,

 Alex

 On Thu, May 5, 2011 at 7:41 PM, Mike Nakos mike.na...@gmail.com wrote:

  Hi Niko,
 I surely agree with you and that's the last I wanted to do. It is not my
 style to make branches on the trunk.
 But I had no time to spend to investigate what's bothering sqlbox and
 doesn't give bb utf-8 data to handle.
 I want to check it on the future, but now I can't.
 My only need is to insert sms on DB, transmit them with bb and get any dlr
 back to DB.

 Sincerely yours
 Mike Nakos


 On 05/05/11 20:28, Nikos Balkanas wrote:

 Hi Mike,

  I believe i first alerted you to the fact that it is an encoding
 problem. But from what you describe, you are doing the wrong thing. It is
 not a bb issue, and changing it could create problems with smsbox and kannel
 spec. The standard communication between boxes for kannel is UTF-8 (for
 non-unicode charsets). If sqlbox doesn't do it, it is in violation and
 sqlbox should be patched.

  BR,
 Nikos

 On Thu, May 5, 2011 at 8:13 PM, Mike Nakos mike.na...@gmail.com wrote:

 Sorry for the mess on mailing list, but the previous mail (mail with the
 attachment) was referring the 1st email I sent on Apr 30 2011.


 On 05/05/11 20:07, Mike Nakos wrote:

 Well, after many hours of digging, I found that sms is transmitted
 perfectly if it has length up to 160 characters.
 Note that, in kannel.conf on
 group = smsc
 section I use
 alt-charset = UTF-8
 and on db INSERT also (charset field).

 But, as I figured out (smsccon.c - int smscconn_send(SMSCConn *conn,
 Msg *msg)), when SMS has more than 160 characters then it changes path
 and is transmitted data that comes from the below code:
 parts = sms_split(msg, NULL, NULL, NULL, NULL, 1,
 counter_increase(split_msg_counter)  0xff, 0xff,
 conn-max_sms_octets);
 which loses data with greek characters. That's because the data that
 comes from sqlbox (for example for greek letter DELTA [Δ]) isn't utf-8
 (which means U+0394 - ce 94) but ASCII value 0x10.
 I won't examine why is this comes this way, but to I patched it for
 myself (sms.c) so I have a workaround for it.
 In a few words, when program flow comes into
 extract_msgdata_part_by_coding() function and sms_msgdata_len()
 function, thinks data is utf-8 but it is GSM encoded (Note that, all
 characters that I insert INTO send_sms table are url-encoded ex.
 %10%12 etc).
 All the trick is done with functions charset_gsm_to_utf8()
 charset_utf8_to_gsm() at the points that have the remark text
 // mnakos PATCH 2011-05-04 (concat problem fix)
 I have the sms.c file attached. I hope it will by stayed attached and
 save someone's desperate time like I was.










Re: SMS from sqlbox - Problem when sending more that 160 char with greek letters

2011-05-05 Thread Mike Nakos
Of course and it url-encodes all msgdata stuff. But as I wrote below 
where I explained what I got on smscconn_send() function on smsccon.c 
file and
on sms_split() function on sms.c file, for example when I had greek 
letter DELTA, the value of it was 0x10. So, when data passes from 
charset_utf8_to_gsm() function, byte with value 0x10 turns to NRP.


source code part of charset.c line 338:

if(val1 = 255) {
val1 = latin1_to_gsm[val1];
/* needs to be escaped ? */
if(val1  0) {
octstr_append_char(newostr, 27);
val1 *= -1;
}
} else {

because latin1_to_gsm[] table assigns position 0x10 with NRP.

But, if I apply those changes I included on the attached sms.c file, 
msgdata is being converted to unicode format (charset_gsm_to_utf8() 
function - so my DELTA character converts to 0xce 0x94 2 byte values) 
and passes successfully from sms_msgdata_len() and 
extract_msgdata_part_by_coding() functions.


As I said to my very first post, am I doing something wrong?
But no one instructed me to do something better.
And as I said, this happens only when the sms exceeds 160 characters, so 
program follows different path (line 574 on smscconn.c


if (parts == NULL)
ret = conn-send_msg(conn, msg);
else {
long i, parts_len = gwlist_len(parts);  .. etc
).

Alex, have you tried to send sms with more than 160 characters 
containing at least one greek letter?
If you have and it works fine for you, then what do I make wrong? 
Please, let me know which parameters do I have to pay attention.


Best Regards
Mike Nakos


On 05/05/11 21:03, Alejandro Guerrieri wrote:
Sqlbox url-encodes the content, and url-decodes when reading, so you 
shouldn't have any encoding issues with it.


Regards,

Alex

On Thu, May 5, 2011 at 7:41 PM, Mike Nakos mike.na...@gmail.com 
mailto:mike.na...@gmail.com wrote:


Hi Niko,
I surely agree with you and that's the last I wanted to do. It is
not my style to make branches on the trunk.
But I had no time to spend to investigate what's bothering sqlbox
and doesn't give bb utf-8 data to handle.
I want to check it on the future, but now I can't.
My only need is to insert sms on DB, transmit them with bb and get
any dlr back to DB.

Sincerely yours
Mike Nakos


On 05/05/11 20:28, Nikos Balkanas wrote:

Hi Mike,

I believe i first alerted you to the fact that it is an encoding
problem. But from what you describe, you are doing the wrong
thing. It is not a bb issue, and changing it could create
problems with smsbox and kannel spec. The standard communication
between boxes for kannel is UTF-8 (for non-unicode charsets). If
sqlbox doesn't do it, it is in violation and sqlbox should be
patched.

BR,
Nikos

On Thu, May 5, 2011 at 8:13 PM, Mike Nakos mike.na...@gmail.com
mailto:mike.na...@gmail.com wrote:

Sorry for the mess on mailing list, but the previous mail
(mail with the attachment) was referring the 1st email I sent
on Apr 30 2011.


On 05/05/11 20:07, Mike Nakos wrote:

Well, after many hours of digging, I found that sms is
transmitted
perfectly if it has length up to 160 characters.
Note that, in kannel.conf on
group = smsc
section I use
alt-charset = UTF-8
and on db INSERT also (charset field).

But, as I figured out (smsccon.c - int
smscconn_send(SMSCConn *conn,
Msg *msg)), when SMS has more than 160 characters then it
changes path
and is transmitted data that comes from the below code:
parts = sms_split(msg, NULL, NULL, NULL, NULL, 1,
counter_increase(split_msg_counter)  0xff, 0xff,
conn-max_sms_octets);
which loses data with greek characters. That's because
the data that
comes from sqlbox (for example for greek letter DELTA
[Δ]) isn't utf-8
(which means U+0394 - ce 94) but ASCII value 0x10.
I won't examine why is this comes this way, but to I
patched it for
myself (sms.c) so I have a workaround for it.
In a few words, when program flow comes into
extract_msgdata_part_by_coding() function and
sms_msgdata_len()
function, thinks data is utf-8 but it is GSM encoded
(Note that, all
characters that I insert INTO send_sms table are
url-encoded ex.
%10%12 etc).
All the trick is done with functions charset_gsm_to_utf8()
charset_utf8_to_gsm() at the points that have the remark text
// mnakos PATCH 2011-05-04 (concat problem fix)
I have the sms.c file attached. I hope it will by stayed
attached and
save 

Re: SMS from sqlbox - Problem when sending more that 160 char with greek letters

2011-05-05 Thread Alejandro Guerrieri
The standard communication between boxes for kannel is UTF-8 (for
non-unicode charsets). If sqlbox doesn't do it, it is in violation and
sqlbox should be patched.

I was clarifying that sentence. There's no need to patch sqlbox.

2011/5/5 Nikos Balkanas nbalka...@gmail.com

 We are talking about charset encoding (ie Greek), not url-encoding.

 BR,
 Nikos

 2011/5/5 Alejandro Guerrieri alejandro.guerri...@gmail.com

 Sqlbox url-encodes the content, and url-decodes when reading, so you
 shouldn't have any encoding issues with it.

 Regards,

 Alex

 On Thu, May 5, 2011 at 7:41 PM, Mike Nakos mike.na...@gmail.com wrote:

  Hi Niko,
 I surely agree with you and that's the last I wanted to do. It is not my
 style to make branches on the trunk.
 But I had no time to spend to investigate what's bothering sqlbox and
 doesn't give bb utf-8 data to handle.
 I want to check it on the future, but now I can't.
 My only need is to insert sms on DB, transmit them with bb and get any
 dlr back to DB.

 Sincerely yours
 Mike Nakos


 On 05/05/11 20:28, Nikos Balkanas wrote:

 Hi Mike,

  I believe i first alerted you to the fact that it is an encoding
 problem. But from what you describe, you are doing the wrong thing. It is
 not a bb issue, and changing it could create problems with smsbox and kannel
 spec. The standard communication between boxes for kannel is UTF-8 (for
 non-unicode charsets). If sqlbox doesn't do it, it is in violation and
 sqlbox should be patched.

  BR,
 Nikos

 On Thu, May 5, 2011 at 8:13 PM, Mike Nakos mike.na...@gmail.com wrote:

 Sorry for the mess on mailing list, but the previous mail (mail with the
 attachment) was referring the 1st email I sent on Apr 30 2011.


 On 05/05/11 20:07, Mike Nakos wrote:

 Well, after many hours of digging, I found that sms is transmitted
 perfectly if it has length up to 160 characters.
 Note that, in kannel.conf on
 group = smsc
 section I use
 alt-charset = UTF-8
 and on db INSERT also (charset field).

 But, as I figured out (smsccon.c - int smscconn_send(SMSCConn *conn,
 Msg *msg)), when SMS has more than 160 characters then it changes path
 and is transmitted data that comes from the below code:
 parts = sms_split(msg, NULL, NULL, NULL, NULL, 1,
 counter_increase(split_msg_counter)  0xff, 0xff,
 conn-max_sms_octets);
 which loses data with greek characters. That's because the data that
 comes from sqlbox (for example for greek letter DELTA [Δ]) isn't utf-8
 (which means U+0394 - ce 94) but ASCII value 0x10.
 I won't examine why is this comes this way, but to I patched it for
 myself (sms.c) so I have a workaround for it.
 In a few words, when program flow comes into
 extract_msgdata_part_by_coding() function and sms_msgdata_len()
 function, thinks data is utf-8 but it is GSM encoded (Note that, all
 characters that I insert INTO send_sms table are url-encoded ex.
 %10%12 etc).
 All the trick is done with functions charset_gsm_to_utf8()
 charset_utf8_to_gsm() at the points that have the remark text
 // mnakos PATCH 2011-05-04 (concat problem fix)
 I have the sms.c file attached. I hope it will by stayed attached and
 save someone's desperate time like I was.











Configuring kannel with smpp

2011-05-05 Thread Vida Luz Arista
Hi all

I nee consult you something, I have a large account that would provide the
telephone company, em send the data to enable SMPP, you need some help

My kannel work fine using modem ZTE, but now I going to use the smpp
conection.

As I will not take the Modem, you should disable the section of SMSC?
I need help to configure smpp connection,

Thanking your kind attention.

Regards