Re: SMPP Server Setup

2010-09-06 Thread Innocent Muchedzi
When I start it, it doesnt have that Mysql line, are there any rpm's that 
support mysql 
  - Original Message - 
  From: Rene Kluwen 
  To: 'Innocent Muchedzi' ; us...@vm1.kannel.org 
  Sent: Sunday, September 05, 2010 1:07 PM
  Subject: RE: SMPP Server Setup


  If you start bearerbox, you will see something along what follows:

   

  Compiled with MySQL 5.0.77, using MySQL 5.0.77.

   

  == Rene

   

   

  From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Innocent Muchedzi
  Sent: Saturday, 04 September, 2010 13:39
  To: us...@vm1.kannel.org
  Subject: SMPP Server Setup

   

  Hie

   

  How can i tell or check that my kannel have support for Mysql DLR Storage. I 
m using kannel 1.4.3 on Fedora 11 which i installed using YUM

   

  thank you.


  -- 
  This message has been scanned for viruses and 
  dangerous content by 
  the BBI SMTP filter and is 
  believed to be clean. 

-- 
This message has been scanned for viruses and
dangerous content by the BBI SMTP filter, and is
believed to be clean.



Phones compatible for a SMSC

2010-09-06 Thread Praveena Sarathchandra
Hi,
Under compatible phones list (http://www.kannel.org/compatibility.shtml) Why
does Phones that works as SMSC's with Kannel list has few models listed?
Can't i setup a 2-way SMS gateway using other WAP devices?
Thanks\

Best Regards,

 Praveen


Nokia 2650 with Kannel

2010-09-06 Thread Praveena Sarathchandra
Hello,
Has anyone used Nokia 2650 successfully with Kannel?
Will this work with all the functionality?
Thanks in advance.

Best Regards,

  Praveena J. Sarathchandra
  Freelance Web Designer/Developer

  [...@] pravee...@gmail.com
  [M] +94-77-6275266
  [W] www.myBiz.lk


SMS and SMPP

2010-09-06 Thread dafodil

Hi List,
Good Day.
Just few questions...

In oder to send sms through kannel i need smpp prvider?
Can i be a provider?In other words cant i have my own setup so that i can be
provider for myself.
what do i need or need to have in setup so that i can be my
provider/carrier.
is it only smpp server needed?
Pls share with me what else needed?
where can i buy smpp server?
is logica's smpp stable one?
I read from forum that stipe our kannel architect maintains a server.what
should be the cost for this?
I need this because i dont want to be dependent upon carrier.
Could there be some other good alternative?
pls help me to understand this.


Br
daf
-- 
View this message in context: 
http://old.nabble.com/SMS-and-SMPP-tp29631938p29631938.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Nokia 2650 with Kannel

2010-09-06 Thread Emmanuel CHANSON
You have open 3 times a thread to ask almost the same question...

Not very usefull

2010/9/6 Praveena Sarathchandra pravee...@gmail.com

 Hello,
 Has anyone used Nokia 2650 successfully with Kannel?
 Will this work with all the functionality?
 Thanks in advance.

 Best Regards,

   Praveena J. Sarathchandra
   Freelance Web Designer/Developer

   [...@] pravee...@gmail.com
   [M] +94-77-6275266
   [W] www.myBiz.lk



Issue with UCP - reconnection problem

2010-09-06 Thread Bogdan Irimia
Hello

I'm reposting this same issue: I have a problem with the UCP connection:
- during normal operation, I get these messages every 10 minutes:
2010-08-30 15:57:09 [2280] [7] DEBUG: EMI2[vodafone-8878]: clear_sent called
2010-08-30 15:57:09 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to Primary 
SMSC
I suppose this is because the SMSC closes connection after 10 minutes of 
inactivity (according to Vodafone, with whom we are testing). I configured the 
account with keepalive = 50 but no improvement. But I am able to send and 
receive messages normally.
- after a while (2 or 3 days) I get these messages in the log:
2010-08-30 16:07:41 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to Primary 
SMSC
2010-08-30 16:08:02 [2280] [7] ERROR: connect failed
2010-08-30 16:08:02 [2280] [7] ERROR: System error 110: Connection timed out
2010-08-30 16:08:02 [2280] [7] ERROR: error connecting to server 
`217.10.194.192' at port `6001'
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: opening TCP 
connection to 217.10.194.192 failed
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: Couldn't connect to 
SMS center (retrying in 10 seconds).
During these messages, the port is in this state (using netstat):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1SYN_SENT
Also, with Wireshark I noticed that Kannel sends SYN packet to server port, the 
server returns SYN ACK, but Kannel does not return ACK. Thus, the connection 
isn't made successful.

So there are two questions:
- is it true that an UCP client should only connect when sending a message? 
during inactivity, connection can be closed, and any incoming messages could be 
received using receive-port?
- why does Kannel fails to reconnect after a while, due to failing in sending 
ACK message back to connecting port?

Thank you!



WAP Push

2010-09-06 Thread sapna singh
Hi,

Can any body give me sample of WAP Push Link.

Its really helpful for me.

-- 
Regards
Sapna


Re: WAP Push

2010-09-06 Thread KangMas Willy
The list archives is your friend :)



sangprabv
sangpr...@gmail.com
http://www.petitiononline.com/froyo/


On Sep 6, 2010, at 4:43 PM, sapna singh wrote:

 Hi,
  
 Can any body give me sample of WAP Push Link.
  
 Its really helpful for me.
 
 -- 
 Regards
 Sapna 




Re: Issue with UCP - reconnection problem

2010-09-06 Thread Nikos Balkanas

Hi,

I remember replying to you again.

1) No, it is not normal to close and open connections every time you have to 
send an SMS. In fact it wastes a lot of resources (sockets and CPU). Talk to 
VF, it is their issue.


2) Type:

netstat -a | grep vodafone-ip | wc -l

when having a problem. See if you are running low on sockets. See in what 
state they are left. If they are not closing sockets properly talk again to 
VF. In linux you can increase limit in ulimit.conf. In solaris use ndi. This 
(limits) is not a kannel issue but an OS one.


Finally if they don't clean up their act, try to restart kannel every 24 hrs 
from cron.


I hope i don't have to reply again about the same thing.

BR,
Nikos
- Original Message - 
From: Bogdan Irimia

To: users@kannel.org
Sent: Monday, September 06, 2010 12:06 PM
Subject: Issue with UCP - reconnection problem


Hello

I'm reposting this same issue: I have a problem with the UCP connection:
- during normal operation, I get these messages every 10 minutes:
2010-08-30 15:57:09 [2280] [7] DEBUG: EMI2[vodafone-8878]: clear_sent called
2010-08-30 15:57:09 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
Primary SMSC
I suppose this is because the SMSC closes connection after 10 minutes of 
inactivity (according to Vodafone, with whom we are testing). I configured 
the account with keepalive = 50 but no improvement. But I am able to send 
and receive messages normally.

- after a while (2 or 3 days) I get these messages in the log:
2010-08-30 16:07:41 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
Primary SMSC

