Re: multi-part sms order

2007-11-06 Thread Ady Wicaksono
kannel will split it one by one following GSM 03.40 standard
if you connect to the phone using AT+Command
then the firmware of phone can not be predictable if you try to compare
between
1. sending using AT+Command (this method should done by kannel)
2. sending using mobile phone itself

On 11/6/07, Aaron Simmons [EMAIL PROTECTED] wrote:

 It isn't that big of a deal, but it is a kind of weird user experience if
 there's a delay between parts.  They're sitting there with part three but
 can't really do anything with it until part one comes in.

 Anyway, I'll look at the smsc log.  Trouble is, the pdu format is rather
 obtuse to me.  Its hard to tell what's what...  Does kannel send the whole
 sms to the phone in one go and its the phone's job to split it up, or does
 kannel send it piece by piece?


 On Nov 6, 2007 4:01 PM, Ady Wicaksono [EMAIL PROTECTED] wrote:

  Hi, you can activate log file to see what really happened
  but I think this is not really important thing to know
 
 
  On 11/6/07, Aaron Simmons  [EMAIL PROTECTED] wrote:
  
   fyi, this is a kannel setup using a gsm cellphone, not smpp or any
   other gateway.
  
   The weird thing is, its quite consistent.  I can send a three-part sms
   *by hand* using the same phone and it will arrive at its destination in
   order (part 1 first, etc).  But when I send the same three-part sms via
   kannel it arrives backwards (part 3 first, etc).
  
   This sounds like a dumb question, but...what order does kannel send a
   multipart message in?
  
  
   On Nov 5, 2007 12:44 PM, info.ubichip  [EMAIL PROTECTED] wrote:
  
 Hi all,
   
   
   
AFAIK, send content through SMS should be  managed by a protocol
such as SAR : Segmentation And Reassembly, this is a  Mécanism used
to segment and reassemble the different paquets
   
   
   
SAR is used with wap gateway and is supposed to be handled by the
phone as well.
   
   
   
The fact that the packets are arrived in the correct order is upon
the operator responsibility (typically differents SMS are not always 
proceed
by the same SMSC), there is nothing to do on the kannel side.
   
   
   
Hope that helps,
   
   
   
Regards
   
   
 --
   
