Dear friends:

  I am a newbie and greatly will appreciate your help on the following
question, since there is nothing, but nothing in terms of documentation that
can give me a hint on how to use a Motorola i776 connected via the USB port.
I have read the entire user's guide, and here is what I have so far:

1) On a Centos 5.4 system, I compiled and started bearerbox and smsbox...
they are running beautifully.
2) I got fakesmsc to work well.
3) However, how do I know the following:
    1. What is the name of the USB port on my linux system?  Is it
/dev/ttyXXX what?, and then, since the computer has like 4 different USB
ports, how do I know which one is it?
    2. does anyone has a sample configuration for a usb Motorola phone ?

Thanks a lot everybody

C. Savinovich





-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of users-requ...@kannel.org
Sent: Tuesday, January 19, 2010 10:57 AM
To: users@kannel.org
Subject: users Digest, Vol 41, Issue 61

Send users mailing list submissions to
        users@kannel.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.kannel.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
        users-requ...@kannel.org

You can reach the person managing the list at
        users-ow...@kannel.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of users digest..."


Today's Topics:

   1. Re: cannot recieve sms (Alvaro Cornejo)
   2. Re: cannot recieve sms (Munir Ahmad)
   3. Re: Count SMS units for Unicode Messages (Nikos Balkanas)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Jan 2010 08:46:10 -0500
From: Alvaro Cornejo <cornejo.alv...@gmail.com>
Subject: Re: cannot recieve sms
To: Munir Ahmad <munir.eh...@gmail.com>
Cc: users@kannel.org
Message-ID:
        <c8c167b01001190546m5a61fce7y5a211c46d3459...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

You need to tell your modem to pass the sms to kannel using at+cnmi command
and/or tell kannel to look for the messages in the modems:
sim-buffering = true...

read the manual for 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.NET www.smsglobal.com.mx y
www.pravcom.com



On Tue, Jan 19, 2010 at 8:25 AM, Munir Ahmad <munir.eh...@gmail.com> wrote:
> Thankyou, my configuration file is now like this but still no luck
>
>> group = core
>> admin-port = 13330
>> smsbox-port = 13331
>> admin-password = bar
>> log-file = "./kannel.log"
>> log-level = 0
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "127.0.0.1"
>>
>> group = smsc
>> smsc = at
>> smsc-id = "MainSMSC"
>> modemtype = auto
>> device = /dev/ttyACM0
>> my-number = 03214542634
>> connect-allow-ip = 127.0.0.1
>> keepalive = 60
>> log-file = "smsc.log"
>> log-level = 0
>> speed = 115200
>>
>> group = smsbox
>> bearerbox-host = 127.0.0.1
>> smsbox-id = main
>> sendsms-port = 13332
>> global-sender = 03214542634
>> #sendsms-chars = 0123456789
>> #black-list = "banned_nos.txt"
>> log-level = 0
>> log-file = "smsbox.log"
>>
>> group = sendsms-user
>> username = black
>> password = pathanrox69
>> concatenation = true
>> max-messages = 10
>>
>> group = sms-service
>> keyword = service
>> catch-all = yes
>> max-messages = 0
>> exec = gedit
>> #get-url = "http://localhost/getsms?from=%p";
>> #file = "msgs.txt"
>>
>> group = sms-service
>> keyword = default
>> text = "No service specified"
>>
>> group = smsbox-route
>> smsbox-id = main
>>
>> group = modems
>> id = generic
>> name = MotoU6
>> no-pin = true
>> init-string = "AT+CNMI=3,2,0,0"
>
>
> ?????!
>
>
> On Tue, Jan 19, 2010 at 6:05 PM, Cezary Siwek 
> <cza...@thebestisp.co.uk>
> wrote:
>>
>> you have to configure smsbox-route group. check the manual for more info.
>>
>> BR
>>
>>
>> ----- Original Message -----
>> From: Munir Ahmad
>> To: users@kannel.org
>> Sent: 19 January 2010 12:52
>> Subject: cannot recieve sms
>> I have been pulling hairs for two days but no luck please help me.
>>
>> here is my config:
>>
>>> group = core
>>> admin-port = 13330
>>> smsbox-port = 13331
>>> admin-password = bar
>>> log-file = "./kannel.log"
>>> log-level = 0
>>> box-deny-ip = "*.*.*.*"
>>> box-allow-ip = "127.0.0.1"
>>>
>>> group = smsc
>>> smsc = at
>>> smsc-id = "MainSMSC"
>>> modemtype = auto
>>> device = /dev/ttyACM0
>>> my-number = 03214542634
>>> connect-allow-ip = 127.0.0.1
>>> keepalive = 60
>>> log-file = "smsc.log"
>>> log-level = 0
>>> speed = 115200
>>>
>>> group = smsbox
>>> bearerbox-host = 127.0.0.1
>>> sendsms-port = 13332
>>> global-sender = 03214542634
>>> #sendsms-chars = 0123456789
>>> #black-list = "banned_nos.txt"
>>> log-level = 0
>>> log-file = "smsbox.log"
>>>
>>> group = sendsms-user
>>> username = black
>>> password = pathanrox69
>>> concatenation = true
>>> max-messages = 10
>>>
>>> group = sms-service
>>> keyword-regex = (.*)
>>> catch-all = yes
>>> max-messages = 0
>>> get-url = "http://localhost/getsms?from=%p";
>>> #file = "msgs.txt"
>>>
>>> group = sms-service
>>> keyword = default
>>> text = "No service specified"
>>>
>>>
>>> group = modems
>>> id = generic
>>> name = MotoU6
>>> no-pin = true
>>> init-string = "AT"
>>
>> I can successfully receive msgs sent to my connected U6 but cannot 
>> hit the get-url when a message is sent to my U6, it simply goes to my
cell in inbox.
>> Please help me
>>
>> ?????!
>
>



