multiple sms-service

2009-03-11 Thread Elton Hoxha
Hi guys,

Is it possible to make a configuration like this:

group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "
http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = "
http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

After both SMSC were binded I was able to send MO and to call only the first
API. The second one didnt work.

Any idea?

Thanks
Elton


Re: multiple sms-service

2009-03-11 Thread Nikos Balkanas
Yes. It is like in C programming. You can have many cases, but only 1 default. 
Use specific keywords for the rest.

BR,
Nikos
  - Original Message - 
  From: Elton Hoxha 
  To: kannel users 
  Sent: Wednesday, March 11, 2009 4:11 PM
  Subject: multiple sms-service


  Hi guys,

  Is it possible to make a configuration like this:

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal
  get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal1
  get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  After both SMSC were binded I was able to send MO and to call only the first 
API. The second one didnt work.

  Any idea?

  Thanks
  Elton


Re: multiple sms-service

2009-03-11 Thread Elton Hoxha
I made it like this:
group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "
http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

group = sms-service
keyword = a
catch-all = true  //I tried twice commenting this line too
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = "
http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

Again I was not able to call the second API, just the first.

Thanks
Elton


On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:

> Hi guys,
>
> Is it possible to make a configuration like this:
>
> group = sms-service
> keyword = default
> catch-all = true
> max-messages = 0
> concatenation = true
> accepted-smsc = internal
> get-url = "
> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
> group = sms-service
> keyword = default
> catch-all = true
> max-messages = 0
> concatenation = true
> accepted-smsc = internal1
> get-url = "
> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
> After both SMSC were binded I was able to send MO and to call only the
> first API. The second one didnt work.
>
> Any idea?
>
> Thanks
> Elton
>


Re: multiple sms-service

2009-03-11 Thread Nikos Balkanas
Yes. There is an extensive section in the user manual about configuring and 
using sms-service. Please read it.

BR,
Nikos
  - Original Message - 
  From: Elton Hoxha 
  To: kannel users 
  Sent: Wednesday, March 11, 2009 6:37 PM
  Subject: Re: multiple sms-service


  I made it like this:
  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal
  get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  group = sms-service
  keyword = a
  catch-all = true  //I tried twice commenting this line too
  max-messages = 0
  concatenation = true
  accepted-smsc = internal1
  get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  Again I was not able to call the second API, just the first.

  Thanks
  Elton



  On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:

Hi guys,

Is it possible to make a configuration like this:

group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

After both SMSC were binded I was able to send MO and to call only the 
first API. The second one didnt work.

Any idea?

Thanks
Elton




Re: multiple sms-service

2009-03-11 Thread Elton Hoxha
Hi,

In my cases, the keyword parameter is not important. I would omit it because
I dont care about the content of SMS I just want to call the URL-s
regardless the content of SMS-s, but only refering to the respective SMPP
connections (2 in this case) that I`m using.

Thanks
Elton

On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas  wrote:

>  Yes. There is an extensive section in the user manual about configuring
> and using sms-service. Please read it.
>
> BR,
> Nikos
>
> - Original Message -
> *From:* Elton Hoxha 
> *To:* kannel users 
> *Sent:* Wednesday, March 11, 2009 6:37 PM
> *Subject:* Re: multiple sms-service
>
> I made it like this:
> group = sms-service
> keyword = default
> catch-all = true
> max-messages = 0
> concatenation = true
> accepted-smsc = internal
> get-url = "
> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
> group = sms-service
> keyword = a
> catch-all = true  //I tried twice commenting this line too
> max-messages = 0
> concatenation = true
> accepted-smsc = internal1
> get-url = "
> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
> Again I was not able to call the second API, just the first.
>
> Thanks
> Elton
>
>
> On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
>
>> Hi guys,
>>
>> Is it possible to make a configuration like this:
>>
>> group = sms-service
>> keyword = default
>> catch-all = true
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal
>> get-url = "
>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> group = sms-service
>> keyword = default
>> catch-all = true
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal1
>> get-url = "
>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> After both SMSC were binded I was able to send MO and to call only the
>> first API. The second one didnt work.
>>
>> Any idea?
>>
>> Thanks
>> Elton
>>
>
>


Re: multiple sms-service

2009-03-11 Thread Elton Hoxha
PArts of my conf file are like this:

group=smsc
smsc=smpp
smsc-id=internal
allowed-smsc-id = internal
denied-smsc-id = internal1
interface-version=34
host=10.234.252.80
port=3700
system-id=x
smsc-password=x
system-type=x
transceiver-mode=true
address-range=15106


group=smsc
smsc=smpp
smsc-id=internal1
allowed-smsc-id = internal1
denied-smsc-id = internal
interface-version=34
host=10.234.252.80
port=3700
system-id=test
smsc-password=test
system-type=test
transceiver-mode=true
address-range=7


group = smsbox
bearerbox-host = 10.1.21.184
sendsms-port = 13014
log-level = 0


group = sendsms-user
username = a
password = a
concatenation = false
max-messages = 3
forced-smsc=internal1


group = sms-service
keyword = default
catch-all = true
#disables the sending of SMS
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "
http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

group = sms-service
keyword = default
catch-all = true
#disables the sending of SMS
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = "
http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

Is anything wrong with it?

Thanks
Elton

On Wed, Mar 11, 2009 at 6:22 PM, Elton Hoxha  wrote:

> Hi,
>
> In my cases, the keyword parameter is not important. I would omit it
> because I dont care about the content of SMS I just want to call the URL-s
> regardless the content of SMS-s, but only refering to the respective SMPP
> connections (2 in this case) that I`m using.
>
> Thanks
> Elton
>
>
> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas wrote:
>
>>  Yes. There is an extensive section in the user manual about configuring
>> and using sms-service. Please read it.
>>
>> BR,
>> Nikos
>>
>> - Original Message -----
>>  *From:* Elton Hoxha 
>> *To:* kannel users 
>>  *Sent:* Wednesday, March 11, 2009 6:37 PM
>> *Subject:* Re: multiple sms-service
>>
>> I made it like this:
>> group = sms-service
>> keyword = default
>> catch-all = true
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal
>> get-url = "
>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> group = sms-service
>> keyword = a
>> catch-all = true  //I tried twice commenting this line too
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal1
>> get-url = "
>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> Again I was not able to call the second API, just the first.
>>
>> Thanks
>> Elton
>>
>>
>> On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
>>
>>> Hi guys,
>>>
>>> Is it possible to make a configuration like this:
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal
>>> get-url = "
>>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal1
>>> get-url = "
>>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> After both SMSC were binded I was able to send MO and to call only the
>>> first API. The second one didnt work.
>>>
>>> Any idea?
>>>
>>> Thanks
>>> Elton
>>>
>>
>>
>