2010-08-30 16:08:02 [2280] [7] ERROR: connect failed
2010-08-30 16:08:02 [2280] [7] ERROR: System error 110: Connection timed out
2010-08-30 16:08:02 [2280] [7] ERROR: error connecting to server 
`217.10.194.192' at port `6001'
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: opening TCP 
connection to 217.10.194.192 failed
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: Couldn't connect 
to SMS center (retrying in 10 seconds).

During these messages, the port is in this state (using netstat):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1SYN_SENT
Also, with Wireshark I noticed that Kannel sends SYN packet to server port, 
the server returns SYN ACK, but Kannel does not return ACK. Thus, the 
connection isn't made successful.


So there are two questions:
- is it true that an UCP client should only connect when sending a message? 
during inactivity, connection can be closed, and any incoming messages could 
be received using receive-port?
- why does Kannel fails to reconnect after a while, due to failing in 
sending ACK message back to connecting port?


Thank you! 





Re: SMS and SMPP

2010-09-06 Thread Nikos Balkanas

Hi,

Of course you need a provider (SMSc). Kannel is an ESME, not an SMSc. To be 
an SMSc, you need to talk HLR, SS7 and have allocated a good number of phone 
numbers to work with.


BR,
Nikos
- Original Message - 
From: dafodil neo.tu...@yahoo.com

To: users@kannel.org
Sent: Monday, September 06, 2010 10:43 AM
Subject: SMS and SMPP




Hi List,
Good Day.
Just few questions...

In oder to send sms through kannel i need smpp prvider?
Can i be a provider?In other words cant i have my own setup so that i can 
be

provider for myself.
what do i need or need to have in setup so that i can be my
provider/carrier.
is it only smpp server needed?
Pls share with me what else needed?
where can i buy smpp server?
is logica's smpp stable one?
I read from forum that stipe our kannel architect maintains a server.what
should be the cost for this?
I need this because i dont want to be dependent upon carrier.
Could there be some other good alternative?
pls help me to understand this.


Br
daf
--
View this message in context: 
http://old.nabble.com/SMS-and-SMPP-tp29631938p29631938.html

Sent from the Kannel - User mailing list archive at Nabble.com.







Re: Phones compatible for a SMSC

2010-09-06 Thread Nikos Balkanas

Hi,

Because these are just an example and list is not updated because of size 
restrictions. Basically any GSM modem or mobile w/modem will do, if they 
sport a serial or USB connection.


BR,
Nikos
- Original Message - 
From: Praveena Sarathchandra

To: users@kannel.org
Sent: Monday, September 06, 2010 10:28 AM
Subject: Phones compatible for a SMSC


Hi,
Under compatible phones list (http://www.kannel.org/compatibility.shtml) Why 
does Phones that works as SMSC's with Kannel list has few models listed?

Can't i setup a 2-way SMS gateway using other WAP devices?
Thanks\

Best Regards,

Praveen 





Re: Issue with UCP - reconnection problem

2010-09-06 Thread Bogdan Irimia

Dear Nikos

Thank you for your reply.
As I stated in the message, there is not a number of sockets issue, but an 
issue regarding the state of the socket.
The state the socket is in is SYN SENT, and even if SYN ACK message is sent 
back by SMSC (checket with Wireshark/tcpdump), Kannel does not send ACK. So 
it's not about the limits in ulimit.conf, it's an issue at socket protocol 
implementation.

Netstat gives the following output (not wc, of course):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1SYN_SENT


Regards,
Bogdan

--
From: Nikos Balkanas nbalka...@gmail.com
Sent: Monday, September 06, 2010 2:20 PM
To: Bogdan Irimia bog...@digitair.ro; users@kannel.org
Subject: Re: Issue with UCP - reconnection problem


Hi,

I remember replying to you again.

1) No, it is not normal to close and open connections every time you have 
to send an SMS. In fact it wastes a lot of resources (sockets and CPU). 
Talk to VF, it is their issue.


2) Type:

netstat -a | grep vodafone-ip | wc -l

when having a problem. See if you are running low on sockets. See in what 
state they are left. If they are not closing sockets properly talk again 
to VF. In linux you can increase limit in ulimit.conf. In solaris use ndi. 
This (limits) is not a kannel issue but an OS one.


Finally if they don't clean up their act, try to restart kannel every 24 
hrs from cron.


I hope i don't have to reply again about the same thing.

BR,
Nikos
- Original Message - 
From: Bogdan Irimia

To: users@kannel.org
Sent: Monday, September 06, 2010 12:06 PM
Subject: Issue with UCP - reconnection problem


Hello

I'm reposting this same issue: I have a problem with the UCP connection:
- during normal operation, I get these messages every 10 minutes:
2010-08-30 15:57:09 [2280] [7] DEBUG: EMI2[vodafone-8878]: clear_sent 
called
2010-08-30 15:57:09 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
Primary SMSC
I suppose this is because the SMSC closes connection after 10 minutes of 
inactivity (according to Vodafone, with whom we are testing). I configured 
the account with keepalive = 50 but no improvement. But I am able to send 
and receive messages normally.

- after a while (2 or 3 days) I get these messages in the log:
2010-08-30 16:07:41 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
Primary SMSC

2010-08-30 16:08:02 [2280] [7] ERROR: connect failed
2010-08-30 16:08:02 [2280] [7] ERROR: System error 110: Connection timed 
out
2010-08-30 16:08:02 [2280] [7] ERROR: error connecting to server 
`217.10.194.192' at port `6001'
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: opening TCP 
connection to 217.10.194.192 failed
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: Couldn't 
connect to SMS center (retrying in 10 seconds).

During these messages, the port is in this state (using netstat):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1 
SYN_SENT
Also, with Wireshark I noticed that Kannel sends SYN packet to server 
port, the server returns SYN ACK, but Kannel does not return ACK. Thus, 
the connection isn't made successful.


So there are two questions:
- is it true that an UCP client should only connect when sending a 
message? during inactivity, connection can be closed, and any incoming 
messages could be received using receive-port?
- why does Kannel fails to reconnect after a while, due to failing in 
sending ACK message back to connecting port?


Thank you!





Re: Issue with UCP - reconnection problem

2010-09-06 Thread Nikos Balkanas

Hi,

Sockets in kannel work fine for thousands of users. If the SMSc is right, 
troubleshoot your OS. Kannel doesn't do low-level I/O. It just opens the 
socket and the OS handles all TCP handshake.


This is not a kannel issue.

BR,
Nikos
- Original Message - 
From: Bogdan Irimia bog...@digitair.ro

To: Nikos Balkanas nbalka...@gmail.com; users@kannel.org
Sent: Monday, September 06, 2010 2:27 PM
Subject: Re: Issue with UCP - reconnection problem



Dear Nikos

Thank you for your reply.
As I stated in the message, there is not a number of sockets issue, but an 
issue regarding the state of the socket.
The state the socket is in is SYN SENT, and even if SYN ACK message is 
sent back by SMSC (checket with Wireshark/tcpdump), Kannel does not send 
ACK. So it's not about the limits in ulimit.conf, it's an issue at socket 
protocol implementation.

Netstat gives the following output (not wc, of course):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1 
SYN_SENT