------------------------------

Message: 2
Date: Tue, 19 Jan 2010 18:50:02 +0500
From: Munir Ahmad <munir.eh...@gmail.com>
Subject: Re: cannot recieve sms
To: Alvaro Cornejo <cornejo.alv...@gmail.com>
Cc: users@kannel.org
Message-ID:
        <3d4ebeff1001190550s505ca911w339d4a99246cb...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Success, after doing some research I found out AT command was not set
properly.

after doing this:
init-string = "AT+CNMI=3,1,0,0"

in group modems I now receive messages, (log file shows) :

2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: received message from
> SMSC: +923210006001
> 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: Numeric sender
> (international) <+923214542634>
> 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: User data length 
> read as (16)
> 2010-01-19 18:46:11 [10491] [6] DEBUG: AT2[MainSMSC]: Udh decoding 
> done
> len=16 udhi=0 udhlen=0 udh=''
> 2010-01-19 18:46:11 [10491] [6] WARNING: smsbox_list empty!
>

but one last thing, can you please tell me why the warning in end? I have
smsbox configured, what is list? and also my get-url is not working, means
my PHP page cannot read the recieved msgs, but logs show that kannel is
recieving.

Here is my sms-srevice config:

group = sms-service
> keyword = default
> catch-all = yes
> max-messages = 0
> #exec = gedit
> get-url = "http://localhost/getsms.php?from=%p&text=%r&time=%t";
> #file = "msgs.txt"
>

?????!


On Tue, Jan 19, 2010 at 6:46 PM, Alvaro Cornejo
<cornejo.alv...@gmail.com>wrote:

> You need to tell your modem to pass the sms to kannel using at+cnmi 
> command and/or tell kannel to look for the messages in the modems:
> sim-buffering = true...
>
> read the manual for 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.NET www.smsglobal.com.mx y 
> www.pravcom.com
>
>
>
> On Tue, Jan 19, 2010 at 8:25 AM, Munir Ahmad <munir.eh...@gmail.com>
> wrote:
> > Thankyou, my configuration file is now like this but still no luck
> >
> >> group = core
> >> admin-port = 13330
> >> smsbox-port = 13331
> >> admin-password = bar
> >> log-file = "./kannel.log"
> >> log-level = 0
> >> box-deny-ip = "*.*.*.*"
> >> box-allow-ip = "127.0.0.1"
> >>
> >> group = smsc
> >> smsc = at
> >> smsc-id = "MainSMSC"
> >> modemtype = auto
> >> device = /dev/ttyACM0
> >> my-number = 03214542634
> >> connect-allow-ip = 127.0.0.1
> >> keepalive = 60
> >> log-file = "smsc.log"
> >> log-level = 0
> >> speed = 115200
> >>
> >> group = smsbox
> >> bearerbox-host = 127.0.0.1
> >> smsbox-id = main
> >> sendsms-port = 13332
> >> global-sender = 03214542634
> >> #sendsms-chars = 0123456789
> >> #black-list = "banned_nos.txt"
> >> log-level = 0
> >> log-file = "smsbox.log"
> >>
> >> group = sendsms-user
> >> username = black
> >> password = pathanrox69
> >> concatenation = true
> >> max-messages = 10
> >>
> >> group = sms-service
> >> keyword = service
> >> catch-all = yes
> >> max-messages = 0
> >> exec = gedit
> >> #get-url = "http://localhost/getsms?from=%p";
> >> #file = "msgs.txt"
> >>
> >> group = sms-service
> >> keyword = default
> >> text = "No service specified"
> >>
> >> group = smsbox-route
> >> smsbox-id = main
> >>
> >> group = modems
> >> id = generic
> >> name = MotoU6
> >> no-pin = true
> >> init-string = "AT+CNMI=3,2,0,0"
> >
> >
> > ?????!
> >
> >
> > On Tue, Jan 19, 2010 at 6:05 PM, Cezary Siwek 
> > <cza...@thebestisp.co.uk>
> > wrote:
> >>
> >> you have to configure smsbox-route group. check the manual for more
> info.
> >>
> >> BR
> >>
> >>
> >> ----- Original Message -----
> >> From: Munir Ahmad
> >> To: users@kannel.org
> >> Sent: 19 January 2010 12:52
> >> Subject: cannot recieve sms
> >> I have been pulling hairs for two days but no luck please help me.
> >>
> >> here is my config:
> >>
> >>> group = core
> >>> admin-port = 13330
> >>> smsbox-port = 13331
> >>> admin-password = bar
> >>> log-file = "./kannel.log"
> >>> log-level = 0
> >>> box-deny-ip = "*.*.*.*"
> >>> box-allow-ip = "127.0.0.1"
> >>>
> >>> group = smsc
> >>> smsc = at
> >>> smsc-id = "MainSMSC"
> >>> modemtype = auto
> >>> device = /dev/ttyACM0
> >>> my-number = 03214542634
> >>> connect-allow-ip = 127.0.0.1
> >>> keepalive = 60
> >>> log-file = "smsc.log"
> >>> log-level = 0
> >>> speed = 115200
> >>>
> >>> group = smsbox
> >>> bearerbox-host = 127.0.0.1
> >>> sendsms-port = 13332
> >>> global-sender = 03214542634
> >>> #sendsms-chars = 0123456789
> >>> #black-list = "banned_nos.txt"
> >>> log-level = 0
> >>> log-file = "smsbox.log"
> >>>
> >>> group = sendsms-user
> >>> username = black
> >>> password = pathanrox69
> >>> concatenation = true
> >>> max-messages = 10
> >>>
> >>> group = sms-service
> >>> keyword-regex = (.*)
> >>> catch-all = yes
> >>> max-messages = 0
> >>> get-url = "http://localhost/getsms?from=%p";
> >>> #file = "msgs.txt"
> >>>
> >>> group = sms-service
> >>> keyword = default
> >>> text = "No service specified"
> >>>
> >>>
> >>> group = modems
> >>> id = generic
> >>> name = MotoU6
> >>> no-pin = true
> >>> init-string = "AT"
> >>
> >> I can successfully receive msgs sent to my connected U6 but cannot 
> >> hit
> the
> >> get-url when a message is sent to my U6, it simply goes to my cell 
> >> in
> inbox.
> >> Please help me
> >>
> >> ?????!
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.kannel.org/pipermail/users/attachments/20100119/61184fc1/attachm
ent-0001.html>

------------------------------

Message: 3
Date: Tue, 19 Jan 2010 17:56:19 +0200
From: "Nikos Balkanas" <n...@amdtelecom.net>
Subject: Re: Count SMS units for Unicode Messages
To: "Jinson" <jin...@mobme.in>
Cc: users <users@kannel.org>
Message-ID: <610802d64ada4143b8cfece1ed6e5...@tardis>
Content-Type: text/plain; charset="windows-1253"

No.

The actual 8-bit bytes are string/2. These have to be matched against a
maximum of ~140 octets in an SMS. Remember to use correct coding & charset
(read user's guide) in your sendsms url.

BR,
Nikos
  ----- Original Message -----
  From: Jinson
  To: Nikos Balkanas
  Cc: users
  Sent: Tuesday, January 19, 2010 10:38 AM
  Subject: Re: Count SMS units for Unicode Messages



  This is HEX code .

 
e0b487e0b4a4e0b58d20e0b48ee0b4a8e0b58de0b4b1e0b58620e0b486e0b4a6e0b58de0b4af
e0b4a4e0b58de0b4a4e0b58620e0b4b8e0b4a8e0b58de0b4a6e0b587e0b4b6e0b482

  So just length of this string / 4 will count the actual characters ?
  --------
  Thanks
  Jinson Abraham
  MobME Wireless Solutions Pvt. Ltd
  Cochin
  +91 4846492646


  MobME storms into Emerging 50 Companies in India by Nasscom




  2010/1/19 Nikos Balkanas <n...@amdtelecom.net>

    I don't know how you make your php script. But if you convert everything
to binary (i.e. hex) just read off the bytes.

    PS: There is no ASCII value for hindi chars!

    BR,
    Nikos
      ----- Original Message ----- 
      From: Jinson 
      To: Nikos Balkanas 
      Cc: users 
      Sent: Tuesday, January 19, 2010 9:10 AM
      Subject: Re: Count SMS units for Unicode Messages


      So just counting the chars in my incoming hindi text * 2 will get the
number characters for sending sms?


      Im doing the conversion like this in php.
      1. get the numeric ascii value of the letter
      2. convert it to hex and add a percent (%)


      --------
      Thanks
      Jinson Abraham
      MobME Wireless Solutions Pvt. Ltd
      Cochin
      +91 4846492646


      MobME storms into Emerging 50 Companies in India by Nasscom




      2010/1/19 Nikos Balkanas <n...@amdtelecom.net>

        Hi,

        Each unicode character counts as 2 regular chars. That is, unicode
chars above the regular ASCII (hindu chars for example).

        BR,
        Nikos
          ----- Original Message ----- 
          From: Jinson 
          To: users 
          Sent: Tuesday, January 19, 2010 8:39 AM
          Subject: Count SMS units for Unicode Messages


          Hello Group,

          How do we count SMS units for a unicode message?

          Suppose I want to submit Hindi Messages from a PHP script, how do
I calculate the number for characters and units consumed?
          --------
          Thanks
          Jinson Abraham





-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.kannel.org/pipermail/users/attachments/20100119/82245462/attachm
ent.html>

------------------------------

_______________________________________________
users mailing list
users@kannel.org
http://www.kannel.org/mailman/listinfo/users


End of users Digest, Vol 41, Issue 61
*************************************


Reply via email to