g
>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. init-string for Motorola E6 (Gurminder) > 2. Re: init-string for Motorola E6 (Nikos Balkanas) > 3. send messages to multiple numbers using sqlbox > (Harbhag Singh Sohal) > 4. unable to find out the error (Harbhag Singh Sohal) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Fri, 1 Oct 2010 02:24:15 +0530 >From: Gurminder <sgurmin...@gmail.com> >To: users@kannel.org >Subject: init-string for Motorola E6 >Message-ID: > <aanlktimb-u0elutdpqggadac5bqa36iboqgwzn+um...@mail.gmail.com> >Content-Type: text/plain; charset="iso-8859-1" > >Hello, > I am trying to make kannel work with motorokr E6 gsm phone. >It seems I am not able to get the init-string right. Has any one tried hands >on >Motorola modem. Below is the configuration. Also How much time it takes to >send one sms >using GSM smsc in kannel ? I want to send bulk sms and very fast. > > > >group = core >admin-port = 13000 >smsbox-port = 13001 >admin-password = bar >#status-password = foo >#admin-deny-ip = "" >#admin-allow-ip = "" >log-file = "/tmp/kannel.log" >log-level = 0 >box-deny-ip = "*.*.*.*" >box-allow-ip = "127.0.0.1" >#unified-prefix = "+358,00358,0;+,00" >#access-log = "/tmp/access.log" >#store-file = "kannel.store" >#ssl-server-cert-file = "cert.pem" >#ssl-server-key-file = "key.pem" >#ssl-certkey-file = "mycertandprivkeyfile.pem" > >group = modems >id = Motorola >name = "Motorola" >detect-string = "Motorola" >#init-string = "ATZ;ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0;AT +CGDCONT=1" >init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" >#init-string = "AT +CGDCONT=1;AT +CNMI=?" >need-sleep = true >speed = 115200 >need-sleep = true >message-storage="SM" > >#group = modems >#id = generic >#name = "generic" >#init-string = "AT+CGDCONT=1" >#need-sleep = true > >#--------------------------------------------- ># SMSC CONNECTIONS ># ># SMSC connections are created in bearerbox and they handle SMSC specific ># protocol and message relying. You need these to actually receive and send ># messages to handset, but can use GSM modems as virtual SMSCs > > ># This is a fake smsc connection, _only_ used to test the system and >services. ># It really cannot relay messages to actual handsets! > >#group = smsc >#smsc = fake >#smsc-id = FAKE > >#port = 10000 >#connect-allow-ip = 127.0.0.1 > >group = smsc >smsc = at >modemtype = Motorola >device = /dev/ttyACM0 >speed = 0 >pin = 1234 > >#--------------------------------------------- ># SMSBOX SETUP ># ># Smsbox(es) do higher-level SMS handling after they have been received from ># SMS centers by bearerbox, or before they are given to bearerbox for >delivery > >group = smsbox >bearerbox-host = 127.0.0.1 >sendsms-port = 13013 >global-sender = 13013 >#sendsms-chars = "0123456789 +-" >#log-file = "/tmp/smsbox.log" >#log-level = 0 >#access-log = "/tmp/access.log" > >#--------------------------------------------- ># SEND-SMS USERS ># ># These users are used when Kannel smsbox sendsms interface is used to ># send PUSH sms messages, i.e. calling URL like ># >http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar. >.. > >group = sendsms-user >username = tester >password = foobar >#user-deny-ip = "" >#user-allow-ip = "" > >#--------------------------------------------- ># SERVICES ># ># These are 'responses' to sms PULL messages, i.e. messages arriving from ># handsets. The response is based on message content. Only one sms-service >is ># applied, using the first one to match. > >group = sms-service >keyword = nop >text = "You asked nothing and I did it!" > ># There should be always a 'default' service. This service is used when no ># other 'sms-service' is applied. > >group = sms-service >keyword = default >text = "No service specified" >-- >-------------------------------------------------------------- > >Thanks, >Guri >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: ><http://www.kannel.org/pipermail/users/attachments/20101001/05020c54/attachment-0001.html> > >------------------------------ > >Message: 2 >Date: Fri, 1 Oct 2010 01:46:13 +0300 >From: "Nikos Balkanas" <nbalka...@gmail.com> >To: "Gurminder" <sgurmin...@gmail.com>, <users@kannel.org> >Subject: Re: init-string for Motorola E6 >Message-ID: <6c6adfaf9fc3428396af5a0dfccd3...@drwho> >Content-Type: text/plain; format=flowed; charset="windows-1253"; > reply-type=original > >Hi, > >Please read latest UG. There is a special section detailing modem setup & >initialization. > >GSM modems are not suited for large/volume fast SMS. You should get an SMSc >for that. Many carriers will disable your SIM if they realize you are >sending many SMS. People in this list have reported 4-5 SMS/min using GSM >modems. > >BR, >Nikos >----- Original Message ----- >From: Gurminder >To: users@kannel.org >Sent: Thursday, September 30, 2010 11:54 PM >Subject: init-string for Motorola E6 > > >Hello, > I am trying to make kannel work with motorokr E6 gsm phone. >It seems I am not able to get the init-string right. Has any one tried hands >on >Motorola modem. Below is the configuration. Also How much time it takes to >send one sms >using GSM smsc in kannel ? I want to send bulk sms and very fast. > > > >group = core >admin-port = 13000 >smsbox-port = 13001 >admin-password = bar >#status-password = foo >#admin-deny-ip = "" >#admin-allow-ip = "" >log-file = "/tmp/kannel.log" >log-level = 0 >box-deny-ip = "*.*.*.*" >box-allow-ip = "127.0.0.1" >#unified-prefix = "+358,00358,0;+,00" >#access-log = "/tmp/access.log" >#store-file = "kannel.store" >#ssl-server-cert-file = "cert.pem" >#ssl-server-key-file = "key.pem" >#ssl-certkey-file = "mycertandprivkeyfile.pem" > >group = modems >id = Motorola >name = "Motorola" >detect-string = "Motorola" >#init-string = "ATZ;ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0;AT +CGDCONT=1" >init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" >#init-string = "AT +CGDCONT=1;AT +CNMI=?" >need-sleep = true >speed = 115200 >need-sleep = true >message-storage="SM" > >#group = modems >#id = generic >#name = "generic" >#init-string = "AT+CGDCONT=1" >#need-sleep = true > >#--------------------------------------------- ># SMSC CONNECTIONS ># ># SMSC connections are created in bearerbox and they handle SMSC specific ># protocol and message relying. You need these to actually receive and send ># messages to handset, but can use GSM modems as virtual SMSCs > > ># This is a fake smsc connection, _only_ used to test the system and >services. ># It really cannot relay messages to actual handsets! > >#group = smsc >#smsc = fake >#smsc-id = FAKE > >#port = 10000 >#connect-allow-ip = 127.0.0.1 > >group = smsc >smsc = at >modemtype = Motorola >device = /dev/ttyACM0 >speed = 0 >pin = 1234 > >#--------------------------------------------- ># SMSBOX SETUP ># ># Smsbox(es) do higher-level SMS handling after they have been received from ># SMS centers by bearerbox, or before they are given to bearerbox for >delivery > >group = smsbox >bearerbox-host = 127.0.0.1 >sendsms-port = 13013 >global-sender = 13013 >#sendsms-chars = "0123456789 +-" >#log-file = "/tmp/smsbox.log" >#log-level = 0 >#access-log = "/tmp/access.log" > >#--------------------------------------------- ># SEND-SMS USERS ># ># These users are used when Kannel smsbox sendsms interface is used to ># send PUSH sms messages, i.e. calling URL like ># >http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar... > >group = sendsms-user >username = tester >password = foobar >#user-deny-ip = "" >#user-allow-ip = "" > >#--------------------------------------------- ># SERVICES ># ># These are 'responses' to sms PULL messages, i.e. messages arriving from ># handsets. The response is based on message content. Only one sms-service >is ># applied, using the first one to match. > >group = sms-service >keyword = nop >text = "You asked nothing and I did it!" > ># There should be always a 'default' service. This service is used when no ># other 'sms-service' is applied. > >group = sms-service >keyword = default >text = "No service specified" >-- >-------------------------------------------------------------- > >Thanks, >Guri > > > > >------------------------------ > >Message: 3 >Date: Fri, 1 Oct 2010 09:29:01 +0530 >From: Harbhag Singh Sohal <harbhag.so...@gmail.com> >To: users@kannel.org >Subject: send messages to multiple numbers using sqlbox >Message-ID: > <aanlkti=jd_2ohk5enzyrsttx=k4549c_g=h3+atwr...@mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >I am using the following query to send sms >INSERT INTO send_sms ( > momt, sender, receiver, msgdata, sms_type >) VALUES ( > 'MT', '1234', '1234567890', 'Hello world', 2 >); > >I can send message to the single number without any problem but I want >to know how can I send message to multiple numbers. From http >interface I can achieve this by simply typing multiple numbers with + >sign between them. > > > >------------------------------ > >Message: 4 >Date: Fri, 1 Oct 2010 09:44:55 +0530 >From: Harbhag Singh Sohal <harbhag.so...@gmail.com> >To: users@kannel.org >Subject: unable to find out the error >Message-ID: > <aanlktik7bbzmwm9vdz0x4a32gtt=duclancu0xoz=...@mail.gmail.com> >Content-Type: text/plain; charset="iso-8859-1" > >I just checked my bb log and it was full with the errors like below. I >dont understand what is causing these error. >2010-10-01 09:41:54 [24414] [3] ERROR: System error 98: Address already in use >2010-10-01 09:41:54 [24414] [0] INFO: Set SMS resend frequency to 60 seconds. >2010-10-01 09:41:54 [24414] [3] PANIC: Could not open smsbox port 13018 >2010-10-01 09:41:54 [24414] [0] INFO: SMS resend retry set to unlimited. >2010-10-01 09:41:54 [24414] [3] PANIC: >/usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed] >2010-10-01 09:41:54 [24414] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8] >2010-10-01 09:41:54 [24414] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d] >2010-10-01 09:41:54 [24414] [3] PANIC: >/lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xfaf96e] >2010-10-01 09:41:54 [24414] [3] PANIC: >/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x5d7a4e] >2010-10-01 09:42:22 [24426] [0] INFO: Added logfile >`/var/log/kannel/bearerbox.log' with level `1'. >2010-10-01 09:42:22 [24426] [0] INFO: Started access logfile >`/var/log/kannel/access.log'. >2010-10-01 09:42:22 [24426] [0] INFO: HTTP: Opening server at port 13015. >2010-10-01 09:42:22 [24426] [0] ERROR: bind failed >2010-10-01 09:42:22 [24426] [0] ERROR: System error 98: Address already in use >2010-10-01 09:42:22 [24426] [0] INFO: BOXC: 'smsbox-max-pending' not >set, using default (100). >2010-10-01 09:42:22 [24426] [3] ERROR: bind failed >2010-10-01 09:42:22 [24426] [3] ERROR: System error 98: Address already in use >2010-10-01 09:42:22 [24426] [0] INFO: Set SMS resend frequency to 60 seconds. >2010-10-01 09:42:22 [24426] [3] PANIC: Could not open smsbox port 13018 >2010-10-01 09:42:22 [24426] [0] INFO: SMS resend retry set to unlimited. >2010-10-01 09:42:22 [24426] [3] PANIC: >/usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed] >2010-10-01 09:42:22 [24426] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8] >2010-10-01 09:42:22 [24426] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d] >2010-10-01 09:42:22 [24426] [3] PANIC: >/lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x13b96e] >2010-10-01 09:42:22 [24426] [3] PANIC: >/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x767a4e] >2010-10-01 09:42:54 [24431] [0] INFO: Added logfile >`/var/log/kannel/bearerbox.log' with level `1'. >2010-10-01 09:42:54 [24431] [0] INFO: Started access logfile >`/var/log/kannel/access.log'. >2010-10-01 09:42:54 [24431] [0] INFO: HTTP: Opening server at port 13015. >2010-10-01 09:42:54 [24431] [0] ERROR: bind failed >2010-10-01 09:42:54 [24431] [0] ERROR: System error 98: Address already in use >2010-10-01 09:42:54 [24431] [0] INFO: BOXC: 'smsbox-max-pending' not >set, using default (100). >2010-10-01 09:42:54 [24431] [3] ERROR: bind failed >2010-10-01 09:42:54 [24431] [3] ERROR: System error 98: Address already in use >2010-10-01 09:42:54 [24431] [3] PANIC: Could not open smsbox port 13018 >2010-10-01 09:42:54 [24431] [0] INFO: Set SMS resend frequency to 60 seconds. >2010-10-01 09:42:54 [24431] [0] INFO: SMS resend retry set to unlimited. >2010-10-01 09:42:54 [24431] [3] PANIC: >/usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed] >2010-10-01 09:42:54 [24431] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8] >2010-10-01 09:42:54 [24431] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d] >2010-10-01 09:42:54 [24431] [3] PANIC: >/lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xfab96e] >2010-10-01 09:42:54 [24431] [3] PANIC: >/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x68ba4e] >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: kannel.conf >Type: application/octet-stream >Size: 1908 bytes >Desc: not available >URL: ><http://www.kannel.org/pipermail/users/attachments/20101001/4d763054/attachment.obj> >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: sqlbox.conf >Type: application/octet-stream >Size: 1437 bytes >Desc: not available >URL: ><http://www.kannel.org/pipermail/users/attachments/20101001/4d763054/attachment-0001.obj> > >------------------------------ > >_______________________________________________ >users mailing list >users@kannel.org >http://www.kannel.org/mailman/listinfo/users > > >End of users Digest, Vol 50, Issue 1 >************************************ This message was sent via Synchronica Mobile Gateway