Regards,
Bogdan

--
From: Nikos Balkanas nbalka...@gmail.com
Sent: Monday, September 06, 2010 2:20 PM
To: Bogdan Irimia bog...@digitair.ro; users@kannel.org
Subject: Re: Issue with UCP - reconnection problem


Hi,

I remember replying to you again.

1) No, it is not normal to close and open connections every time you have 
to send an SMS. In fact it wastes a lot of resources (sockets and CPU). 
Talk to VF, it is their issue.


2) Type:

netstat -a | grep vodafone-ip | wc -l

when having a problem. See if you are running low on sockets. See in what 
state they are left. If they are not closing sockets properly talk again 
to VF. In linux you can increase limit in ulimit.conf. In solaris use 
ndi. This (limits) is not a kannel issue but an OS one.


Finally if they don't clean up their act, try to restart kannel every 24 
hrs from cron.


I hope i don't have to reply again about the same thing.

BR,
Nikos
- Original Message - 
From: Bogdan Irimia

To: users@kannel.org
Sent: Monday, September 06, 2010 12:06 PM
Subject: Issue with UCP - reconnection problem


Hello

I'm reposting this same issue: I have a problem with the UCP connection:
- during normal operation, I get these messages every 10 minutes:
2010-08-30 15:57:09 [2280] [7] DEBUG: EMI2[vodafone-8878]: clear_sent 
called
2010-08-30 15:57:09 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
Primary SMSC
I suppose this is because the SMSC closes connection after 10 minutes of 
inactivity (according to Vodafone, with whom we are testing). I 
configured the account with keepalive = 50 but no improvement. But I am 
able to send and receive messages normally.

- after a while (2 or 3 days) I get these messages in the log:
2010-08-30 16:07:41 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
Primary SMSC

2010-08-30 16:08:02 [2280] [7] ERROR: connect failed
2010-08-30 16:08:02 [2280] [7] ERROR: System error 110: Connection timed 
out
2010-08-30 16:08:02 [2280] [7] ERROR: error connecting to server 
`217.10.194.192' at port `6001'
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: opening TCP 
connection to 217.10.194.192 failed
2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: Couldn't 
connect to SMS center (retrying in 10 seconds).

During these messages, the port is in this state (using netstat):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1 SYN_SENT
Also, with Wireshark I noticed that Kannel sends SYN packet to server 
port, the server returns SYN ACK, but Kannel does not return ACK. Thus, 
the connection isn't made successful.


So there are two questions:
- is it true that an UCP client should only connect when sending a 
message? during inactivity, connection can be closed, and any incoming 
messages could be received using receive-port?
- why does Kannel fails to reconnect after a while, due to failing in 
sending ACK message back to connecting port?


Thank you!






Re: smpp latin1 and greek chars....

2010-09-06 Thread Stelios Mavromichalis
hello Thano,

thank you for your answer!

one question, does this patch include a solution for the EURO sign as well,
vodafone greece has mapped it to 0x80 of the latin1 charset or you bypass it
with using windows-1252 as the alt-encoding smpp parameter?

kind regards,

/mstelios


Stelios Mavromichalis
Cytech Ltd. - http://www.cytech.gr/
Science  Technology Park of Crete
fax: +30 2810 39 1941
tel.: +30 2810 31 4127
mob.: +30 697 7078013
skype: mstelios


2010/9/3 Thanos Chatziathanassiou tcha...@arx.net

 Stelios Mavromichalis wrote:

 hello everyone,

 i have an smpp connection with alt-charset parameter set to latin1.

 the provider mapped the (missing from latin1) 10 capital greek letters
 included in the gsm charset into their exact same position in the latin1.
 meaning that for instance the greek capital letter Delta (Δ) is mapped on
 latin1 position 0x10 (which happens to be the exact same position in gsm
 charset).

 my problem is that i can't convince kannel 1.4.3 using it's http api to
 send any of those characters. it converts them to ? no matter what i do.

 simple patch to charset.c to let greek chars go through unaltered.
 ie. send %10 to the http interface to get Δ on the device.


 any ideas?

 kind regards,

 /mstelios


 Stelios Mavromichalis
 Cytech Ltd. - http://www.cytech.gr/
 Science  Technology Park of Crete
 fax: +30 2810 39 1941
 tel.: +30 2810 31 4127
 mob.: +30 697 7078013
 skype: mstelios





Re: smpp latin1 and greek chars....

2010-09-06 Thread Stelios Mavromichalis
hello Mike,

thank you for your answer!

i am suspecting that you leave the smpp connection to it's default charset
(that is gsm7), right?

this way, yes, greeks will do pass correctly however that does not stand for
many other gsm7 character, right?

yes, in most cases you won't need them but was looking for a completely
correct solution.

it seems, after reading Thanos' patch, that such solution is not possible
unless you patch kannel like Thanos suggested (was trying to avoid this).

kind regards,

/mstelios


Stelios Mavromichalis
Cytech Ltd. - http://www.cytech.gr/
Science  Technology Park of Crete
fax: +30 2810 39 1941
tel.: +30 2810 31 4127
mob.: +30 697 7078013
skype: mstelios


2010/9/3 Cariotoglou Mike m...@singular.gr

  talk about synchronicity!

 I just faced (and solved) the exact same issue.

 here is what to do :

 1. make sure that your message is encoded in WINDOWS-1253
 2. change all greek letters to upper case, no accent
 3. search the message, and replace ALL characters EXCEPT the 10 Greek
 characters, to their English equivalents

 so, Greek alpha 0xC1 becomes 0x41, BUT greek DELTA stays as it is !

 4. url-encode the text of the message

 5. add the following parameter to your HTTP GET API call :
 charset=WINDOWS-1253
 (so that Kannel understands the 10 greek characters)

 done !

 this worked for me, (30 minutes ago) just fine, for vodafone SMSC. it may
 work for the other providers as well, who knows...


 PS this procedure may also work if the message is encoded otherwise, e.g
 unicode, but I have not tested it. the main idea to keep is that you REPLACE
 all greek charcters EXCEPT the 10...


  --
 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Stelios Mavromichalis
 *Sent:* Friday, September 03, 2010 3:37 PM
 *To:* users@kannel.org
 *Subject:* smpp latin1 and greek chars

 hello everyone,

 i have an smpp connection with alt-charset parameter set to latin1.

 the provider mapped the (missing from latin1) 10 capital greek letters
 included in the gsm charset into their exact same position in the latin1.
 meaning that for instance the greek capital letter Delta (Δ) is mapped on
 latin1 position 0x10 (which happens to be the exact same position in gsm
 charset).

 my problem is that i can't convince kannel 1.4.3 using it's http api to
 send any of those characters. it converts them to ? no matter what i do.

 any ideas?

 kind regards,

 /mstelios


 Stelios Mavromichalis
 Cytech Ltd. - http://www.cytech.gr/
 Science  Technology Park of Crete
 fax: +30 2810 39 1941
 tel.: +30 2810 31 4127
 mob.: +30 697 7078013
 skype: mstelios




Re: smpp latin1 and greek chars....