*From:* Ady Wicaksono [mailto:[EMAIL PROTECTED]
*Sent:* dimanche 4 novembre 2007 20:37
*To:* [EMAIL PROTECTED]
*Cc:* users@kannel.org
*Subject:* Re: multi-part sms order
   
   
   
It's normal, and offcourse mobile phone must wait all messages to
arrive first until it can reassemble the message.
   
   
 On 11/5/07, *Aaron Simmons* [EMAIL PROTECTED] wrote:
   
My system is sending a lot of multi-part smses.  While the sending
works, I've noticed that the parts usually arrive in reverse order or 
out of
order.  e.g., if I'm sending a three-part sms, part three will
arrive at the user's phone first, followed by part two, followed by part
one.  The user's phone will of course reassemble the message, but they 
must
wait to read their message until part one arrives.
   
Is anyone else seeing this?  Or is it an idiosyncracy of the gsm
phone I'm using to send the messages?  I'm using kannel 1.4.1 with a
nokia.
   
   
Thanks,
aaron
   
   
   
   
--
Regards,
   
Ady Wicaksono
Email:
ady.wicaksono at gmail.com
http://adywicaksono.wordpress.com/
   
   
--
   
Antivirus avast! http://www.avast.com: message Sortant sain.
   
Base de donnees virale (VPS) : 071104-0, 04/11/2007
Analyse le : 04/11/2007 20:44:24
avast! - copyright (c) 1988-2007 ALWIL Software.
   
   
  
 
 
  --
  Regards,
 
  Ady Wicaksono
  Email:
  ady.wicaksono at gmail.com
  http://adywicaksono.wordpress.com/
 




-- 
Regards,

Ady Wicaksono
Email:
ady.wicaksono at gmail.com
http://adywicaksono.wordpress.com/


Re[2]: sqlbox and keywords/regex

2007-11-06 Thread seik
exactly

you may set kannel sms-service by regexps thought in same time



-Original Message-
From: Aaron Simmons [EMAIL PROTECTED]
Sent: 06 Ноември 2007 г.
To: seik
Subject:sqlbox and keywords/regex 

 I see, so kannel isn't actually doing anything with keywords.  The keyword 
 matching is done by your own code.

 On Nov 5, 2007 9:56 PM, [EMAIL PROTECTED]  wrote:
 in case your config processes MO traffic only, your sql should do the regexp 
 you will have insert events only



 -Original Message-
 From: Aaron Simmons [EMAIL PROTECTED]
 Sent: 05 Ноември 2007 г.
 To: [EMAIL PROTECTED]

 Subject:sqlbox and keywords/regex

 Does anyone have an example of using sqlbox to do keyword processing?  I'm 
 using sqlbox-- it has created the send_sms 
 and sent_sms tables.  I'm not clear where the keywords/regexs go-- there 
 doesn't appear to be a table for it.  Perhaps I'm misunderstanding how this 
 works?

 On Oct 22, 2007 10:36 AM, seik  [EMAIL PROTECTED] wrote:
 you could set sqlbox to get all the traffic  - MO, DLR, MT in one table, via 
 simple default service description.
 so you may skip the http request step and the regexps will be performed on 
 sql level. 

 even, in case you use postgresql , you could set rules on insert in a view 
 to automate the processing according the incoming text content,
 but but this is not a kannel related issue i believe.

 -Original Message-
 From: Aaron Simmons [EMAIL PROTECTED]
 Sent: 22 Октомври 2007 г.
 To: seikath

 Subject:keyword-regex and matching spaces 

 What I've gathered of sqlbox is that it contains a queue table for
 smses to send and a table of logs and DLRs.  Does sqlbox handle
 keyword matching, or is that still up to the sms-service conf file and/or 
 external app? 


 On 10/21/07, seik [EMAIL PROTECTED] wrote:
 well,
 you always could read the source from here
 http://www.kannel.org/~mconte/sqlbox/

 and kannel users mailing list like this one:

 http://www.kannel.org/pipermail/users/2006-October/000859.html 

 cheers


 -Original Message-
 From: Aaron Simmons [EMAIL PROTECTED]
 Sent: 21 Октомври 2007 г.
 To: [EMAIL PROTECTED]
 Subject:keyword-regex and matching spaces

 Where is sqlbox documented?  Is it a new feature?


 On Aug 31, 2007, at 9:05 PM, seik wrote: 

 exactly

 sqlbox to handle all the traffic
 ONE default service and the services routing rules are applied upon
 db insert 

 much easier to implement any new service without touching kannel
 instance at all



 
 -Original Message-
 From: Rodrigo Cremaschi [EMAIL PROTECTED] ]
 Sent: 31 ?? 2007 ?.
 To: seik 
 Subject:keyword-regex and matching spaces

 Hello Aaron,

 This seems to be kind of a philosofical discussion, but at some 
 point in time, you will find much easier to modify a script than to
 modify the config file and restart kannel just for a minor change.

 Best regards, 

 Rodrigo

 On 8/31/07, Aaron Simmons  [EMAIL PROTECTED] wrote:
 I've run into a problem with keyword-regexp and matching spaces. 
 Kannel won't match spaces.  Though it doesn't appear to be
 documented
 (clearly?) in the Kannel User's Guide, its mentioned a couple 
 times on
 this mailing list.

 My question is: why?  Does Kannel throw out everything past the
 first 
 space and only feed the first word to the regexp engine?  I
 understand
 that the sms-service feature is designed to facilitate single-
 keyword
 matching, but still...this seems like an arbitrary limitation.

 For any kind of semi-complex patterns, the user has to send the sms 
 off to a program that can handle regex's with spaces.  Its
 doable, but
 its a pain.  I'd rather have all of my logic in the conf file and 
 not
 split between the conf file and some other scripts.



 Thanks, 
 aaron




















wavecom WMOD2B pdu_extract fails intermittently

2007-11-06 Thread Johno Crawford
Any idea as to why the pdu_extract fails intermittently..? Eventually 
the SMS will decode OK, however it is crucial that there is no / little 
delay.


Fedora release 7 (Moonshine)
cvs-20071018
libxml2 2.6.29-1.fc7
Intel Core 2 Duo

# SMSC GSM
group = smsc
smsc = at
smsc-id = wavecom
modemtype = wavecom
device = /dev/ttyS1