Re: multiple sms-service

2009-03-11 Thread Alvaro Cornejo
Group definitions shall not have blank lines inbetween parameters

You can only have one default keyword and one catch all within the
sms-services that will got all messages where the keyword does not
match any defined keyword

Can you explain you scenario so we can understand what are you trying
to accomplish?

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 Wed, Mar 11, 2009 at 12:57 PM, Elton Hoxha  wrote:
> PArts of my conf file are like this:
>
> group=smsc
> smsc=smpp
> smsc-id=internal
> allowed-smsc-id = internal
> denied-smsc-id = internal1
> interface-version=34
> host=10.234.252.80
> port=3700
> system-id=x
> smsc-password=x
> system-type=x
> transceiver-mode=true
> address-range=15106
>
>
> group=smsc
> smsc=smpp
> smsc-id=internal1
> allowed-smsc-id = internal1
> denied-smsc-id = internal
> interface-version=34
> host=10.234.252.80
> port=3700
> system-id=test
> smsc-password=test
> system-type=test
> transceiver-mode=true
> address-range=7
>
>
> group = smsbox
> bearerbox-host = 10.1.21.184
> sendsms-port = 13014
> log-level = 0
>
>
> group = sendsms-user
> username = a
> password = a
> concatenation = false
> max-messages = 3
> forced-smsc=internal1
>
>
> group = sms-service
> keyword = default
> catch-all = true
> #disables the sending of SMS
> max-messages = 0
> concatenation = true
> accepted-smsc = internal
> get-url =
> "http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>
> group = sms-service
> keyword = default
> catch-all = true
> #disables the sending of SMS
> max-messages = 0
> concatenation = true
> accepted-smsc = internal1
> get-url =
> "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>
> Is anything wrong with it?
>
> Thanks
> Elton
>
> On Wed, Mar 11, 2009 at 6:22 PM, Elton Hoxha  wrote:
>>
>> Hi,
>>
>> In my cases, the keyword parameter is not important. I would omit it
>> because I dont care about the content of SMS I just want to call the URL-s
>> regardless the content of SMS-s, but only refering to the respective SMPP
>> connections (2 in this case) that I`m using.
>>
>> Thanks
>> Elton
>>
>> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas 
>> wrote:
>>>
>>> Yes. There is an extensive section in the user manual about configuring
>>> and using sms-service. Please read it.
>>>
>>> BR,
>>> Nikos
>>>
>>> - Original Message -
>>> From: Elton Hoxha
>>> To: kannel users
>>> Sent: Wednesday, March 11, 2009 6:37 PM
>>> Subject: Re: multiple sms-service
>>> I made it like this:
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal
>>> get-url =
>>> "http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>>
>>> group = sms-service
>>> keyword = a
>>> catch-all = true  //I tried twice commenting this line too
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal1
>>> get-url =
>>> "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>>
>>> Again I was not able to call the second API, just the first.
>>>
>>> Thanks
>>> Elton
>>>
>>>
>>> On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> Is it possible to make a configuration like this:
>>>>
>>>> group = sms-service
>>>> keyword = default
>>>> catch-all = true
>>>> max-messages = 0
>>>> concatenation = true
>>>> accepted-smsc = internal
>>>> get-url =
>>>> "http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>>>
>>>> group = sms-service
>>>> keyword = default
>>>> catch-all = true
>>>> max-messages = 0
>>>> concatenation = true
>>>> accepted-smsc = internal1
>>>> get-url =
>>>> "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>>>
>>>> After both SMSC were binded I was able to send MO and to call only the
>>>> first API. The second one didnt work.
>>>>
>>>> Any idea?
>>>>
>>>> Thanks
>>>> Elton
>>>
>>
>
>



Re: multiple sms-service

2009-03-11 Thread Falko Ziemann

Hi,

I think I would add an additional script where the message is posted  
first. Add the switch "%o" to the request, this shows you on which  
connection the message has arrived. Then the new script re-posts the  
message to the final script, depending on the the smsc connection.


Regards
Falko

Am 11.03.2009 um 18:22 schrieb Elton Hoxha:


Hi,

In my cases, the keyword parameter is not important. I would omit it  
because I dont care about the content of SMS I just want to call the  
URL-s regardless the content of SMS-s, but only refering to the  
respective SMPP connections (2 in this case) that I`m using.


