Hi
Add a different log name for each modem. This will ease debug.
Just post initialization of modem. Once it connect to modem it should
start checking all sim mem locations.
Regards
|-----------------------------------------------------------------------------------------------------------------|
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.com
On Sat, Dec 7, 2013 at 10:07 PM, Faizan Mirza <[email protected]> wrote:
> Can you tell me, modem_n.log i set for all or i set different name of
> different modems...
>
> Another thing is if i provide you my config file will you optimize it and
> check for the mistakes i made?
>
>
>
> On 12/08/2013 07:47 AM, Alvaro Cornejo wrote:
>>
>> Hi
>>
>> Allways cc kannel list so you can get help from others and they can
>> benefit from discussion.
>>
>> Can you post the start of the log of the modem? On start kannel should
>> check all sim locations to check if there are sms on sim card and
>> retrieve them. Then it should periodically check for messages.
>>
>> add to each of your smsc=at groups the following in order to have a
>> separate log for each modem.
>>
>> log-level = 0
>> log-file = "/var/log/modem_n.log"
>>
>> 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.com
>>
>>
>> On Sat, Dec 7, 2013 at 2:58 PM, Faizan Mirza <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> It i have deleted SMS and i have set sim-buffering = true but still same
>>> issue
>>>
>>>
>>> On 12/07/2013 11:51 PM, Alvaro Cornejo wrote:
>>>>
>>>> Hi
>>>>
>>>> The error is self explanatory, you modem sim is full. You need to
>>>> delete those messages from it.
>>>>
>>>> You can ask kannel to check for them and delete once processed. use
>>>> sim-buffering=true
>>>>
>>>> Check user guide for more details.
>>>>
>>>> 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.com
>>>>
>>>>
>>>> On Fri, Dec 6, 2013 at 7:08 PM, Faizan Mirza <[email protected]> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> My kannel was working fine but i dont know what happen it is keep
>>>>> giving
>>>>> error:
>>>>>
>>>>> ERROR 500 SIM storage is full etc..
>>>>>
>>>>> I have 3 GSM Modems i have added all without any smsc-id i want to make
>>>>> load
>>>>> balancing
>>>>>
>>>>> My config file:
>>>>>
>>>>> # CORe GROUP
>>>>>
>>>>> group = core
>>>>> admin-port = 13000
>>>>> smsbox-port = 13002
>>>>> admin-password = bar
>>>>> status-password = far
>>>>> log-file = "/var/log/kannel/kannel.log"
>>>>> log-level = 0
>>>>> access-log = "/var/log/kannel/access.log"
>>>>> box-deny-ip = "*.*.*.*"
>>>>> box-allow-ip = "127.0.0.1"
>>>>> #sms-combine-concatenated-mo = true
>>>>>
>>>>> # Smsbox related
>>>>>
>>>>> group = smsbox
>>>>> bearerbox-host = localhost
>>>>> sendsms-port = 13013
>>>>> global-sender = +000000000000
>>>>> log-file = "/var/log/kannel/smsbox.log"
>>>>> log-level = 0
>>>>> access-log = "/var/log/kannel/access.log"
>>>>> sms-length = 1000
>>>>>
>>>>> # SMS SERVICES for GSM 1 Ufone (75)
>>>>>
>>>>> group = smsc
>>>>> smsc = at
>>>>> modemtype = auto
>>>>> device=/dev/ttyUSB1
>>>>> my-number = 000000000
>>>>> sms-center= 0000000000
>>>>> connect-allow-ip = 127.0.0.1
>>>>> log-level = 0
>>>>> sim-buffering = true
>>>>>
>>>>>
>>>>> # SMS SERVICES for GSM 2 Ufone (74)
>>>>>
>>>>> group = smsc
>>>>> smsc = at
>>>>> modemtype = auto
>>>>> device=/dev/ttyUSB5
>>>>> my-number = 00000000000
>>>>> sms-center= 00000000000
>>>>> connect-allow-ip = 127.0.0.1
>>>>> log-level = 0
>>>>> sim-buffering = true
>>>>>
>>>>> # SMS SERVICES for GSM 3 Ufone (73)
>>>>>
>>>>> group = smsc
>>>>> smsc = at
>>>>> modemtype = auto
>>>>> device=/dev/ttyUSB9
>>>>> my-number = 00000000
>>>>> sms-center= 00000000
>>>>> connect-allow-ip = 127.0.0.1
>>>>> log-level = 0
>>>>> sim-buffering = true
>>>>>
>>>>> # SEND-SMS USERS
>>>>>
>>>>> group = sendsms-user
>>>>> username = xxxxx
>>>>> password = xxxxxxxxxxx
>>>>> concatenation= true
>>>>> max-messages = 50
>>>>>
>>>>> include = "/etc/kannel/modems.conf"
>>>>>
>>>>> group = sms-service
>>>>> keyword = default
>>>>> get-url =
>>>>>
>>>>>
>>>>> "http://localhost/sms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a"
>>>>> catch-all = yes
>>>>> max-messages = 0
>>>>> accept-x-kannel-headers = true
>>>>> concatenation = yes
>>>>> omit-empty = yes
>>>>>
>>>>> I will appreciate if someone correct my config file for load balancing
>>>>> multi
>>>>> device SMS.
>>>
>>>
>