# GSM MODEM SETUP
group = modems
id = wavecom
name = Wavecom
detect-string = WAVECOM
message-storage = SM
#init-string = AT+CNMI=2,1,1,2,1
#speed = 9600
need-sleep = true
no-pin = true

-- snip --

2007-11-06 21:49:42 [28669] [6] INFO: AT2[wavecom]: AT SMSC successfully 
opened.

2007-11-06 21:51:36 [28669] [6] DEBUG: AT2[wavecom]: -- +CMT: ,22
2007-11-06 21:51:36 [28669] [6] DEBUG: AT2[wavecom]: -- 
07914786007F0040B911604941502F07011600215330403C6F71B
2007-11-06 21:51:36 [28669] [6] DEBUG: AT2[wavecom]: received message 
from SMSC: +746800F70004
2007-11-06 21:51:36 [28669] [6] ERROR: AT2[wavecom]: got +CMT but 
pdu_extract failed

2007-11-06 21:52:15 [28669] [6] DEBUG: AT2[wavecom]: -- +CMT: ,22
2007-11-06 21:52:15 [28669] [6] DEBUG: AT2[wavecom]: -- 
079786007FB911604941502F07011600215330403C6F71B
2007-11-06 21:52:15 [28669] [6] DEBUG: AT2[wavecom]: received message 
from SMSC: +6800F79B
2007-11-06 21:52:15 [28669] [6] ERROR: AT2[wavecom]: got +CMT but 
pdu_extract failed

2007-11-06 21:58:00 [28669] [6] DEBUG: AT2[wavecom]: -- +CMT: ,22
2007-11-06 21:58:00 [28669] [6] DEBUG: AT2[wavecom]: -- 
07911614786007FB911604941502F07011600215330403C6F71B
2007-11-06 21:58:00 [28669] [6] DEBUG: AT2[wavecom]: received message 
from SMSC: ..


-- end snip --


--
Johno Crawford



Re: init-string on modem configuration

2007-11-06 Thread Aditya M

i have added detect-string = Motorola and detect-string2 = L7, on smsbox
succesfull send but it still on the bearerbox have error invalid PDU mode
parameter. btw i using gsm modem Motorola L7.
-- 
View this message in context: 
http://www.nabble.com/init-string-on-modem-configuration-tf4756239.html#a13604393
Sent from the Kannel - User mailing list archive at Nabble.com.




unsubscribe;

2007-11-06 Thread Ilija Cutura google





receive SMS with v3r

2007-11-06 Thread [EMAIL PROTECTED]
i have problem with the sim-buffering system, with my motorola v3r.

my config file

group = smsc
smsc = at
smsc-id = MotoModem
modemtype = auto
sim-buffering = true
device = /dev/ttyACM0
pin = 1234

group = modems
id = generic
name = Motorola
init-string = AT+CMGF=1
need-sleep = true
enable-mms = true
speed = 115200

output:
..
2007-11-06 17:06:20 [8924] [4] DEBUG: AT2[MotoModem]: -- ATZ^M
2007-11-06 17:06:20 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:20 [8924] [4] DEBUG: AT2[MotoModem]: -- AT^M
2007-11-06 17:06:20 [8924] [4] DEBUG: AT2[MotoModem]: -- AT
2007-11-06 17:06:20 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:20 [8924] [4] DEBUG: AT2[MotoModem]: -- ATF^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- ATF
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- ATE0^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- ATE0
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+IFC=2,2^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CPIN?^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- +CPIN: READY
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CMGF=0^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CSMS=?^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- +CSMS: (128)
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CMGF=1^M
2007-11-06 17:06:21 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:21 [8924] [4] INFO: AT2[MotoModem]: AT SMSC successfully
opened.
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CPMS?^M
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- +CPMS:
MT,80,254,OM,45,254,IM,34,254
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- OK
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: 80 messages waiting in
memory
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CMGR=1^M
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- ERROR
2007-11-06 17:06:23 [8924] [4] ERROR: AT2[MotoModem]: Generic error: ERROR
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: failed to get message
1.
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CMGR=2^M
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- ERROR
2007-11-06 17:06:23 [8924] [4] ERROR: AT2[MotoModem]: Generic error: ERROR
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: failed to get message
2.
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- AT+CMGR=3^M
2007-11-06 17:06:23 [8924] [4] DEBUG: AT2[MotoModem]: -- ERROR