Thanks
Elton

On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas  
 wrote:
Yes. There is an extensive section in the user manual about  
configuring and using sms-service. Please read it.


BR,
Nikos
- Original Message -
From: Elton Hoxha
To: kannel users
Sent: Wednesday, March 11, 2009 6:37 PM
Subject: Re: multiple sms-service

I made it like this:
group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "http://10.1.2.66:33106/KannelGetSms.asmx/GetSms? 
originator=%p&destination=%P&text=%a&smsctype=%i"


group = sms-service
keyword = a
catch-all = true  //I tried twice commenting this line too
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms? 
originator=%p&destination=%P&text=%a&smsctype=%i"


Again I was not able to call the second API, just the first.

Thanks
Elton


On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
Hi guys,

Is it possible to make a configuration like this:

group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "http://10.1.2.66:33106/KannelGetSms.asmx/GetSms? 
originator=%p&destination=%P&text=%a&smsctype=%i"


group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms? 
originator=%p&destination=%P&text=%a&smsctype=%i"


After both SMSC were binded I was able to send MO and to call only  
the first API. The second one didnt work.


Any idea?

Thanks
Elton






Re: multiple sms-service

2009-03-12 Thread Elton Hoxha
Morning guys,

My scenario is just simple. Having two SMSC (SMPP) connections, 15106 and
7, I want to send to them MO SMS and triggering the sms-service to call
my defined API. My SMS-Service configuration should be in some way that,
they (both of them) dont have to check the content of SMS I sent, they can
be blank. Just by checking the destination (routing issue), if it is 15106 I
will call some URL, if it is 7 I will call some other.

This is done because of Windows and web services designed in the other
machine. For each connection defined in kannel, I have to call diferent web
service which is connected to separate windows service.

Hope that scenario is clear.

Thanks
Elton

On Thu, Mar 12, 2009 at 7:46 AM, Falko Ziemann  wrote:

> Hi,
> I think I would add an additional script where the message is posted first.
> Add the switch "%o" to the request, this shows you on which connection the
> message has arrived. Then the new script re-posts the message to the final
> script, depending on the the smsc connection.
>
> Regards
> Falko
>
> Am 11.03.2009 um 18:22 schrieb Elton Hoxha:
>
> Hi,
>
> In my cases, the keyword parameter is not important. I would omit it
> because I dont care about the content of SMS I just want to call the URL-s
> regardless the content of SMS-s, but only refering to the respective SMPP
> connections (2 in this case) that I`m using.
>
> Thanks
> Elton
>
> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas wrote:
>
>>  Yes. There is an extensive section in the user manual about configuring
>> and using sms-service. Please read it.
>>
>> BR,
>> Nikos
>>
>> - Original Message -
>>  *From:* Elton Hoxha 
>> *To:* kannel users 
>>  *Sent:* Wednesday, March 11, 2009 6:37 PM
>> *Subject:* Re: multiple sms-service
>>
>> I made it like this:
>> group = sms-service
>> keyword = default
>> catch-all = true
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal
>> get-url = "
>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> group = sms-service
>> keyword = a
>> catch-all = true  //I tried twice commenting this line too
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal1
>> get-url = "
>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> Again I was not able to call the second API, just the first.
>>
>> Thanks
>> Elton
>>
>>
>> On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
>>
>>> Hi guys,
>>>
>>> Is it possible to make a configuration like this:
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal
>>> get-url = "
>>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal1
>>> get-url = "
>>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> After both SMSC were binded I was able to send MO and to call only the
>>> first API. The second one didnt work.
>>>
>>> Any idea?
>>>
>>> Thanks
>>> Elton
>>>
>>
>>
>
>


Re: multiple sms-service

2009-03-12 Thread Nikos Balkanas
The issue is that the keyword might not be important to you, but it certainly 
is important for the sms-service if it is going to work. You better read the 
manual.

Nikos
  - Original Message - 
  From: Falko Ziemann 
  To: Elton Hoxha 
  Cc: Nikos Balkanas ; kannel users 
  Sent: Thursday, March 12, 2009 8:46 AM
  Subject: Re: multiple sms-service


  Hi,


  I think I would add an additional script where the message is posted first. 
Add the switch "%o" to the request, this shows you on which connection the 
message has arrived. Then the new script re-posts the message to the final 
script, depending on the the smsc connection.


  Regards
  Falko


  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:


Hi,

In my cases, the keyword parameter is not important. I would omit it 
because I dont care about the content of SMS I just want to call the URL-s 
regardless the content of SMS-s, but only refering to the respective SMPP 
connections (2 in this case) that I`m using. 

Thanks
Elton


On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas  wrote:

  Yes. There is an extensive section in the user manual about configuring 
and using sms-service. Please read it.

  BR,
  Nikos
- Original Message - 
From: Elton Hoxha 
To: kannel users 
Sent: Wednesday, March 11, 2009 6:37 PM
Subject: Re: multiple sms-service


I made it like this:
group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

group = sms-service
keyword = a
catch-all = true  //I tried twice commenting this line too
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

Again I was not able to call the second API, just the first.

Thanks
Elton



On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:

  Hi guys,

  Is it possible to make a configuration like this:

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal
  get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal1
  get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  After both SMSC were binded I was able to send MO and to call only 
the first API. The second one didnt work.

  Any idea?

  Thanks
  Elton








Re: multiple sms-service

2009-03-12 Thread Elton Hoxha
yes i know that without the correct keyword defined the smsbox service
doesnt start.