2010-09-06 Thread Nikos Balkanas

Hi,

Sorry for budding in. I don't know what you mean by exactly correct 
solution, but in Greece we have been using an approach like Mike's for all 
this time. A GSM 7 alphabet, can only pass 127 values. You have to give 
support to all Latin 1 caps + printable symbols, which leaves 55 places for 
other GSM specific chars (lower case + non-printing). Of those 10 are used 
by the Greek special characters. Incidentally Delta corresponds either to 
linefeed or DLE (Data Link Escape), both not printing in the ascii table.


So, whatever you do, assuming that all other 55 places are covered by 
special GSM symbols, only 10 of those are lost. But then again there is a 
limit to the places you can use in a 7bit alphabet.


BR,
Nikos
- Original Message - 
From: Stelios Mavromichalis

To: Cariotoglou Mike
Cc: users@kannel.org
Sent: Monday, September 06, 2010 3:14 PM
Subject: Re: smpp latin1 and greek chars


hello Mike,

thank you for your answer!

i am suspecting that you leave the smpp connection to it's default charset 
(that is gsm7), right?


this way, yes, greeks will do pass correctly however that does not stand for 
many other gsm7 character, right?


yes, in most cases you won't need them but was looking for a completely 
correct solution.


it seems, after reading Thanos' patch, that such solution is not possible 
unless you patch kannel like Thanos suggested (was trying to avoid this).


kind regards,

/mstelios


Stelios Mavromichalis
Cytech Ltd. - http://www.cytech.gr/
Science  Technology Park of Crete
fax: +30 2810 39 1941
tel.: +30 2810 31 4127
mob.: +30 697 7078013
skype: mstelios



2010/9/3 Cariotoglou Mike m...@singular.gr

talk about synchronicity!

I just faced (and solved) the exact same issue.

here is what to do :

1. make sure that your message is encoded in WINDOWS-1253
2. change all greek letters to upper case, no accent
3. search the message, and replace ALL characters EXCEPT the 10 Greek 
characters, to their English equivalents


so, Greek alpha 0xC1 becomes 0x41, BUT greek DELTA stays as it is !

4. url-encode the text of the message

5. add the following parameter to your HTTP GET API call : 
charset=WINDOWS-1253

(so that Kannel understands the 10 greek characters)

done !

this worked for me, (30 minutes ago) just fine, for vodafone SMSC. it may 
work for the other providers as well, who knows...



PS this procedure may also work if the message is encoded otherwise, e.g 
unicode, but I have not tested it. the main idea to keep is that you REPLACE 
all greek charcters EXCEPT the 10...






From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of Stelios Mavromichalis

Sent: Friday, September 03, 2010 3:37 PM
To: users@kannel.org
Subject: smpp latin1 and greek chars


hello everyone,

i have an smpp connection with alt-charset parameter set to latin1.

the provider mapped the (missing from latin1) 10 capital greek letters 
included in the gsm charset into their exact same position in the latin1. 
meaning that for instance the greek capital letter Delta (Δ) is mapped on 
latin1 position 0x10 (which happens to be the exact same position in gsm 
charset).


my problem is that i can't convince kannel 1.4.3 using it's http api to send 
any of those characters. it converts them to ? no matter what i do.


any ideas?

kind regards,

/mstelios


Stelios Mavromichalis
Cytech Ltd. - http://www.cytech.gr/
Science  Technology Park of Crete
fax: +30 2810 39 1941
tel.: +30 2810 31 4127
mob.: +30 697 7078013
skype: mstelios 





Re: smpp latin1 and greek chars....

2010-09-06 Thread Kyriacos Sakkas
 Hi,

I think the problem was not stated properly, that is why their is some
confusion. In Greece Voda is updating its smscs.

The new smscs do not support GSM7. They are Latin1 based. In order for
them to allow transmision of the Greek Uppercase letters, as per GSM7,
the Greek Upper from GSM7 have been grafted on Latin1. All charcachters
that exist in both GSM7 and Latin1, retain their Latin1 possition. This
is their default encoding, ucs2 is supported if needed.

So when something is send to Kannel (I send utf-8 with all Latin-greek
equivalent changhed to latin, so a Greek Κ maps to Latin K but a greek
Δ  is send as a Δ) kannel sends it on as a GSM7 message.

This works fine now (and is the solution proposed by Mike), but on the
new system there is a problem, kannel will see a special char like $@
and a few others and map/send them in there GSM7 encoded form, while
they can only understand them in the Latin1 form, ending up as junk on
the phone.

They do the same to MO sms, but that is easier to handle by having some
mapping table in the application.

So the solution for their broken encoding is someway to tell kannel
not to touch the submitted message, submit Latin1 and pre-encode Greek
uppercase to GSM7. I use to do something similar back in the day, before
kannel started using iconv and doing the transcoding by itself, now we
need a way to bypass it.

Also according to Voda, if DCS is set to 2 then standard GSM7 can be
used, which means submitting to kannel in the encoding of your choice,
with all equivalent characters in their latin form, and letting kannel
do it's job as normal.


So other than the generic issue, for any that does not yet know how to,
of using GSM7 with kannel, for this specific issues their are two
possible solutions, cheating/skipping iconv or setting dcs=2.

Hope this helps in arriving to a working solution.

Regards,
Kyriacos Sakkas

On 06/09/2010 15:46, Nikos Balkanas wrote:
 Hi,

 Sorry for budding in. I don't know what you mean by exactly correct
 solution, but in Greece we have been using an approach like Mike's for
 all this time. A GSM 7 alphabet, can only pass 127 values. You have to
 give support to all Latin 1 caps + printable symbols, which leaves 55
 places for other GSM specific chars (lower case + non-printing). Of
 those 10 are used by the Greek special characters. Incidentally Delta
 corresponds either to linefeed or DLE (Data Link Escape), both not
 printing in the ascii table.

 So, whatever you do, assuming that all other 55 places are covered by
 special GSM symbols, only 10 of those are lost. But then again there
 is a limit to the places you can use in a 7bit alphabet.

 BR,
 Nikos
 - Original Message - From: Stelios Mavromichalis
 To: Cariotoglou Mike
 Cc: users@kannel.org
 Sent: Monday, September 06, 2010 3:14 PM
 Subject: Re: smpp latin1 and greek chars


 hello Mike,

 thank you for your answer!

 i am suspecting that you leave the smpp connection to it's default
 charset (that is gsm7), right?

 this way, yes, greeks will do pass correctly however that does not
 stand for many other gsm7 character, right?

 yes, in most cases you won't need them but was looking for a
 completely correct solution.

 it seems, after reading Thanos' patch, that such solution is not
 possible unless you patch kannel like Thanos suggested (was trying to
 avoid this).

 kind regards,

 /mstelios


 Stelios Mavromichalis
 Cytech Ltd. - http://www.cytech.gr/
 Science  Technology Park of Crete
 fax: +30 2810 39 1941
 tel.: +30 2810 31 4127
 mob.: +30 697 7078013
 skype: mstelios



 2010/9/3 Cariotoglou Mike m...@singular.gr

 talk about synchronicity!

 I just faced (and solved) the exact same issue.

 here is what to do :

 1. make sure that your message is encoded in WINDOWS-1253
 2. change all greek letters to upper case, no accent
 3. search the message, and replace ALL characters EXCEPT the 10 Greek
 characters, to their English equivalents

 so, Greek alpha 0xC1 becomes 0x41, BUT greek DELTA stays as it is !

 4. url-encode the text of the message

 5. add the following parameter to your HTTP GET API call :
 charset=WINDOWS-1253
 (so that Kannel understands the 10 greek characters)

 done !

 this worked for me, (30 minutes ago) just fine, for vodafone SMSC. it
 may work for the other providers as well, who knows...


 PS this procedure may also work if the message is encoded otherwise,
 e.g unicode, but I have not tested it. the main idea to keep is that
 you REPLACE all greek charcters EXCEPT the 10...





 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
 Behalf Of Stelios Mavromichalis
 Sent: Friday, September 03, 2010 3:37 PM
 To: users@kannel.org
 Subject: smpp latin1 and greek chars


 hello everyone,

 i have an smpp connection with alt-charset parameter set to latin1.

 the provider mapped the (missing from latin1) 10 capital greek letters
 included in the gsm charset into their exact same position in the
 latin1. meaning that 