then Kannel enter in a loop.

Can anyone help me?


RE: Separate Logs

2007-11-06 Thread info.ubichip
Use a grep on the log file !

 

Hope that help

 

 

  _  

From: Otandeka Simon Peter [mailto:[EMAIL PROTECTED] 
Sent: mardi 6 novembre 2007 09:49
To: users@kannel.org
Subject: Separate Logs

 

 

Hello guys,

 

I need your help.

I wish to have two separate log tables.

One for holding successful SMSs and another to hold failed ones.

 

 

At the moment, i have one log table that stores any message that hits.

 

What is the easiest way I can do it.

Do I have to change anything in my configuration?

 

Regards

Peter

 

 



  _  

Antivirus avast! http://www.avast.com : message Sortant sain. 


Base de donnees virale (VPS) : 071105-1, 05/11/2007
Analyse le : 06/11/2007 09:29:28
avast! - copyright (c) 1988-2007 ALWIL Software.




PDU decoding

2007-11-06 Thread Diego Castillo
Hello,

I'm using Kannel to send some wap push messages and I'd like to decode the
PDUs for troubleshooting. This is what I see in the Kannel logs:

2007-11-06 12:29:30 Sent SMS [SMSC:smsc-0] [SVC:ppg] [ACT:] [BINF:]
[from:...] [to:...] [flags:-1:1:-1:-1:0]
[msg:72:0106246170706C69636174696F6E2F766E642E7761702E656D6E2B7762786D6C00AF
898DA1C393030D6A008507036F6D615F656D6E407961686F6F2E65730005C305200711061201
] [udh:7:...]

So far I have been able to separate the headers (010624 plus the next 36
bytes) from the payload (which looks fine). However, I'm unable to decode
the last bytes from my headers, more precisely: 0xAF 0x89 0x8D 0xA1 0xC3
0x93.

Has anyone experience on decoding such tokenised headers?

Thanks in advance,


Diego




Re: PDU decoding

2007-11-06 Thread Ady Wicaksono
See this one:

Example Service Indication XML is like this:

?xml version=1.0?
!DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN
http://www.wapforum.org/DTD/si.dtd;
si
indication href=http://www.xyz.com/email/123/abc.wml;
created=1999-06-25T15:23:15Z
si-expires=2099-06-30T00:00:00Z
You have 4 new emails
/indication
/si

Decode that one to WBXML rule, so we have

02 05 6A 00 45 C6 0D 03 'x' 'y' 'z' 00 85 03 'e' 'm'
'a' 'i' 'l' '/' '1' '2' '3' '/' 'a' 'b' 'c' '.' 'w' 'm' 'l' 00
0A C3 07 19 99 06 25 15 23 15 10 C3 04 20 99 06
30 01 03 'Y' 'o' 'u' ' ' 'h' 'a' 'v' 'e' ' ' '4' ' ' 'n' 'e'
'w' ' ' 'e' '-' 'm' 'a' 'i' 'l' 's' 00 01 01

or

02056A0045C60D0378797A008503656D61696C2F3132332F6162632E776D6C000AC307199906251
5231510C304209906030103596F7520686176652034206E657720652D6D61696C73000101

detail

02  WBXML versi 1.2
05 SI 1.0 Public Identifier,
6A charset UTF-8
00 Length of table string=0x00
45 Tag si without attribute followed by content
C6 Tag indication with attribute followed by content
0D code for attribute href=http://www.;
03 String followed
'x','y','z', 00 String xyz ended by NULL (0x00)
85 string .com/
03 String followed
'e', 'm', 'a', 'i', 'l', '/', '1', '2','3', '/', 'a', 'b', 'c', '.',
'w', 'm','l', 00: String email/123/abc.wml ende dby  NULL (0x00)
0A attribute created=
C3 Penanda bahwa ada tipe data OPAQUE yang
07 Panjang = 7 bytes
19,99,06,25,15,23,15 Data opaque yang dimaksud. Data ini mengacu
ke informasi tanggal 1999-06-25 15:23:15
10 Kode untuk atribut si-expires=
C3 data OPAQUE following
04 Length = 4 bytes
20,99,06,30 Opaq Data refer to this date:  2099-06-30 00:00:00
01 END (end of attribute)
03 String followed
'Y','o','u',' ','h','a','v','e',' ','4', ' ','e','-
','m','a','i','l','s',00 String You have 4 emails ended by NULL (0x00)
01 END (of indication) -tag /indication
01 END (of si) - tag /si

Then we need to append WSP Header

01060403AE81EA

Detail:
01 Push ID
06 WSP PDU Type = Push
04 Length PDU Push WSP followed = 4 octet
03 Length of content type + header = 3 octet
AE content type: application/vnd.wap.sic (originally value is 0x2E)
Must be coded with OR rule with 0x80
0x2E = 00101110
0x80 = 1000
--- OR
0xAE = 10101110

we got 0xAE

81 Header WSP 0x81 = 0x01 | 0x80, which is Accept-Charset
EA Value of header Accept-Charset which is   UTF 8 (hexa 0x6A). 0xEA =
0x6A|0x80


We also need to define header WDP

Header WDP on  SMS: 05040B8423F0

05 IEI (Application Port Schema Addressing, 16 bit)
04 Length  IEI = 4 byte, yakni 4 byte yang mengikuti byte ini
0B84 Port WDP dest SMS = 0x0B84 (hexa) = 2948 (desimal) = WAP Push
connectionless
session service (client side)
23F0 Port WDP sender SMS = 0x23F0 (hexa) = Connectionless WAP Browser Proxy
Server

Totally

05040B8423F0 (WDP Layer)
01060403AE81EA (WSP Layer)
02056A0045C60D0378797A008503656D61696C2F3132332F6162632E776D6C000AC307199906251
5231510C304209906030103596F7520686176652034206E657720652D6D61696C73000101

we got this TP-UD sms

05040B8423F001060403AE81EA02056A0045C60D0378797A008503656D61696C2F3132332F61626
32E776D6C000AC3071999062515231510C304209906030103596F7520686176652034206E657720
652D6D61696C73000101

still under 140 octet right? so we can send it using 1 SMS only

construct SMS like this

55010C9126582602680800F5A75A0605040B8423F001060403AE81EA02056A0045C60D0378797A0
08503656D61696C2F3132332F6162632E776D6C000AC3071999062515231510C304209906030103
596F7520686176652034206E657720652D6D61696C73000101

your WAP Push SMS is ready

Good luck


On 11/7/07, Diego Castillo [EMAIL PROTECTED] wrote:

 Hello,

 I'm using Kannel to send some wap push messages and I'd like to decode the
 PDUs for troubleshooting. This is what I see in the Kannel logs:

 2007-11-06 12:29:30 Sent SMS [SMSC:smsc-0] [SVC:ppg] [ACT:] [BINF:]
 [from:...] [to:...] [flags:-1:1:-1:-1:0]

 [msg:72:0106246170706C69636174696F6E2F766E642E7761702E656D6E2B7762786D6C00AF

 898DA1C393030D6A008507036F6D615F656D6E407961686F6F2E65730005C305200711061201
 ] [udh:7:...]

 So far I have been able to separate the headers (010624 plus the next 36
 bytes) from the payload (which looks fine). However, I'm unable to decode
 the last bytes from my headers, more precisely: 0xAF 0x89 0x8D 0xA1 0xC3
 0x93.

 Has anyone experience on decoding such tokenised headers?

 Thanks in advance,


 Diego





-- 
Regards,

Ady Wicaksono
Email:
ady.wicaksono at gmail.com
http://adywicaksono.wordpress.com/


Re: Memory problem with kannel sms outgoing delivery report

2007-11-06 Thread Alejandro Guerrieri
I'd recommend you to try:

a) Updating to latest CVS. Many bugs where fixed since 1.4.1 and maybe the
problem goes away.
b) Use mysql-based DLR's. If memory is an issue, a database-driven storage
would surely relieve kannel from storing dlr's on memory.

