Re: Facing an issue starting up Kannel

2012-09-04 Thread Manoj M N
Hello Alex,

I am using version 10.6.8 OSX version. I will test the SVN version and get
back to you. I tested with the stable release only currently as I didn't
want to run into problems usually found in bleeding edge versions.

Regards,

On Tue, Sep 4, 2012 at 2:46 PM, Alexander Malysh  wrote:

> Hi,
>
> this is not true. I use Mac each day and test/develop Kannel on Mac and
> never saw such issue.
> Could you please test the latest SVN version and let us know which OSX
> version are you using?
>
> Alex
>
> Am 04.09.2012 um 11:05 schrieb Manoj M N :
>
> Thanks Rene. So I suppose kannel was never tried on a mac. My production
> setup will be linux, but that will take a while. So I thought I will test
> out on my dev laptop.
>
> Regards,
>
> On Fri, Aug 31, 2012 at 11:01 AM, Rene Kluwen wrote:
>
>> Please always copy the users list when asking for support.
>>
>> ** **
>>
>> This is interesting. Unfortunately I don’t have access to a Mac. To debug
>> this further.
>>
>> But maybe one of the other developers has.
>>
>> The bug is pretty straight forward. But can be one of as many as 11
>> parameters that probably has a NULL or uninitialized value.
>>
>> ** **
>>
>> == Rene
>>
>> ** **
>>
>> *From:* Manoj M N [mailto:m4n0...@gmail.com]
>> *Sent:* Friday, 31 August, 2012 03:20
>> *To:* Rene Kluwen
>> *Subject:* Re: Facing an issue starting up Kannel
>>
>> ** **
>>
>> Thanks for the help Rene, Please see attached the requested info. If you
>> need more info, please let me know.
>>
>> Thanks,
>>
>> On Fri, Aug 31, 2012 at 2:23 AM, Rene Kluwen 
>> wrote:
>>
>> Is it possible for you to start bearerbox with gdb and do a backtrace on
>> it?
>>
>>  
>>
>> == Rene
>>
>>  
>>
>> *From:* users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org]
>> *On Behalf Of *Manoj M N
>> *Sent:* Thursday, 30 August, 2012 18:26
>> *To:* us...@vm1.kannel.org
>> *Subject:* Facing an issue starting up Kannel
>>
>>  
>>
>> Hello,
>>
>> I am very new to WAP/SMS gateways and my requirement goes as far as to
>> get SMS messages sent out using my 3G data card with a SIM card in it for
>> now. So as you can see my requirement is pretty basic.
>>
>> I use a MAC and I downloaded the source code and compiled/installed
>> kannel. I have put a sample config file as per the documentation
>> group = core
>> admin-port = 13000
>> admin-password = f00bar
>>
>> # Default service.
>> group = sms-service
>> keyword = default
>> text = "No services defined"
>>
>> When I try to start
>> 007/-- sudo /usr/local/sbin/bearerbox -v 1
>> Password:
>> 2012-08-30 21:57:44 [599] [0] INFO: Debug_lvl = 1, log_file = ,
>> log_lvl = 0
>> 2012-08-30 21:57:44 [599] [0] WARNING: DLR: using default 'internal' for
>> storage type.
>> 2012-08-30 21:57:44 [599] [0] INFO: DLR using storage type: internal
>> Segmentation fault
>>
>> I am getting this error and it is not coming up at all.
>>
>> I am possibly doing something stupid, can you please help me understand?
>>
>> Regards,
>>
>> ** **
>>
>
>
>


Re: Odd characters appearing in SMSC user-name field

2012-09-04 Thread Christopher Burke

  
  
Hi All, 

I've resolved this issue. I was actually sending

U+002D instead of U+2212! Seems copy+pasting the login details from
a PDF was a bad idea! 

Kind Regards and Thanks for the Help! 

Kind Regards

On 04/09/12 02:26, Alvaro Cornejo
  wrote:


  Hi

It comes from the charset used.

How does it is shown on the logs? If it is ok, You might need to hack
the code that generates the admin interface and url_encode the smsc
username. if not, check the smsc charset variables in your config.

Regards

Alvaro





|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


On Mon, Sep 3, 2012 at 12:09 PM, Christopher Burke
 wrote:

  
Hi All,

I have recently changed to another SMSC provider, however this provider uses
a hyphen (-) in the username field. When I check the username in the /status
page I see the following: − where the hyphen should be.