Re: where to download Open smppbox

2010-09-06 Thread BeCauet
How do I know which version of Kannel smppbox R48 is compatible?

2010/9/2 Rene Kluwen rene.klu...@chimit.nl

  As said, you need svn trunk.

 Version 1.4.3 lacks some functionality that smppbox needs.



 == Rene





 *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On
 Behalf Of *Anshu Sah
 *Sent:* Thursday, 02 September, 2010 02:58

 *To:* Rene Kluwen
 *Cc:* users
 *Subject:* Re: where to download Open smppbox



 Hello Rene,

 I am using Kannel 1.4.3 On ubuntu 10, WITH AMD 64 Bit PC

 Regards
 Anshu

 On Thu, Sep 2, 2010 at 6:22 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

 Which version of Kannel did you install?

 You need svn trunk.



 == Rene





 *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On
 Behalf Of *Anshu Sah
 *Sent:* Thursday, 02 September, 2010 00:42


 *To:* Rene Kluwen
 *Cc:* users
 *Subject:* Re: where to download Open smppbox



 Hello Rene,

 The Configure command worked well after the command make install in the
 Kannel folder.

 But when i run make. It given the below error. Please suggest.

 --
 Regards
 Anshu

 r...@msclient5:/projects/kannel/SMPPBox# make
 make  all-recursive
 make[1]: Entering directory `/projects/kannel/SMPPBox'
 Making all in gw
 make[2]: Entering directory `/projects/kannel/SMPPBox/gw'
 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o
 smppbox.o smppbox.c; \
 then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f
 .deps/smppbox.Tpo; exit 1; fi
 smppbox.c:80:26: error: gw/meta_data.h: No such file or directory
 smppbox.c: In function ‘check_login’:
 smppbox.c:280: warning: ignoring return value of ‘fscanf’, declared with
 attribute warn_unused_result
 smppbox.c: In function ‘send_pdu’:
 smppbox.c:522: warning: passing argument 1 of ‘smpp_pdu_pack’ from
 incompatible pointer type
 /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct
 SMPP_PDU *’ but argument is of type ‘struct Octstr *’
 smppbox.c:522: error: too many arguments to function ‘smpp_pdu_pack’
 smppbox.c: In function ‘read_pdu’:
 smppbox.c:579: error: too many arguments to function ‘smpp_pdu_unpack’
 smppbox.c: In function ‘msg_to_pdu’:
 smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 5 has
 type ‘long int’
 smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 6 has
 type ‘long int’
 smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 5 has
 type ‘long int’
 smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 6 has
 type ‘long int’
 smppbox.c:722: error: too many arguments to function ‘dlr_find’
 smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format
 smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format
 smppbox.c:809: error: ‘struct deliver_sm’ has no member named ‘tlv’
 smppbox.c:809: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:821: error: ‘struct deliver_sm’ has no member named ‘tlv’
 smppbox.c:821: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:911: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:961: error: ‘struct deliver_sm’ has no member named ‘tlv’
 smppbox.c:961: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:972: error: ‘struct deliver_sm’ has no member named ‘tlv’
 smppbox.c:972: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c: In function ‘pdu_to_msg’:
 smppbox.c:1157: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:1158: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:1159: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:1159: error: ‘struct submit_sm’ has no member named ‘tlv’
 smppbox.c: In function ‘data_sm_to_msg’:
 smppbox.c:1312: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:1313: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:1314: error: ‘struct sms’ has no member named ‘meta_data’
 smppbox.c:1314: error: ‘struct data_sm’ has no member named ‘tlv’
 smppbox.c: In function ‘check_multipart’:
 smppbox.c:1358: warning: format ‘%d’ expects type ‘int’, but argument 4 has
 type ‘long int’
 smppbox.c:1374: warning: format ‘%d’ expects type ‘int’, but argument 4 has
 type ‘long int’
 smppbox.c: In function ‘bearerbox_to_smpp’:
 smppbox.c:1815: warning: format ‘%i’ expects type ‘int’, but argument 4 has
 type ‘long unsigned int’
 smppbox.c:1820: warning: format ‘%i’ expects type ‘int’, but argument 4 has
 type ‘long int’
 smppbox.c: In function ‘run_smppbox’:
 smppbox.c:1936: warning: cast from pointer to integer of different size
 smppbox.c: In function ‘wait_for_connections’:
 smppbox.c:1993: warning: cast to pointer from integer of different size
 smppbox.c: In function ‘smppboxc_run’:
 smppbox.c:2008: warning: cast from 

RE: Issue with UCP - reconnection problem

2010-09-06 Thread Rene Kluwen
Maybe a selinux issue? Just a wild guess.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Bogdan Irimia
Sent: Monday, 06 September, 2010 13:27
To: Nikos Balkanas; users@kannel.org
Subject: Re: Issue with UCP - reconnection problem

Dear Nikos

Thank you for your reply.
As I stated in the message, there is not a number of sockets issue, but an 
issue regarding the state of the socket.
The state the socket is in is SYN SENT, and even if SYN ACK message is sent 
back by SMSC (checket with Wireshark/tcpdump), Kannel does not send ACK. So 
it's not about the limits in ulimit.conf, it's an issue at socket protocol 
implementation.
Netstat gives the following output (not wc, of course):
tcp0  1 93.113.15.3:2878217.10.194.192:x11-1SYN_SENT


Regards,
Bogdan