Hope it helps,

Alejandro.

On 11/6/07, Allison Almeida [EMAIL PROTECTED] wrote:

 Andreas.


 I already used kannel with delivery reports in physical servers and
 servers within VMWare.

 In physical servers i detected many leaks of memory when used heavily with
 delivery reports, but in the VMWare the leaks grow up overthrow the
 bearerbox.

 A stable version 1.4.1 solved many leaks, but I still have problems to run
 in VMWare. Today i use in the VMWare only with delivery report in databases.


 Regards.
 Allison Almeida.

 2007/11/6, Andreas Fink [EMAIL PROTECTED]:
 
  I think your issue is maybe that you run out of memory, the kernel stars
  swapping (- slow) and then crashes at the end.The only reason I can
  think of is that you use memory based delivery reports instead of mysql
  based ones and/or that your machine simply doesnt have enough memory to run
  MySQL and Kannel
 
  On 06.11.2007, at 06:23, Yudi Wijaya wrote:
 
  can someone here help me.. i have problem with my debian server, i use
  it for sms gateway use kannel.. well, the problems usually occur when i set
  delivery report for outgoing sms, then my computer become slow, and harddisk
  working, after that bash daemon, mysqld, and bearerbox (kannel) is crashed..
  i use VMWare with HardDisk 2 GB and memory 320MB.. would you see this error
  log: http://pastebin.com/m1df0bb68
  i got those error on debian screen
 
  well, i got no problem with send sms without delivery report
 
 
  Thanks,
  Yudi
 
 
 
 
 
 
  Andreas Fink
 
  Fink Consulting GmbH
  Global Networks Schweiz AG
  BebbiCell AG
  IceCell ehf
 
  ---
  Tel: +41-61-330 Fax: +41-61-331   Mobile: +41-79-2457333
  Address: Clarastrasse 3, 4058 Basel, Switzerland
  E-Mail:   [EMAIL PROTECTED]
  www.finkconsulting.com  www.global-networks.ch www.bebbicell .ch
  ---
  ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink
  Yahoo: finkconsulting SMS: +41792457333
 
 
 
 
 
 