But I tried to use keyword-regex as well, making keyword-regex = .* (it
means catching all the content rigt?)
So the keyword should be defined in a way that doesnt have to be dependent
on the content of SMS I sent.

Elton

On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas  wrote:

>  The issue is that the keyword might not be important to you, but it
> certainly is important for the sms-service if it is going to work. You
> better read the manual.
>
> Nikos
>
> - Original Message -
> *From:* Falko Ziemann 
> *To:* Elton Hoxha 
> *Cc:* Nikos Balkanas  ; kannel users
> *Sent:* Thursday, March 12, 2009 8:46 AM
> *Subject:* Re: multiple sms-service
>
> Hi,
> I think I would add an additional script where the message is posted first.
> Add the switch "%o" to the request, this shows you on which connection the
> message has arrived. Then the new script re-posts the message to the final
> script, depending on the the smsc connection.
>
> Regards
> Falko
>
>  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:
>
> Hi,
>
> In my cases, the keyword parameter is not important. I would omit it
> because I dont care about the content of SMS I just want to call the URL-s
> regardless the content of SMS-s, but only refering to the respective SMPP
> connections (2 in this case) that I`m using.
>
> Thanks
> Elton
>
> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas wrote:
>
>>  Yes. There is an extensive section in the user manual about configuring
>> and using sms-service. Please read it.
>>
>> BR,
>> Nikos
>>
>>  - Original Message -
>> *From:* Elton Hoxha 
>> *To:* kannel users 
>>   *Sent:* Wednesday, March 11, 2009 6:37 PM
>> *Subject:* Re: multiple sms-service
>>
>> I made it like this:
>> group = sms-service
>> keyword = default
>> catch-all = true
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal
>> get-url = "
>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> group = sms-service
>> keyword = a
>> catch-all = true  //I tried twice commenting this line too
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal1
>> get-url = "
>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> Again I was not able to call the second API, just the first.
>>
>> Thanks
>> Elton
>>
>>
>> On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
>>
>>> Hi guys,
>>>
>>> Is it possible to make a configuration like this:
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal
>>> get-url = "
>>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal1
>>> get-url = "
>>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> After both SMSC were binded I was able to send MO and to call only the
>>> first API. The second one didnt work.
>>>
>>> Any idea?
>>>
>>> Thanks
>>> Elton
>>>
>>
>>
>
>


Re: multiple sms-service

2009-03-12 Thread Nikos Balkanas
No. Don't do that. It is unpredictable behaviour if you include both default 
and *.

Nikos
  - Original Message - 
  From: Elton Hoxha 
  To: Nikos Balkanas 
  Cc: Falko Ziemann ; kannel users 
  Sent: Thursday, March 12, 2009 9:58 AM
  Subject: Re: multiple sms-service


  yes i know that without the correct keyword defined the smsbox service doesnt 
start.

  But I tried to use keyword-regex as well, making keyword-regex = .* (it means 
catching all the content rigt?)
  So the keyword should be defined in a way that doesnt have to be dependent on 
the content of SMS I sent.

  Elton


  On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas  wrote:

The issue is that the keyword might not be important to you, but it 
certainly is important for the sms-service if it is going to work. You better 
read the manual.

Nikos
  - Original Message - 
  From: Falko Ziemann 
  To: Elton Hoxha 
  Cc: Nikos Balkanas ; kannel users 
  Sent: Thursday, March 12, 2009 8:46 AM
  Subject: Re: multiple sms-service


  Hi, 


  I think I would add an additional script where the message is posted 
first. Add the switch "%o" to the request, this shows you on which connection 
the message has arrived. Then the new script re-posts the message to the final 
script, depending on the the smsc connection.


  Regards
  Falko


  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:


Hi,

In my cases, the keyword parameter is not important. I would omit it 
because I dont care about the content of SMS I just want to call the URL-s 
regardless the content of SMS-s, but only refering to the respective SMPP 
connections (2 in this case) that I`m using. 

Thanks
Elton


On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas  
wrote:

  Yes. There is an extensive section in the user manual about 
configuring and using sms-service. Please read it.

  BR,
  Nikos
- Original Message - 
From: Elton Hoxha 
To: kannel users 
Sent: Wednesday, March 11, 2009 6:37 PM
    Subject: Re: multiple sms-service


I made it like this:
group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

group = sms-service
keyword = a
catch-all = true  //I tried twice commenting this line 
too
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

Again I was not able to call the second API, just the first.

Thanks
Elton



On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  
wrote:

  Hi guys,

  Is it possible to make a configuration like this:

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal
  get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal1
  get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  After both SMSC were binded I was able to send MO and to call 
only the first API. The second one didnt work.

  Any idea?

  Thanks
  Elton










Re: multiple sms-service

2009-03-12 Thread Elton Hoxha
I suspect it is a routing problem through different SMSC. Even If I define a
keyword to check the content in one of my sms-service group, the sms-service
is working only for the keyword=default group

group = sms-service
keyword = default
catch-all = true max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "
http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

group = sms-service
keyword = test
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = "
http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"


On Thu, Mar 12, 2009 at 9:01 AM, Nikos Balkanas  wrote:

>  No. Don't do that. It is unpredictable behaviour if you include both
> default and *.
>
> Nikos
>
> - Original Message -
> *From:* Elton Hoxha 
> *To:* Nikos Balkanas 
> *Cc:* Falko Ziemann  ; kannel users 
> *Sent:* Thursday, March 12, 2009 9:58 AM
> *Subject:* Re: multiple sms-service
>
> yes i know that without the correct keyword defined the smsbox service
> doesnt start.
>
> But I tried to use keyword-regex as well, making keyword-regex = .* (it
> means catching all the content rigt?)
> So the keyword should be defined in a way that doesnt have to be dependent
> on the content of SMS I sent.
>
> Elton
>
> On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas wrote:
>
>>  The issue is that the keyword might not be important to you, but it
>> certainly is important for the sms-service if it is going to work. You
>> better read the manual.
>>
>> Nikos
>>
>> - Original Message -----
>> *From:* Falko Ziemann 
>> *To:* Elton Hoxha 
>> *Cc:* Nikos Balkanas  ; kannel users
>> *Sent:* Thursday, March 12, 2009 8:46 AM
>> *Subject:* Re: multiple sms-service
>>
>> Hi,
>> I think I would add an additional script where the message is posted
>> first. Add the switch "%o" to the request, this shows you on which
>> connection the message has arrived. Then the new script re-posts the message
>> to the final script, depending on the the smsc connection.
>>
>> Regards
>> Falko
>>
>>  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:
>>
>> Hi,
>>
>> In my cases, the keyword parameter is not important. I would omit it
>> because I dont care about the content of SMS I just want to call the URL-s
>> regardless the content of SMS-s, but only refering to the respective SMPP
>> connections (2 in this case) that I`m using.
>>
>> Thanks
>> Elton
>>
>> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas wrote:
>>
>>>  Yes. There is an extensive section in the user manual about configuring
>>> and using sms-service. Please read it.
>>>
>>> BR,
>>> Nikos
>>>
>>>  - Original Message -
>>> *From:* Elton Hoxha 
>>> *To:* kannel users 
>>>   *Sent:* Wednesday, March 11, 2009 6:37 PM
>>> *Subject:* Re: multiple sms-service
>>>
>>> I made it like this:
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal
>>> get-url = "
>>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> group = sms-service
>>> keyword = a
>>> catch-all = true  //I tried twice commenting this line too
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal1
>>> get-url = "
>>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>> "
>>>
>>> Again I was not able to call the second API, just the first.
>>>
>>> Thanks
>>> Elton
>>>
>>>
>>> On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  wrote:
>>>
>>>> Hi guys,
>>>>
>>>> Is it possible to make a configuration like this:
>>>>
>>>> group = sms-service
>>>> keyword = default
>>>> catch-all = true
>>>> max-messages = 0
>>>> concatenation = true
>>>> accepted-smsc = internal
>>>> get-url = "
>>>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>>> "
>>>>
>>>> group = sms-service
>>>> keyword = default
>>>> catch-all = true
>>>> max-messages = 0
>>>> concatenation = true
>>>> accepted-smsc = internal1
>>>> get-url = "
>>>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>>> "
>>>>
>>>> After both SMSC were binded I was able to send MO and to call only the
>>>> first API. The second one didnt work.
>>>>
>>>> Any idea?
>>>>
>>>> Thanks
>>>> Elton
>>>>
>>>
>>>
>>
>>
>


Re: multiple sms-service

2009-03-12 Thread Nikos Balkanas
Please don't suspect anything. Read the manual. Everything is written in great 
detail.
  - Original Message - 
  From: Elton Hoxha 
  To: Nikos Balkanas 
  Cc: Falko Ziemann ; kannel users 
  Sent: Thursday, March 12, 2009 10:15 AM
  Subject: Re: multiple sms-service


  I suspect it is a routing problem through different SMSC. Even If I define a 
keyword to check the content in one of my sms-service group, the sms-service is 
working only for the keyword=default group

  group = sms-service
  keyword = default
  catch-all = true 
  max-messages = 0
  concatenation = true
  accepted-smsc = internal
  get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  group = sms-service
  keyword = test

  max-messages = 0
  concatenation = true
  accepted-smsc = internal1
  get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";



  On Thu, Mar 12, 2009 at 9:01 AM, Nikos Balkanas  wrote:

No. Don't do that. It is unpredictable behaviour if you include both 
default and *.

Nikos
  - Original Message - 
  From: Elton Hoxha 
  To: Nikos Balkanas 
  Cc: Falko Ziemann ; kannel users 
  Sent: Thursday, March 12, 2009 9:58 AM
  Subject: Re: multiple sms-service


  yes i know that without the correct keyword defined the smsbox service 
doesnt start.

  But I tried to use keyword-regex as well, making keyword-regex = .* (it 
means catching all the content rigt?)
  So the keyword should be defined in a way that doesnt have to be 
dependent on the content of SMS I sent.

  Elton


  On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas  
wrote:

The issue is that the keyword might not be important to you, but it 
certainly is important for the sms-service if it is going to work. You better 
read the manual.

Nikos
  - Original Message - 
  From: Falko Ziemann 
  To: Elton Hoxha 
  Cc: Nikos Balkanas ; kannel users 
  Sent: Thursday, March 12, 2009 8:46 AM
  Subject: Re: multiple sms-service


  Hi, 


  I think I would add an additional script where the message is posted 
first. Add the switch "%o" to the request, this shows you on which connection 
the message has arrived. Then the new script re-posts the message to the final 
script, depending on the the smsc connection.


  Regards
  Falko


  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:


Hi,

In my cases, the keyword parameter is not important. I would omit 
it because I dont care about the content of SMS I just want to call the URL-s 
regardless the content of SMS-s, but only refering to the respective SMPP 
connections (2 in this case) that I`m using. 