--
From: Nikos Balkanas nbalka...@gmail.com
Sent: Monday, September 06, 2010 2:20 PM
To: Bogdan Irimia bog...@digitair.ro; users@kannel.org
Subject: Re: Issue with UCP - reconnection problem

 Hi,

 I remember replying to you again.

 1) No, it is not normal to close and open connections every time you have 
 to send an SMS. In fact it wastes a lot of resources (sockets and CPU). 
 Talk to VF, it is their issue.

 2) Type:

 netstat -a | grep vodafone-ip | wc -l

 when having a problem. See if you are running low on sockets. See in what 
 state they are left. If they are not closing sockets properly talk again 
 to VF. In linux you can increase limit in ulimit.conf. In solaris use ndi.

 This (limits) is not a kannel issue but an OS one.

 Finally if they don't clean up their act, try to restart kannel every 24 
 hrs from cron.

 I hope i don't have to reply again about the same thing.

 BR,
 Nikos
 - Original Message - 
 From: Bogdan Irimia
 To: users@kannel.org
 Sent: Monday, September 06, 2010 12:06 PM
 Subject: Issue with UCP - reconnection problem


 Hello

 I'm reposting this same issue: I have a problem with the UCP connection:
 - during normal operation, I get these messages every 10 minutes:
 2010-08-30 15:57:09 [2280] [7] DEBUG: EMI2[vodafone-8878]: clear_sent 
 called
 2010-08-30 15:57:09 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
 Primary SMSC
 I suppose this is because the SMSC closes connection after 10 minutes of 
 inactivity (according to Vodafone, with whom we are testing). I configured

 the account with keepalive = 50 but no improvement. But I am able to send 
 and receive messages normally.
 - after a while (2 or 3 days) I get these messages in the log:
 2010-08-30 16:07:41 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to 
 Primary SMSC
 2010-08-30 16:08:02 [2280] [7] ERROR: connect failed
 2010-08-30 16:08:02 [2280] [7] ERROR: System error 110: Connection timed 
 out
 2010-08-30 16:08:02 [2280] [7] ERROR: error connecting to server 
 `217.10.194.192' at port `6001'
 2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: opening TCP 
 connection to 217.10.194.192 failed
 2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: Couldn't 
 connect to SMS center (retrying in 10 seconds).
 During these messages, the port is in this state (using netstat):
 tcp0  1 93.113.15.3:2878217.10.194.192:x11-1 
 SYN_SENT
 Also, with Wireshark I noticed that Kannel sends SYN packet to server 
 port, the server returns SYN ACK, but Kannel does not return ACK. Thus, 
 the connection isn't made successful.

 So there are two questions:
 - is it true that an UCP client should only connect when sending a 
 message? during inactivity, connection can be closed, and any incoming 
 messages could be received using receive-port?
 - why does Kannel fails to reconnect after a while, due to failing in 
 sending ACK message back to connecting port?

 Thank you!
 






RE: where to download Open smppbox

2010-09-06 Thread Rene Kluwen
See the file UPGRADE in the open smppbox repository. It will tell you a 
specific date.

 

In short: If you use latest version of both kannel en open smppbox, you are 
safe.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
BeCauet
Sent: Monday, 06 September, 2010 19:00
To: users
Subject: Re: where to download Open smppbox

 

How do I know which version of Kannel smppbox R48 is compatible?

2010/9/2 Rene Kluwen rene.klu...@chimit.nl

As said, you need svn trunk.

Version 1.4.3 lacks some functionality that smppbox needs.

 

== Rene

 

 

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On 
Behalf Of Anshu Sah
Sent: Thursday, 02 September, 2010 02:58


To: Rene Kluwen
Cc: users
Subject: Re: where to download Open smppbox

 

Hello Rene,

I am using Kannel 1.4.3 On ubuntu 10, WITH AMD 64 Bit PC

Regards
Anshu

On Thu, Sep 2, 2010 at 6:22 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

Which version of Kannel did you install?

You need svn trunk.

 

== Rene

 

 

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On 
Behalf Of Anshu Sah
Sent: Thursday, 02 September, 2010 00:42


To: Rene Kluwen
Cc: users
Subject: Re: where to download Open smppbox

 

Hello Rene,

The Configure command worked well after the command make install in the Kannel 
folder.

But when i run make. It given the below error. Please suggest.

--
Regards
Anshu

r...@msclient5:/projects/kannel/SMPPBox# make
make  all-recursive
make[1]: Entering directory `/projects/kannel/SMPPBox'
Making all in gw
make[2]: Entering directory `/projects/kannel/SMPPBox/gw'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2 
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 
-I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o 
smppbox.o smppbox.c; \
then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f 
.deps/smppbox.Tpo; exit 1; fi
smppbox.c:80:26: error: gw/meta_data.h: No such file or directory
smppbox.c: In function ‘check_login’:
smppbox.c:280: warning: ignoring return value of ‘fscanf’, declared with 
attribute warn_unused_result
smppbox.c: In function ‘send_pdu’:
smppbox.c:522: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible 
pointer type
/usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct 
SMPP_PDU *’ but argument is of type ‘struct Octstr *’
smppbox.c:522: error: too many arguments to function ‘smpp_pdu_pack’
smppbox.c: In function ‘read_pdu’:
smppbox.c:579: error: too many arguments to function ‘smpp_pdu_unpack’
smppbox.c: In function ‘msg_to_pdu’:
smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 5 has type 
‘long int’
smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 6 has type 
‘long int’
smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 5 has type 
‘long int’
smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 6 has type 
‘long int’
smppbox.c:722: error: too many arguments to function ‘dlr_find’
smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format
smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format
smppbox.c:809: error: ‘struct deliver_sm’ has no member named ‘tlv’
smppbox.c:809: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:821: error: ‘struct deliver_sm’ has no member named ‘tlv’
smppbox.c:821: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:911: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:961: error: ‘struct deliver_sm’ has no member named ‘tlv’
smppbox.c:961: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:972: error: ‘struct deliver_sm’ has no member named ‘tlv’
smppbox.c:972: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c: In function ‘pdu_to_msg’:
smppbox.c:1157: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:1158: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:1159: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:1159: error: ‘struct submit_sm’ has no member named ‘tlv’
smppbox.c: In function ‘data_sm_to_msg’:
smppbox.c:1312: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:1313: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:1314: error: ‘struct sms’ has no member named ‘meta_data’
smppbox.c:1314: error: ‘struct data_sm’ has no member named ‘tlv’
smppbox.c: In function ‘check_multipart’:
smppbox.c:1358: warning: format ‘%d’ expects type ‘int’, but argument 4 has 
type ‘long int’
smppbox.c:1374: warning: format ‘%d’ expects type ‘int’, but argument 4 has 
type ‘long int’
smppbox.c: In function ‘bearerbox_to_smpp’:
smppbox.c:1815: warning: format ‘%i’ expects type ‘int’, but argument 4 has 
type ‘long unsigned int’
smppbox.c:1820: warning: format ‘%i’ expects type ‘int’, but argument 4 has 
type ‘long int’
smppbox.c: In function 

configure: error: Kannel gwlib is required!

2010-09-06 Thread BeCauet
Hello, I Have a problem with smppbox compilation:

smpptest:/usr/local/include/smppbox# ./configure
--with-kannel-dir=/usr/local/include/kannel
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking svn checkout revision... -1:48M

Configuring for smppbox version svn-r-1:48M ...
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag CXX to libtool
appending configuration tag F77 to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes

Configuring PAM support ...
checking whether to compile with PAM support... checking whether to compile
with SSL support... trying /usr/lib /usr/include/openssl
checking for openssl... /usr/bin/openssl
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h 

