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 77777,
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 <elt...@gmail.com> 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 <nbalka...@gmail.com>wrote:
>
>>  No. Don't do that. It is unpredictable behaviour if you include both
>> default and *.
>>
>> Nikos
>>
>> ----- Original Message -----
>>  *From:* Elton Hoxha <elt...@gmail.com>
>>  *To:* Nikos Balkanas <nbalka...@gmail.com>
>> *Cc:* Falko Ziemann <fal...@gmail.com> ; kannel users <users@kannel.org>
>> *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 <nbalka...@gmail.com>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 <fal...@gmail.com>
>>> *To:* Elton Hoxha <elt...@gmail.com>
>>> *Cc:* Nikos Balkanas <nbalka...@gmail.com> ; kannel users<users@kannel.org>
>>> *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 <nbalka...@gmail.com>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 <elt...@gmail.com>
>>>> *To:* kannel users <users@kannel.org>
>>>>   *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 <elt...@gmail.com> 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
>>>>>
>>>>
>>>>
>>>
>>>
>>
>

Reply via email to