I.e. user-name would become: user−name

What should I do to avoid this happening? I have tried to make it a string
literal by enclosing it in quotes yet the same happens.

Kind Regards and Thanks in Advance,

Chris


  


-- 
  Christopher Burke
  Development Team Leader / Software Engineer
  http://simulity.com
  Mobile: +44 7590 571 833
  Skype:krslynx
  
  
  
  
  NOTICE: This message contains privileged & confidential
  information intended only for the use of the addressee named
  above. If you are not the intended recipient of this message,
  you are hereby notified that you must not disseminate, copy or
  take any action in reliance on it. If you have received this
  message in error, please notify Simulity Labs immediately. Any
  views expressed in this message are those of the individual
  sender except where the sender specifically states them to be
  the view of Simulity Labs Ltd.

  



Re: Odd characters appearing in SMSC user-name field

2012-09-04 Thread Christopher Burke

Hi,

Are you suggesting to alter / set the 'alt-charset' variable? If so, 
what should I be setting this to / what does it default to? I am 
currently unable to connect to the SMS Center, and I believe it's due to 
this error.


Kind Regards and thanks for the help,

Chris

On 04/09/12 02:26, Alvaro Cornejo wrote:

Hi

It comes from the charset used.

How does it is shown on the logs? If it is ok, You might need to hack
the code that generates the admin interface and url_encode the smsc
username. if not, check the smsc charset variables in your config.

Regards

Alvaro





|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
   Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


On Mon, Sep 3, 2012 at 12:09 PM, Christopher Burke
 wrote:

Hi All,

I have recently changed to another SMSC provider, however this provider uses
a hyphen (-) in the username field. When I check the username in the /status
page I see the following: − where the hyphen should be.

I.e. user-name would become: user−name

What should I do to avoid this happening? I have tried to make it a string
literal by enclosing it in quotes yet the same happens.

Kind Regards and Thanks in Advance,

Chris




Re: help with understanding opensmppbox

2012-09-04 Thread Alvaro Cornejo
Hi

As per your config; there is only one smsc: smsc1 with TX RX separate.
You can try adjusting max-pending or max-troughput parameters. This
might help in your througput. Check logs for trottling errors that
might indicate you are maxing allowed throughput.

Of course if you send more sms than allowed by your provider; there is
little you can do. Less that kannel can do since it hanles its queue
as a whole. Your best bet is in getting a better throughput from your
provider(s) either in the same link or in separate ones.

What we do is manage a queue/priority rutine outside kannel.

Opensmsc will not help much either since it does not managa queues either.

Regards

Alvaro



On 9/4/12, Amin Mukhaimer  wrote:
> Yes thanks Saad and Alvaro, my build is the following: "version `svn-r4865.
> Build `Feb 9 2012 04:35:47'"
>
> Down are my configs, main.conf & smsc.conf.
>
> Regarding Alvaro's email, I really don't see it sending to 2 operators or
> more simultaneously, because it takes long time to send to other operator
> while sending bulk SMSs to other, I also use smsc=SMSC1 in sendsms URL. I
> know I should implement priority in sendsms URL for better quality(bulk
> SMSs
> don't have to get there on specific times, but subscription packages' or
> competitions' do), or again back to installing to 2 bearerboxes 1 for bulk
> and 1 for normal SMSs.
>
> Regarding Saad's email, Yes I will try to increase my throughput on
> operator
> side or have another connection, but by the way using multiple SMSBoxes in
> this case wouldn't help, in my opinion, since the problem is with SMSs
> getting out of kannel not in it, which is what bearerbox does, I'm only
> sending Bulk to 1 operator ATM, but in future I'll be sending to others, so
> I know the problem will escalate.
>
> I was wondering if opensmppbox would help getting better performance, but
> things are still foggy as to what it does? how to configure it? If I run 1
> or more opensmppboxes would they help sending SMSs faster than my poor old
> bearerbox!
>
> Below are my configuration files, and thanks greatly for everything.
>
> main.conf
>
> 
> #
> group = core
> admin-port = 13000
> smsbox-port = 13001
> wapbox-port = 13012
> admin-password = **
> log-file = "/var/log/kannel/bearer.log"
> log-level = 3
> #box-deny-ip = "*.*.*.*"
> #box-allow-ip = "127.0.0.1"
> box-allow-ip = "*.*.*.*"
> store-type = spool
> store-location = /var/spool/kannel/spool
> wdp-interface-name = "*"
> dlr-storage=mysql
> sms-resend-freq = 1
>
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> #sendsms-chars = "0123456789 +-"
> log-level = 0
> smsbox-id = internal
> #http-request-retry=5
> mo-recode=true
> log-file = "/var/log/kannel/smsbox.log"
> access-log = "/var/log/kannel/access.log"
>
>
> include = "/kannel/conf/SMSC.conf"
>
>
> group = sms-service
> keyword=default
> accepted-smsc = "SMSC1;SMC2;"
> #keyword-regex = .*
> catch-all = yes
> max-messages = 0
> get-url = "http://Webserver-IP/%p_%b_%P_%i";
> omit-empty=yes
>
>
> group = sendsms-user
> username = username
> password = password
> concatenation = true
> max-messages = 7
>
>
> group=smsbox-route
> smsbox-id = internal
> smsc-id="SMSC1;SMSC2;"
>
>
> group = mysql-connection
> id= mykannel
> host= DB-IP
> username=user
> password=password
> database=DB
>
>
> group =dlr-db
> id=mykannel
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-source = source
> field-destination = destination
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
> 
> #
>
>
> smsc.conf
>
> 
> #
> group=smsc
> smsc=smpp
> denied-smsc-id = "SMSC2;SMSC3;**"
> smsc-id=SMSC1
> smsc-admin-id=SMSC1_Tx1
> allowed-smsc-id=SMSC1
> interface-version=34
> host=IP
> port=PORT-NUMBER
> system-id=username
> smsc-password=password
> system-type="pc8446"
> transceiver-mode=0
> dest-addr-ton=1
> dest-addr-npi=1
> source-addr-ton=5
> source-addr-npi=0
> log-file = "/var/log/kannel/SMSC1_Tx1.log"
> log-level = 3
>
>
> group=smsc
> smsc=smpp
> denied-smsc-id = "SMSC2;SMSC3;"
> smsc-id=SMSC1
> smsc-admin-id=SMSC1_Rx1
> allowed-smsc-id=SMSC1
> interface-version=34
> host=IP
> system-id=user
> smsc-password=password
> system-type="pc8446"
> transceiver-mode=0
> receive-port=16000
> dest-addr-ton=1
> dest-addr-npi=1
> source-addr-ton=5
> source-addr-npi=0
> log-file = "/var/log/kannel/SMSC1_Rx1.log"
> log-level = 3
>
>
> .
>
> 
> #
>
>
> Amin.
>
>
>
>
> -Original Message-
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> Sent: Monday, September 03, 2012 4:59 PM
> To: Amin 

unified-prefix in smsc type fake

2012-09-04 Thread Singularnet
Hello everybody

I tried to test the unified-prefix in smsc group, using fakesmsc
connection, but it doesnt work for me, what i tried it to remove the plus
character, but it doesnt work
the config is something like

group   =  smsc
smsc   = fake
port   = 1
unified-prefix = '-,+"

does anybody knows if this field works with smsc type fake?

thanks, and have a good day


Re: Facing an issue starting up Kannel

2012-09-04 Thread Alexander Malysh
Hi,

this is not true. I use Mac each day and test/develop Kannel on Mac and never 
saw such issue.
Could you please test the latest SVN version and let us know which OSX version 
are you using?

Alex

Am 04.09.2012 um 11:05 schrieb Manoj M N :

> Thanks Rene. So I suppose kannel was never tried on a mac. My production 
> setup will be linux, but that will take a while. So I thought I will test out 
> on my dev laptop.
> 
> Regards,
> 
> On Fri, Aug 31, 2012 at 11:01 AM, Rene Kluwen  wrote:
> Please always copy the users list when asking for support.
> 
>  
> 
> This is interesting. Unfortunately I don’t have access to a Mac. To debug 
> this further.
> 
> But maybe one of the other developers has.
> 
> The bug is pretty straight forward. But can be one of as many as 11 
> parameters that probably has a NULL or uninitialized value.
> 
>  
> 
> == Rene
> 
>  
> 
> From: Manoj M N [mailto:m4n0...@gmail.com] 
> Sent: Friday, 31 August, 2012 03:20
> To: Rene Kluwen
> Subject: Re: Facing an issue starting up Kannel
> 
>  
> 
> Thanks for the help Rene, Please see attached the requested info. If you need 
> more info, please let me know.
> 
> Thanks,
> 
> On Fri, Aug 31, 2012 at 2:23 AM, Rene Kluwen  wrote:
> 
> Is it possible for you to start bearerbox with gdb and do a backtrace on it?
> 
>  
> 
> == Rene
> 
>  
> 
> From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
> Behalf Of Manoj M N
> Sent: Thursday, 30 August, 2012 18:26
> To: us...@vm1.kannel.org
> Subject: Facing an issue starting up Kannel
> 
>  
> 
> Hello, 
> 
> I am very new to WAP/SMS gateways and my requirement goes as far as to get 
> SMS messages sent out using my 3G data card with a SIM card in it for now. So 
> as you can see my requirement is pretty basic.
> 
> I use a MAC and I downloaded the source code and compiled/installed kannel. I 
> have put a sample config file as per the documentation 
> group = core
> admin-port = 13000
> admin-password = f00bar
> 
> # Default service.
> group = sms-service
> keyword = default
> text = "No services defined"
> 
> When I try to start 
> 007/-- sudo /usr/local/sbin/bearerbox -v 1 
> Password:
> 2012-08-30 21:57:44 [599] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
> = 0
> 2012-08-30 21:57:44 [599] [0] WARNING: DLR: using default 'internal' for 
> storage type.
> 2012-08-30 21:57:44 [599] [0] INFO: DLR using storage type: internal
> Segmentation fault
> 
> I am getting this error and it is not coming up at all. 
> 
> I am possibly doing something stupid, can you please help me understand?
> 
> Regards,
> 
>  
> 
> 



Re: Facing an issue starting up Kannel

2012-09-04 Thread Manoj M N
Thanks Rene. So I suppose kannel was never tried on a mac. My production
setup will be linux, but that will take a while. So I thought I will test
out on my dev laptop.

Regards,

On Fri, Aug 31, 2012 at 11:01 AM, Rene Kluwen  wrote:

> Please always copy the users list when asking for support.
>
> ** **
>
> This is interesting. Unfortunately I don’t have access to a Mac. To debug
> this further.
>
> But maybe one of the other developers has.
>
> The bug is pretty straight forward. But can be one of as many as 11
> parameters that probably has a NULL or uninitialized value.
>
> ** **
>
> == Rene
>
> ** **
>
> *From:* Manoj M N [mailto:m4n0...@gmail.com]
> *Sent:* Friday, 31 August, 2012 03:20
> *To:* Rene Kluwen
> *Subject:* Re: Facing an issue starting up Kannel
>
> ** **
>
> Thanks for the help Rene, Please see attached the requested info. If you
> need more info, please let me know.
>
> Thanks,
>
> On Fri, Aug 31, 2012 at 2:23 AM, Rene Kluwen 
> wrote:
>
> Is it possible for you to start bearerbox with gdb and do a backtrace on
> it?
>
>  
>
> == Rene
>
>  
>
> *From:* users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org]
> *On Behalf Of *Manoj M N
> *Sent:* Thursday, 30 August, 2012 18:26
> *To:* us...@vm1.kannel.org
> *Subject:* Facing an issue starting up Kannel
>
>  
>
> Hello,
>
> I am very new to WAP/SMS gateways and my requirement goes as far as to get
> SMS messages sent out using my 3G data card with a SIM card in it for now.
> So as you can see my requirement is pretty basic.
>
> I use a MAC and I downloaded the source code and compiled/installed
> kannel. I have put a sample config file as per the documentation
> group = core
> admin-port = 13000
> admin-password = f00bar
>
> # Default service.
> group = sms-service
> keyword = default
> text = "No services defined"
>
> When I try to start
> 007/-- sudo /usr/local/sbin/bearerbox -v 1
> Password:
> 2012-08-30 21:57:44 [599] [0] INFO: Debug_lvl = 1, log_file = ,
> log_lvl = 0
> 2012-08-30 21:57:44 [599] [0] WARNING: DLR: using default 'internal' for
> storage type.
> 2012-08-30 21:57:44 [599] [0] INFO: DLR using storage type: internal
> Segmentation fault
>
> I am getting this error and it is not coming up at all.
>
> I am possibly doing something stupid, can you please help me understand?
>
> Regards,
>
> ** **
>