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: GSM Modem seems to hang after extended periods

2007-09-03 Thread Johno Crawford
Purchased a new power pack for the UltraLite, I read that power supplies 
dipping below spec can cause the serial port to lock up.


http://www.gsm-modem.de/gsm-faq.html


Johno Crawford wrote:

Hi Marc,

Are you running a keepalive command?


Marc Wan wrote:


  we've noticed the same thing with a Siemens GSM modem (serial).  
Every few weeks, we have to restart Kannel.  No idea why.   Ubuntu 6.10.




On 8/24/07, *Johno Crawford* wrote:

I have tried countless configuration changes, however after an 
extended
period of time the UltraLite Eip will stop notifying Kannel of 
incoming

SMS. I did however, notice I could send SMS'..

[snip]

In order to receive SMS, the kannel service needs to be kicked.. any
suggestions at all appreciated.





--
Johno Crawford



Re: GSM Modem seems to hang after extended periods

2007-08-24 Thread Johno Crawford

Hi Marc,

Are you running a keepalive command?


Marc Wan wrote:


  we've noticed the same thing with a Siemens GSM modem (serial).  Every 
few weeks, we have to restart Kannel.  No idea why.   Ubuntu 6.10.




On 8/24/07, *Johno Crawford* wrote:

I have tried countless configuration changes, however after an extended
period of time the UltraLite Eip will stop notifying Kannel of incoming
SMS. I did however, notice I could send SMS'..

[snip]

In order to receive SMS, the kannel service needs to be kicked.. any
suggestions at all appreciated.



--
Johno Crawford



GSM Modem seems to hang after extended periods

2007-08-24 Thread Johno Crawford

I have tried countless configuration changes, however after an extended
period of time the UltraLite Eip will stop notifying Kannel of incoming 
SMS. I did however, notice I could send SMS'..


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

# SMSC GSM
group = smsc
smsc = at
smsc-id = "UltraLite Eip"
modemtype = sonyericsson_gr47
my-number = ...
max-error-count = 3
keepalive = 120
device = /dev/ttyS1

group = modems
id = sonyericsson_gr47
name = "Sony Ericsson GR47"
detect-string = "GR47"
message-storage = "ME"
# use this init-string for non sim-buffering init-string = "AT+CNMI=3,2,0,0"
# use this init-string for sim-buffering #init-string = "AT+CNMI=3,1,0,0"
reset-string = "ATZ"
keepalive-cmd = "AT+CSQ"
need-sleep = true
speed = 9600
broken = true

logs @ http://pastesite.com/beta/plain/693

In order to receive SMS, the kannel service needs to be kicked.. any 
suggestions at all appreciated.



--
Johno Crawford



Re: Incorrect syntax for spaces in keyword-regex?

2007-08-12 Thread Johno Crawford

Cheers Alejandro,

Managed to find a patch in the mail archive;
http://www.mail-archive.com/users@kannel.org/msg08567.html

However after applying the patch compiling the source.. no luck.

Has anyone successfully patched keyword-regex _and_ got it to work? 
Example keyword-regex usage would also be nice.



--
Johno Crawford



Incorrect syntax for spaces in keyword-regex?

2007-08-11 Thread Johno Crawford

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

Hi All,

I have setup an sms-service to act as a relay, but the incoming SMS is 
still using the default service.


group = sms-service
keyword-regex=^Your[[:space:]]password[[:space:]]of[[:space:]]ID(.*)$
keyword = test-relay
get-url = http://foobar.com:13013/cgi-bin/sendsms?username=user&password=
password&to=xx&mclass=0&text=%b
max-messages = 0

group = sms-service
keyword = default
get-url = http://foobar.com:13013/cgi-bin/sendsms?username=user&password=
password&to=xx&mclass=0&text=fail
max-messages = 0

Has anyone got the keyword-regex to work with a phrase inclusive of 
spaces? Searching through the docs I could not find any examples which 
used a phrase instead of singular words, any ideas or suggestions would 
be appreciated.



--
Johno Crawford