hi,

today i compile kannnel gateway(1.2.1 and after i try with 1.3.1) on a linx Mandrake 9.1 system and i try to send sms with an Ericsson t68m upgraded to t68i, the mobilephone are connect to computer with an USB cable

if i send a normal sms i never get error but if i try to send bookmark, wap push or vcard i get "CMS ERROR: +CMS ERROR: 304"

for example if i send a vcard
http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&from=0999666666&to=3334566539&udh=%06%05%04%23%F4%00%00&text=BEGIN%3AVCARD%0D%0AVERSION%3A2.1%0D%0AN%3Adsds%3Bprimo%0D%0ATEL%3BPREF%3A%2B326547%0D%0AEND%3AVCARD%0D%0A

smsbox say me

2004-02-27 22:19:36 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2004-02-27 22:19:36 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2004-02-27 22:19:36 [3] INFO: sendsms used by <tester>
2004-02-27 22:19:36 [3] INFO: sendsms sender:<tester:0999666666> (127.0.0.1) to:<3334566539> msg:<BEGIN:VCARD
VERSION:2.1
N:dsds;primo
TEL;PREF:+326547
END:VCARD
>
2004-02-27 22:19:36 [3] DEBUG: message length 69, sending 1 messages
2004-02-27 22:19:36 [3] DEBUG: Status: 202 Answer: <Sent.>
2004-02-27 22:19:36 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2004-02-27 22:20:37 [1] DEBUG: HTTP: Destroying HTTPClient area 0x80a4ad0.
2004-02-27 22:20:37 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.




bearerbox say

2004-02-27 22:19:36 [14] DEBUG: boxc_receiver: sms received
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CBC;+CSQ^M
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- AT+CBC;+CSQ
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- +CBC: 1,94
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSQ: 22,99
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CPMS?^M
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- AT+CPMS?
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- +CPMS: "ME",0,70,"SM",0,30
,"ME",0,70
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: TP-Validity-Period: 63 weeks
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CMGS=89^M
2004-02-27 22:19:38 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- AT+CMGS=89
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- >
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> 0051000A8133436556930004FF
4C06050423F40000424547494E3A56434152440D0A56455253494F4E3A322E310D0A4E3A64736473
3B7072696D6F0D0A54454C3B505245463A2B3332363534370D0A454E443A56434152440D0A
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> ^Z
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- > 0051000A813343655693000
4FF4C06050423F40000424547494E3A5643415244
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- +CMS ERROR: 304
2004-02-27 22:19:39 [5] ERROR: AT2[/dev/ttyUSB0]: CMS ERROR: +CMS ERROR: 304
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CMGS=89^M
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- AT+CMGS=89
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- >
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> 0051000A8133436556930004FF
4C06050423F40000424547494E3A56434152440D0A56455253494F4E3A322E310D0A4E3A64736473
3B7072696D6F0D0A54454C3B505245463A2B3332363534370D0A454E443A56434152440D0A
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> ^Z
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- > 0051000A813343655693000
4FF4C06050423F40000424547494E3A5643415244
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- +CMS ERROR: 304
2004-02-27 22:19:39 [5] ERROR: AT2[/dev/ttyUSB0]: CMS ERROR: +CMS ERROR: 304
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CMGS=89^M
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- AT+CMGS=89
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- >
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> 0051000A8133436556930004FF
4C06050423F40000424547494E3A56434152440D0A56455253494F4E3A322E310D0A4E3A64736473
3B7072696D6F0D0A54454C3B505245463A2B3332363534370D0A454E443A56434152440D0A
2004-02-27 22:19:39 [5] DEBUG: AT2[/dev/ttyUSB0]: --> ^Z
2004-02-27 22:19:40 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- > 0051000A813343655693000
4FF4C06050423F40000424547494E3A5643415244
2004-02-27 22:19:40 [5] DEBUG: AT2[/dev/ttyUSB0]: <-- +CMS ERROR: 304
2004-02-27 22:19:40 [5] ERROR: AT2[/dev/ttyUSB0]: CMS ERROR: +CMS ERROR: 304
2004-02-27 22:19:40 [5] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1






my conf file for smsbox and bearerbox is(i found it in this mail archive)



# BEARERBOX CONFIGURATION
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
wdp-interface-name = "*"
log-file = "bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "0039,0"
#store-file = "kannel.store"



# SMSC CONNECTIONS AT2

group = smsc
smsc = at2
modemtype = ericsson_t68
device = /dev/ttyUSB0
speed=9600
#pin = 0101
validityperiod = 255
keepalive = 10
sim-buffering = true


# Mobile Phone CONFIGURATION group = modems id = ericsson_t68 name = "Ericsson T68" detect-string = "T68" init-string = "ATQ0E1V1" keepalive-cmd = "AT+CBC;+CSQ" broken = true #message-storage= "ME" #no-smsc = true # if you want direct message indication instead of sim buffering # init-string = "AT+CNMI=3,3"

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
log-file = "smsbox.log"
log-level = 0
#access-log = "access.log"
global-sender="+39333584587"


# SEND-SMS USERS


group = sendsms-user
username = tester
password = foobar
max-messages = 3
concatenation = true
#user-deny-ip = ""
#user-allow-ip = ""

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10001
#connect-allow-ip = 127.0.0.1


# SERVICES


group = sms-service
keyword = default
catch-all = true
post-url=http://localhost:40000
send-sender = true
omit-empty = true



# WAPBOX CONFIGURATION
group = wapbox
bearerbox-host = localhost
log-file = "wapbox.log"
log-level = 1
syslog-level = none

# PPG CONFIGURATION

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 9001
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = true
users = 1024


# PPG USER SETUP, for authorizing a specific push user


group = wap-push-user
wap-push-user = picom
ppg-username = foo
ppg-password = bar
allowed-prefix = 40;60;70
denied-prefix = 50


## Bookmarks predefined group = ota-bookmark ota-id = my-bookmark url = "http://wap.suoneriegsm.it"; name = "suoneriegsm wap"




special thank 4 your help


Andrea




Reply via email to