Thanks
Elton


On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas 
 wrote:

  Yes. There is an extensive section in the user manual about 
configuring and using sms-service. Please read it.

  BR,
  Nikos
- Original Message - 
From: Elton Hoxha 
To: kannel users 
Sent: Wednesday, March 11, 2009 6:37 PM
Subject: Re: multiple sms-service


I made it like this:
group = sms-service
keyword = default
catch-all = true
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

group = sms-service
keyword = a
catch-all = true  //I tried twice commenting this 
line too
max-messages = 0
concatenation = true
accepted-smsc = internal1
get-url = 
"http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

Again I was not able to call the second API, just the first.

Thanks
Elton



On Wed, Mar 11, 2009 at 3:11 PM, Elton Hoxha  
wrote:

  Hi guys,

  Is it possible to make a configuration like this:

  group = sms-service
  keyword = default
  catch-all = true
  max-messages = 0
  concatenation = true
  accepted-smsc = internal
  get-url = 
"http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";

  group = sms-service
  keyword = default
  catc

Re: multiple sms-service

2009-03-12 Thread Elton Hoxha
Something strange noticed!

I am playing with accepted-smsc parameter inside the block.
I deleted one of them having only one service-sms. internal is 7,
internal1 is 15106 range.

group = sms-service
keyword = default
catch-all = true
#disables the sending of SMS
max-messages = 0
concatenation = true
accepted-smsc = internal
get-url = "
http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
"

Now when I edit this accepted-smsc and make it internal1, I`m able to send
MO SMS, but making it internal1 is not working at all.

Isnt this a routing problem?


On Thu, Mar 12, 2009 at 9:15 AM, Elton Hoxha  wrote:

> I suspect it is a routing problem through different SMSC. Even If I define
> a keyword to check the content in one of my sms-service group, the
> sms-service is working only for the keyword=default group
>
> group = sms-service
> keyword = default
> catch-all = true
> max-messages = 0
> concatenation = true
> accepted-smsc = internal
> get-url = "
> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
> group = sms-service
> keyword = test
> max-messages = 0
> concatenation = true
> accepted-smsc = internal1
> get-url = "
> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
>
> On Thu, Mar 12, 2009 at 9:01 AM, Nikos Balkanas wrote:
>
>>  No. Don't do that. It is unpredictable behaviour if you include both
>> default and *.
>>
>> Nikos
>>
>> - Original Message -
>>  *From:* Elton Hoxha 
>>  *To:* Nikos Balkanas 
>> *Cc:* Falko Ziemann  ; kannel users 
>> *Sent:* Thursday, March 12, 2009 9:58 AM
>> *Subject:* Re: multiple sms-service
>>
>> yes i know that without the correct keyword defined the smsbox service
>> doesnt start.
>>
>> But I tried to use keyword-regex as well, making keyword-regex = .* (it
>> means catching all the content rigt?)
>> So the keyword should be defined in a way that doesnt have to be dependent
>> on the content of SMS I sent.
>>
>> Elton
>>
>> On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas wrote:
>>
>>>  The issue is that the keyword might not be important to you, but it
>>> certainly is important for the sms-service if it is going to work. You
>>> better read the manual.
>>>
>>> Nikos
>>>
>>> - Original Message -
>>>  *From:* Falko Ziemann 
>>> *To:* Elton Hoxha 
>>> *Cc:* Nikos Balkanas  ; kannel users
>>> *Sent:* Thursday, March 12, 2009 8:46 AM
>>> *Subject:* Re: multiple sms-service
>>>
>>> Hi,
>>> I think I would add an additional script where the message is posted
>>> first. Add the switch "%o" to the request, this shows you on which
>>> connection the message has arrived. Then the new script re-posts the message
>>> to the final script, depending on the the smsc connection.
>>>
>>> Regards
>>> Falko
>>>
>>>  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:
>>>
>>> Hi,
>>>
>>> In my cases, the keyword parameter is not important. I would omit it
>>> because I dont care about the content of SMS I just want to call the URL-s
>>> regardless the content of SMS-s, but only refering to the respective SMPP
>>> connections (2 in this case) that I`m using.
>>>
>>> Thanks
>>> Elton
>>>
>>> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas wrote:
>>>
>>>>  Yes. There is an extensive section in the user manual about
>>>> configuring and using sms-service. Please read it.
>>>>
>>>> BR,
>>>> Nikos
>>>>
>>>>  - Original Message -
>>>>  *From:* Elton Hoxha 
>>>> *To:* kannel users 
>>>>   *Sent:* Wednesday, March 11, 2009 6:37 PM
>>>> *Subject:* Re: multiple sms-service
>>>>
>>>> I made it like this:
>>>> group = sms-service
>>>> keyword = default
>>>> catch-all = true
>>>> max-messages = 0
>>>> concatenation = true
>>>> accepted-smsc = internal
>>>> get-url = "
>>>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>>>> "
>>>>
>>>> group = sms-service
>>>> keyword = a
>>>> catch-all = true  //I tried twice commenting thi

Re: multiple sms-service

2009-03-12 Thread Elton Hoxha
Sorry, at the last line should be *"but making it internal"*

On Thu, Mar 12, 2009 at 9:33 AM, Elton Hoxha  wrote:

> Something strange noticed!
>
> I am playing with accepted-smsc parameter inside the block.
> I deleted one of them having only one service-sms. internal is 7,
> internal1 is 15106 range.
>
> group = sms-service
> keyword = default
> catch-all = true
> #disables the sending of SMS
> max-messages = 0
> concatenation = true
> accepted-smsc = internal
> get-url = "
> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
>
> Now when I edit this accepted-smsc and make it internal1, I`m able to send
> MO SMS, but making it internal1 is not working at all.
>
> Isnt this a routing problem?
>
>
>
> On Thu, Mar 12, 2009 at 9:15 AM, Elton Hoxha  wrote:
>
>> I suspect it is a routing problem through different SMSC. Even If I define
>> a keyword to check the content in one of my sms-service group, the
>> sms-service is working only for the keyword=default group
>>
>> group = sms-service
>> keyword = default
>> catch-all = true
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal
>> get-url = "
>> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>> group = sms-service
>> keyword = test
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal1
>> get-url = "
>> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
>> "
>>
>>
>> On Thu, Mar 12, 2009 at 9:01 AM, Nikos Balkanas wrote:
>>
>>>  No. Don't do that. It is unpredictable behaviour if you include both
>>> default and *.
>>>
>>> Nikos
>>>
>>> - Original Message -
>>>  *From:* Elton Hoxha 
>>>  *To:* Nikos Balkanas 
>>> *Cc:* Falko Ziemann  ; kannel users 
>>> *Sent:* Thursday, March 12, 2009 9:58 AM
>>> *Subject:* Re: multiple sms-service
>>>
>>> yes i know that without the correct keyword defined the smsbox service
>>> doesnt start.
>>>
>>> But I tried to use keyword-regex as well, making keyword-regex = .* (it
>>> means catching all the content rigt?)
>>> So the keyword should be defined in a way that doesnt have to be
>>> dependent on the content of SMS I sent.
>>>
>>> Elton
>>>
>>> On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas wrote:
>>>
>>>>  The issue is that the keyword might not be important to you, but it
>>>> certainly is important for the sms-service if it is going to work. You
>>>> better read the manual.
>>>>
>>>> Nikos
>>>>
>>>> - Original Message -
>>>>  *From:* Falko Ziemann 
>>>> *To:* Elton Hoxha 
>>>> *Cc:* Nikos Balkanas  ; kannel users
>>>> *Sent:* Thursday, March 12, 2009 8:46 AM
>>>> *Subject:* Re: multiple sms-service
>>>>
>>>> Hi,
>>>> I think I would add an additional script where the message is posted
>>>> first. Add the switch "%o" to the request, this shows you on which
>>>> connection the message has arrived. Then the new script re-posts the 
>>>> message
>>>> to the final script, depending on the the smsc connection.
>>>>
>>>> Regards
>>>> Falko
>>>>
>>>>  Am 11.03.2009 um 18:22 schrieb Elton Hoxha:
>>>>
>>>> Hi,
>>>>
>>>> In my cases, the keyword parameter is not important. I would omit it
>>>> because I dont care about the content of SMS I just want to call the URL-s
>>>> regardless the content of SMS-s, but only refering to the respective SMPP
>>>> connections (2 in this case) that I`m using.
>>>>
>>>> Thanks
>>>> Elton
>>>>
>>>> On Wed, Mar 11, 2009 at 5:49 PM, Nikos Balkanas wrote:
>>>>
>>>>>  Yes. There is an extensive section in the user manual about
>>>>> configuring and using sms-service. Please read it.
>>>>>
>>>>> BR,
>>>>> Nikos
>>>>>
>>>>>  - Original Message -
>>>>>  *From:* Elton Hoxha 
>>>>> *To:* kannel users 
>>>>>   *Sent:* Wednesday, March 11, 2009 6:37 PM
>>>>>

Re: multiple sms-service

2009-03-12 Thread Alvaro Cornejo
Elton

Please read the answers to your posts. The solution is on previous mails.

1) Can't have 2 defaults keywords nor catch all. You will have
unpredictable results