RE: configure: error: Kannel gwlib is required!

2010-09-06 Thread Rene Kluwen
Try:

 

./configure –with-kannel-dir=/usr/local or even without even specifying 
–with-kannel-dir.

If you just installed kannel, then it should find the sources automagically.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
BeCauet
Sent: Monday, 06 September, 2010 21:39
To: users
Subject: configure: error: Kannel gwlib is required!

 

Hello, I Have a problem with smppbox compilation:

smpptest:/usr/local/include/smppbox# ./configure 
--with-kannel-dir=/usr/local/include/kannel
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking svn checkout revision... -1:48M

Configuring for smppbox version svn-r-1:48M ...
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag CXX to libtool
appending configuration tag F77 to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes

Configuring PAM 

RE: configure: error: Kannel gwlib is required!

2010-09-06 Thread Rene Kluwen
The procedure is as follows:

 

Checkout Kannel and smppbox sources in their own folders in your homedir.

Then for each module, in turn, do:

 

./configure [options]

make

make install

 

After that, header files and libraries will be installed in /usr/local.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
BeCauet
Sent: Tuesday, 07 September, 2010 00:14
To: users
Subject: Re: configure: error: Kannel gwlib is required!

 

Hello Rene,
None of the two solutions work ... another idea?

My sources of Kannel (binaries) are in /usr/local/include/kannel and smppbox is 
in /usr/local/include/smppbox

Mickael

2010/9/6 Rene Kluwen rene.klu...@chimit.nl

Try:

 

./configure –with-kannel-dir=/usr/local or even without even specifying 
–with-kannel-dir.

If you just installed kannel, then it should find the sources automagically.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
BeCauet
Sent: Monday, 06 September, 2010 21:39
To: users
Subject: configure: error: Kannel gwlib is required!

 

Hello, I Have a problem with smppbox compilation:

smpptest:/usr/local/include/smppbox# ./configure 
--with-kannel-dir=/usr/local/include/kannel
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking svn checkout revision... -1:48M

Configuring for smppbox version svn-r-1:48M ...
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build 

Re: configure: error: Kannel gwlib is required!

2010-09-06 Thread Nikos Balkanas

Or for smppbox try:

configure --with-kannel-dir=/path/to/kannel

BR,
Nikos
- Original Message - 
From: Rene Kluwen

To: 'BeCauet' ; 'users'
Sent: Tuesday, September 07, 2010 1:25 AM
Subject: RE: configure: error: Kannel gwlib is required!


The procedure is as follows:

Checkout Kannel and smppbox sources in their own folders in your homedir.
Then for each module, in turn, do:

./configure [options]
make
make install

After that, header files and libraries will be installed in /usr/local.

== Rene


From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of BeCauet

Sent: Tuesday, 07 September, 2010 00:14
To: users
Subject: Re: configure: error: Kannel gwlib is required!

Hello Rene,
None of the two solutions work ... another idea?

My sources of Kannel (binaries) are in /usr/local/include/kannel and smppbox 
is in /usr/local/include/smppbox


Mickael
2010/9/6 Rene Kluwen rene.klu...@chimit.nl
Try:

./configure –with-kannel-dir=/usr/local or even without even specifying 
–with-kannel-dir.
If you just installed kannel, then it should find the sources automagically.

== Rene

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf 
Of BeCauet

Sent: Monday, 06 September, 2010 21:39
To: users
Subject: configure: error: Kannel gwlib is required!

Hello, I Have a problem with smppbox compilation:

smpptest:/usr/local/include/smppbox# 
./configure --with-kannel-dir=/usr/local/include/kannel

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking svn checkout revision... -1:48M

Configuring for smppbox version svn-r-1:48M ...
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... 
yes

checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode 

configure: error: Kannel gwlib is required!

2010-09-06 Thread BeCauet
Ok, i see the problem.
I can not install it correctly after compiling kannel.

*Step 1 :
*
smpptest:/usr/local/include/kannel# ./configure --with-mysql
--with-mysql-dir=/usr/local/mysql -enable-ssl --enable-localtime
--enable-mutex-stats --enable-start-stop-daemon

()

License information ...
++
| License:   |
| This software is subject to the Kannel Software License, available |
| in this distribution in the file LICENSE. By continuing this   |
| installation process, you are bound by the terms of this license   |
| agreement. If you do not agree with the terms of this license, you |
| must abort the installation process at this point. |
||
|  The Kannel Group http://www.kannel.org/ |
++

Thank you for using Kannel.
smpptest:/usr/local/include/kannel#

*Step 2 : *
smpptest:/usr/local/include/kannel# make
(...)
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2
-I/usr/include/openssl -rdynamic -o checks/check_octstr
checks/check_octstr.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lrt
-lresolv -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lcrypto -lssl
./utils/foobar-config.sh -I/usr/local/include/kannel -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=
-I/usr/include/libxml2 -I/usr/include/openssl \
-L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl -lrt -lresolv
-lnsl -lm  -lpthread -lxml2 -L/usr/lib -lcrypto -lssl  \
svn-r4838  gw-config
chmod 0755 gw-config

smpptest:/usr/local/include/kannel#

*OK ?*

*Step 3 : *

smpptest:/usr/local/include/kannel# make install
/usr/bin/install -c -d /usr/local/bin
for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch
utils/decode_emimsg gw-config; do \
/usr/bin/install -c $prog \
/usr/local/bin/`basename $prog`; \
done
test -r /usr/local/bin/gw-config || \
ln -sf gw-config /usr/local/bin/gw-config
/usr/bin/install -c -d /usr/local/sbin
for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \
/usr/bin/install -c $prog \
/usr/local/sbin/`basename $prog`; \
done
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1
wmlscript/wmlsdasm.1 /usr/local/share/man/man1
/usr/bin/install -c -d /usr/local/share/man/man8
/usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8
/usr/local/share/man/man8
/usr/bin/install -c -d /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib
/usr/bin/install: `./gwlib/accesslog.h' et
`/usr/local/include/kannel/gwlib/accesslog.h' identifient le même fichier.
/usr/bin/install: `./gwlib/cfg.h' et `/usr/local/include/kannel/gwlib/cfg.h'
identifient le même fichier.
/usr/bin/install: `./gwlib/charset.h' et
`/usr/local/include/kannel/gwlib/charset.h' identifient le même fichier.
/usr/bin/install: `./gwlib/conn.h' et
`/usr/local/include/kannel/gwlib/conn.h' identifient le même fichier.
/usr/bin/install: `./gwlib/counter.h' et
`/usr/local/include/kannel/gwlib/counter.h' identifient le même fichier.
/usr/bin/install: `./gwlib/date.h' et
`/usr/local/include/kannel/gwlib/date.h' identifient le même fichier.
/usr/bin/install: `./gwlib/dbpool.h' et
`/usr/local/include/kannel/gwlib/dbpool.h' identifient le même fichier.
/usr/bin/install: `./gwlib/dbpool_p.h' et
`/usr/local/include/kannel/gwlib/dbpool_p.h' identifient le même fichier.
/usr/bin/install: `./gwlib/dict.h' et
`/usr/local/include/kannel/gwlib/dict.h' identifient le même fichier.
/usr/bin/install: `./gwlib/fdset.h' et
`/usr/local/include/kannel/gwlib/fdset.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gwassert.h' et
`/usr/local/include/kannel/gwlib/gwassert.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gw-getopt.h' et
`/usr/local/include/kannel/gwlib/gw-getopt.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gwlib.h' et
`/usr/local/include/kannel/gwlib/gwlib.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gwmem.h' et
`/usr/local/include/kannel/gwlib/gwmem.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gwpoll.h' et
`/usr/local/include/kannel/gwlib/gwpoll.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gw-prioqueue.h' et
`/usr/local/include/kannel/gwlib/gw-prioqueue.h' identifient le même
fichier.
/usr/bin/install: `./gwlib/gw-rwlock.h' et
`/usr/local/include/kannel/gwlib/gw-rwlock.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gwthread.h' et
`/usr/local/include/kannel/gwlib/gwthread.h' identifient le même fichier.
/usr/bin/install: `./gwlib/gw_uuid.h' et