-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri


Fwd: Cannot start smsc. ERROR: System error 2: No such file or directory

2007-11-06 Thread Kudzai Gadzira
-- Forwarded message --
From: Kudzai Gadzira [EMAIL PROTECTED]
Date: Nov 7, 2007 9:00 AM
Subject: Cannot start smsc. ERROR: System error 2: No such file or directory
To: users@kannel.org

Hi all,

i'm using a Motorola C261 as a gsm modem for an sms gateway but I cant start
my smsc.  When I start the bearer box i get the following error:

2007-03-07 17:48:28 [6895] [6] ERROR: System error 2: No such file or
directory
2007-03-07 17:48:28 [6895] [6] DEBUG: AT2[VSMSC]: detecting modem type
2007-03-07 17:48:28 [6895] [6] INFO: AT2[VSMSC]: opening device
2007-03-07 17:48:28 [6895] [6] ERROR: AT2[VSMSC]: open failed! ERRNO=2
2007-03-07 17:48:28 [6895] [6] ERROR System error 2: No such file or
directory


Please help.


Below is my .conf file


group = core

admin-port = 13000

admin-password = bar

smsbox-port = 13001

log-file = /tmp/mobile_companion.log

#log-level = 0

box-deny-ip = *.*.*.*

box-allow-ip = 127.0.0.1



# This is the SMSC group(s). This routes sms requests to/from users to
Kannel



# Fake smsc

#group = smsc

#smsc = fake

#smsc-id = FAKE

#preferred-smsc-id = HTTP

#port = 1

#sms-center = 125

#connect-allow-ip = 127.0.0.1



# GSM SMSC

group = smsc

smsc = at

modemtype = auto

device = /dev/ttyUSB0

speed = 9600

include = /usr/tmp/kannel/modems.conf



group = smsc

smsc = at

smsc-id = my_smsc

modemtype = Motorola

device = /dev/ttyUSB0

speed = 115200



#modems

group = modems

id = Motorola

name = Motorola

init-string = AT+CGDCONT=1

init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

need-sleep = true

enable-mms = true

speed = 115200



# This is the SMSbox group configuration

group = smsbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 13013

log-level = 0



# SERVICES

group = sms-service

keyword = nop

post-url = http://localhost/%S.wml http://localhost/%25S.wml

accept-x-kannel-headers = true

max-messages = 5

concatenation = true

#text = You asked nothing and I did it!

# there should be default always

group = sms-service

keyword = default

text = No service specified



# SEND SMS USER FOR SMS PUSH

group = sendsms-user

username = foo

password = bar

max-messages = 5

concatenation = true