2) Your best bes is to use an "inbetween" script that will route the
message to the appropiate final script/application. You can use %o
and/or %i to detect from which connection the message came from and
forward call accordingly

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 Thu, Mar 12, 2009 at 3:35 AM, Elton Hoxha  wrote:
> Sorry, at the last line should be "but making it internal"
>
> On Thu, Mar 12, 2009 at 9:33 AM, Elton Hoxha  wrote:
>>
>> Something strange noticed!
>>
>> I am playing with accepted-smsc parameter inside the block.
>> I deleted one of them having only one service-sms. internal is 7,
>> internal1 is 15106 range.
>>
>> group = sms-service
>> keyword = default
>> catch-all = true
>> #disables the sending of SMS
>> max-messages = 0
>> concatenation = true
>> accepted-smsc = internal
>> get-url =
>> "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>
>> Now when I edit this accepted-smsc and make it internal1, I`m able to send
>> MO SMS, but making it internal1 is not working at all.
>>
>> Isnt this a routing problem?
>>
>>
>> On Thu, Mar 12, 2009 at 9:15 AM, Elton Hoxha  wrote:
>>>
>>> I suspect it is a routing problem through different SMSC. Even If I
>>> define a keyword to check the content in one of my sms-service group, the
>>> sms-service is working only for the keyword=default group
>>>
>>> group = sms-service
>>> keyword = default
>>> catch-all = true
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal
>>> get-url =
>>> "http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>>
>>> group = sms-service
>>> keyword = test
>>> max-messages = 0
>>> concatenation = true
>>> accepted-smsc = internal1
>>> get-url =
>>> "http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i";
>>>
>>>
>>> On Thu, Mar 12, 2009 at 9:01 AM, Nikos Balkanas 
>>> wrote:
>>>>
>>>> No. Don't do that. It is unpredictable behaviour if you include both
>>>> default and *.
>>>>
>>>> Nikos
>>>>
>>>> - Original Message -
>>>> From: Elton Hoxha
>>>> To: Nikos Balkanas
>>>> Cc: Falko Ziemann ; kannel users
>>>> Sent: Thursday, March 12, 2009 9:58 AM
>>>> Subject: Re: multiple sms-service
>>>> yes i know that without the correct keyword defined the smsbox service
>>>> doesnt start.
>>>>
>>>> But I tried to use keyword-regex as well, making keyword-regex = .* (it
>>>> means catching all the content rigt?)
>>>> So the keyword should be defined in a way that doesnt have to be
>>>> dependent on the content of SMS I sent.
>>>>
>>>> Elton
>>>>
>>>> On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas 
>>>> wrote:
>>>>>
>>>>> The issue is that the keyword might not be important to you, but it
>>>>> certainly is important for the sms-service if it is going to work. You
>>>>> better read the manual.
>>>>>
>>>>> Nikos
>>>>>
>>>>> - Original Message -
>>>>> From: Falko Ziemann
>>>>> To: Elton Hoxha
>>>>> Cc: Nikos Balkanas ; kannel users
>>>>> Sent: Thursday, March 12, 2009 8:46 AM
>>>>> Subject: Re: multiple sms-service
>>>>> Hi,
>>>>> I think I would add an additional script where the message is posted
>>>>> first. Add the switch "%o" to the request, this shows you on which
>>>>> connection the message has arrived. Then the new script re-posts the 
>>>>> message
>>>>> to the final script, depending on the the smsc conne

Re: multiple sms-service

2009-03-12 Thread Elton Hoxha
Thanks Alvaro, Nikos and all the others,

I managed to make it functionalIt was not kannel fault, or
configurationjust destination definition issue in SMSC.

Sorry for being rude :)

Elton

On Thu, Mar 12, 2009 at 2:02 PM, Alvaro Cornejo wrote:

> Elton
>
> Please read the answers to your posts. The solution is on previous mails.
>
> 1) Can't have 2 defaults keywords nor catch all. You will have
> unpredictable results
>
> 2) Your best bes is to use an "inbetween" script that will route the
> message to the appropiate final script/application. You can use %o
> and/or %i to detect from which connection the message came from and
> forward call accordingly
>
> 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 Thu, Mar 12, 2009 at 3:35 AM, Elton Hoxha  wrote:
> > Sorry, at the last line should be "but making it internal"
> >
> > On Thu, Mar 12, 2009 at 9:33 AM, Elton Hoxha  wrote:
> >>
> >> Something strange noticed!
> >>
> >> I am playing with accepted-smsc parameter inside the block.
> >> I deleted one of them having only one service-sms. internal is 7,
> >> internal1 is 15106 range.
> >>
> >> group = sms-service
> >> keyword = default
> >> catch-all = true
> >> #disables the sending of SMS
> >> max-messages = 0
> >> concatenation = true
> >> accepted-smsc = internal
> >> get-url =
> >> "
> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
> >>
> >> Now when I edit this accepted-smsc and make it internal1, I`m able to
> send
> >> MO SMS, but making it internal1 is not working at all.
> >>
> >> Isnt this a routing problem?
> >>
> >>
> >> On Thu, Mar 12, 2009 at 9:15 AM, Elton Hoxha  wrote:
> >>>
> >>> I suspect it is a routing problem through different SMSC. Even If I
> >>> define a keyword to check the content in one of my sms-service group,
> the
> >>> sms-service is working only for the keyword=default group
> >>>
> >>> group = sms-service
> >>> keyword = default
> >>> catch-all = true
> >>> max-messages = 0
> >>> concatenation = true
> >>> accepted-smsc = internal
> >>> get-url =
> >>> "
> http://10.1.2.66:33106/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
> >>>
> >>> group = sms-service
> >>> keyword = test
> >>> max-messages = 0
> >>> concatenation = true
> >>> accepted-smsc = internal1
> >>> get-url =
> >>> "
> http://10.1.2.66:33777/KannelGetSms.asmx/GetSms?originator=%p&destination=%P&text=%a&smsctype=%i
> "
> >>>
> >>>
> >>> On Thu, Mar 12, 2009 at 9:01 AM, Nikos Balkanas 
> >>> wrote:
> >>>>
> >>>> No. Don't do that. It is unpredictable behaviour if you include both
> >>>> default and *.
> >>>>
> >>>> Nikos
> >>>>
> >>>> - Original Message -
> >>>> From: Elton Hoxha
> >>>> To: Nikos Balkanas
> >>>> Cc: Falko Ziemann ; kannel users
> >>>> Sent: Thursday, March 12, 2009 9:58 AM
> >>>> Subject: Re: multiple sms-service
> >>>> yes i know that without the correct keyword defined the smsbox service
> >>>> doesnt start.
> >>>>
> >>>> But I tried to use keyword-regex as well, making keyword-regex = .*
> (it
> >>>> means catching all the content rigt?)
> >>>> So the keyword should be defined in a way that doesnt have to be
> >>>> dependent on the content of SMS I sent.
> >>>>
> >>>> Elton
> >>>>
> >>>> On Thu, Mar 12, 2009 at 8:52 AM, Nikos Balkanas 
> >>>> wrote:
> >>>>>
> >>>>> The issue is that the keyword might not be important to you, but it
> >>>>> certainly is important for the sms-service if it i