concatenated MOs whose parts arrive at different kannels?

2010-09-06 Thread Bopolissimus Platypus Jr
Hello,

We have a setup where we have two separate kannel instances each
binding (RX and TX) to the same two SMSCs.

Only RX Connections shown below since TX is not relevant.

Kannel1 --- SMSC1
|
 ---  SMSC2


Kannel2 --- SMSC1
|
 ---  SMSC2

In previous testing with just one Kannel, different parts of a
concatenated SMS can arrive via both SMSCs (setting smsc-id the same
for logically equivalent SMSCs allows concatenation to work correctly
in this case).

This almost certainly extends to having two kannels with this setup
(conjecture, not tested since that's a production system)..  The parts
of a concatenated SMS might arrive via 1 each of the four connections
so Kannel1 might end up with parts 1 and 3 and Kannel2 might end up
with parts 2 and 4.

We have not previously needed to use sms-combine-concatenated-mo since
there was previously no concatenated SMS support for this service.
However, we are now looking into implementing concatenated message
support and therefore are looking into options for automatic SMS
combination in the above setup.

Apart from turning off sms-combine-concatenated-mo and recombining the
parts at the backend, are there any options for supporting combining
at the kannels (somehow)?  There was a conjecture among my colleagues
that sqlbox might be a possibility.  However, after looking at the
sqlbox userguide and some of the code, I don't see anything like that.

Thanks for any pointers, or for showing where we might be going wrogn.

Gerald

-- 
Gerald Timothy Quimpo http://bopolissimus.blogspot.com
bopolissimus.li...@gmail.com bopolissi...@gmail.com

Even Tom Lane said: Or, if you're worried
about actions from functions, use a trigger
to do the logging.  There are approximately
no cases where a rule is really better than
a trigger :-( 



Re: configure: error: Kannel gwlib is required!

2010-09-06 Thread krnrd b
Hi BeCauet,

1) configure gateway (example if gateway directory on /root/gateway)
2) make and Optional: make install
3) copy gateway files to  (/usr/local/include/kannel)
(/usr/local/lib/kannel)
4) configure smppbox (./configure --with-kannel-dir=/root/gateway/)
5) make and Optional: make install

Try this it is working for me. [?]

Regards,
KRNRDB

On Tue, Sep 7, 2010 at 4:13 AM, BeCauet beca...@gmail.com wrote:

 Ok, i see the problem.
 I can not install it correctly after compiling kannel.

 *Step 1 :
 *
 smpptest:/usr/local/include/kannel# ./configure --with-mysql
 --with-mysql-dir=/usr/local/mysql -enable-ssl --enable-localtime
 --enable-mutex-stats --enable-start-stop-daemon

 ()

 License information ...
 ++
 | License:   |
 | This software is subject to the Kannel Software License, available |
 | in this distribution in the file LICENSE. By continuing this   |
 | installation process, you are bound by the terms of this license   |
 | agreement. If you do not agree with the terms of this license, you |
 | must abort the installation process at this point. |
 ||
 |  The Kannel Group http://www.kannel.org/ |
 ++

 Thank you for using Kannel.
 smpptest:/usr/local/include/kannel#

 *Step 2 : *
 smpptest:/usr/local/include/kannel# make
 (...)
 gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/openssl -rdynamic -o checks/check_octstr
 checks/check_octstr.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lrt
 -lresolv -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lcrypto -lssl
 ./utils/foobar-config.sh -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=
 -I/usr/include/libxml2 -I/usr/include/openssl \
 -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl -lrt -lresolv
 -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lcrypto -lssl  \
 svn-r4838  gw-config
 chmod 0755 gw-config

 smpptest:/usr/local/include/kannel#

 *OK ?*

 *Step 3 : *

 smpptest:/usr/local/include/kannel# make install
 /usr/bin/install -c -d /usr/local/bin
 for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch
 utils/decode_emimsg gw-config; do \
 /usr/bin/install -c $prog \
 /usr/local/bin/`basename $prog`; \
 done
 test -r /usr/local/bin/gw-config || \
 ln -sf gw-config /usr/local/bin/gw-config
 /usr/bin/install -c -d /usr/local/sbin
 for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \
 /usr/bin/install -c $prog \
 /usr/local/sbin/`basename $prog`; \
 done
 /usr/bin/install -c -d /usr/local/share/man/man1
 /usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1
 wmlscript/wmlsdasm.1 /usr/local/share/man/man1
 /usr/bin/install -c -d /usr/local/share/man/man8
 /usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8
 /usr/local/share/man/man8
 /usr/bin/install -c -d /usr/local/include/kannel/gwlib
 /usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib
 /usr/bin/install: `./gwlib/accesslog.h' et
 `/usr/local/include/kannel/gwlib/accesslog.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/cfg.h' et
 `/usr/local/include/kannel/gwlib/cfg.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/charset.h' et
 `/usr/local/include/kannel/gwlib/charset.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/conn.h' et
 `/usr/local/include/kannel/gwlib/conn.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/counter.h' et
 `/usr/local/include/kannel/gwlib/counter.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/date.h' et
 `/usr/local/include/kannel/gwlib/date.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/dbpool.h' et
 `/usr/local/include/kannel/gwlib/dbpool.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/dbpool_p.h' et
 `/usr/local/include/kannel/gwlib/dbpool_p.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/dict.h' et
 `/usr/local/include/kannel/gwlib/dict.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/fdset.h' et
 `/usr/local/include/kannel/gwlib/fdset.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/gwassert.h' et
 `/usr/local/include/kannel/gwlib/gwassert.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/gw-getopt.h' et
 `/usr/local/include/kannel/gwlib/gw-getopt.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/gwlib.h' et
 `/usr/local/include/kannel/gwlib/gwlib.h' identifient le même fichier.
 /usr/bin/install: `./gwlib/gwmem.h' et
 `/usr/local/include/kannel/gwlib/gwmem.h' identifient le même fichier.
 /usr/bin/install: