Anyone having a working wap setup with huawei 20001x

2007-03-30 Thread Goksie
Hello all,

I have a kannel wap setup and i want to interconnect with huawei smsc /
pdsn.

What i need now... i am looking for someone who can give me a working
config especially anyone that has a working connection with huawei cdma
20001x settings.

thanks.

Goksie



CMS ERROR 301 SMS service of ME reserved

2007-03-30 Thread sinclair fils
helloall 
 i have this error in my config of kannel 
 CMS ERROR 301  SMS service of ME reserved
 
 i use nokia 32 premicell can you help me please 
 

-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.

Bookmark help...

2007-03-30 Thread tushar
Hi all

 

Can anybody help me with a simple script or any other help such as udh for
sending a bookmark to any cell phone..

 

Plz help me..

 

Thanx and regards,

 

Tushar

 



Reconnect Error, PHP tags and kannel, global-sender to reply??

2007-03-30 Thread iftikhar
Dear Friends,

i am using kannel 1.4.1 and having some problems

1. SMSC reconnect error (reconnecting in 10 seconds)
2007-02-28 18:44:17 [26341] [6] ERROR: connect failed
2007-02-28 18:44:17 [26341] [6] ERROR: System error 110: Connection timed out
2007-02-28 18:44:17 [26341] [6] ERROR: error connecting to server
`172.16.206.242' at port `17603'
2007-02-28 18:44:17 [26341] [6] ERROR:
SMPP[SMPP:172.16.206.242:17603/17603:telemedia:VMA]: Couldn't connect to
server.
2007-02-28 18:44:17 [26341] [6] ERROR:
SMPP[SMPP:172.16.206.242:17603/17603:telemedia:VMA]: Couldn't connect to
SMS center (retrying in 10 seconds).

and i continuously do but doesn't connect, what should i do???

2. my company name is 'bla' and i am using

   global-sender = bla

   in smsbox configuration.
Is their any way, not for all SMS service requests but only for some to
which i specify, in this case 'reply' option is disabled so because of
this.i-e to some service requests no. is sent and to some sender name.

3. i am using PHP 4.4.2, sms reply is generated through PHP but the
problem is that when reply is generated basic formatted html tags doesn't
work e-g br pre etc etc. can anyone tell me what to do in kannel?


Waiting for your suggestions, plz help.
Thanks all,
Regards,
Muhammed Iftikhar.







sms reciving problem

2007-03-30 Thread Margusja

I use kannel:
Kannel bearerbox version `1.4.1'. Build `Oct 16 2006 10:48:53', compiler 
`4.1.1 20060525 (Red Hat 4.1.1-1)'. System Linux, release 
2.6.19-1.2288.2.4.fc5, version #1 SMP Sun Mar 4 15:57:52 EST 2007, 
machine x86_64. Hostname h8.dbweb.ee, IP 217.159.233.174. Libxml version 
2.6.23. Using SQLite 2.8.17. Using native malloc.


My kannel is connected to operator SMSC-es with two VPN IPSec tunnels.

First tunnel:
My kannel eth1: *.*.*.55 - VPN LAN: *.*.*.53 My VPN GW: 13.180.29.56 - 
Tunnel - Operator IPV GW: *.*.*.15 - Operator SMSC: *.*.*.119. I use it 
to send SMSes out.


Second tunnel:
My kannel eth1: *.*.*.55 - VPN LAN: *.*.*.53 My VPN GW: 13.180.29.56 - 
Tunnel - Operator IPV GW: *.*.*.15 - Operator SMSC: *.*.*.21 It's SMSC 
that sends mobile SMSes to my kannel.



Operator uses CMG UCP/EMI type SMSC.

Here is my kannel konf:


group = core
admin-port = 13000
admin-password = **
status-password = **
admin-deny-ip = *.*.*.*
admin-allow-ip = *.*.*.*
smsbox-port = 1301
box-allow-ip = *.*.*.*
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
access-log = /var/log/kannel/access.log
store-file = /var/log/kannel/store.log
log-level = 0

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 12014
log-file  = /var/log/kannel/smsbox.log
log-level = 0

group = sms-service
keyword = test
get-url = http://localhost/smsservice.php?sender=%ptext=%r;

group = smsc
smsc-id = EMT_MT
smsc = emi
port = 1
host = *.*.*.119
smsc-username = 
smsc-password = 

group = sendsms-user
username = 
password = 

My http status:
SMS: received 0 (0 queued), sent 1 (0 queued), store size 0

SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec

DLR: 0 queued, using internal storage

Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 5h 57m 13s)

SMSC connections:
EMT_MTEMI2:*.*.*.119:1:12014 (online 85s, rcvd 0, sent 1, 
failed 0, queued 0 msgs)


And what is my problem?
I can send sms out. But if I send SMS to my short number it's not coming 
to my kannel and I don't know what's wrong. If I change smsbox-port back 
to 13001 and run fakesmsc then all works fine. 1301 is because operator 
demands it.


Ok if I send sms to my shortnumber http status shows:
SMS: received 0 (0 queued), sent 1 (0 queued), store size 0

SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec

DLR: 0 queued, using internal storage

Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 6h 9m 13s)
smsbox:(none), IP *.*.*.21(Operator SMSC IP) (0 queued), (on-line 
0d 0h 0m 22s)


SMSC connections:
EMT_MTEMI2:217.71.32.119:1:12014 (online 85s, rcvd 0, sent 
1, failed 0, queued 0 msgs)


in bearerbox.log:
2007-03-30 23:17:31 [18836] [5] INFO: Client connected from *.*.*.21
2007-03-30 23:17:31 [18836] [5] DEBUG: Started thread 24 
(gw/bb_boxc.c:function)
2007-03-30 23:17:31 [18836] [24] DEBUG: Thread 24 
(gw/bb_boxc.c:function) maps to pid 18836.
2007-123.618723 *.*.*.55 - *.*.*.21 TCP ci3-software-1  12785 [SYN, 
ACK] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 WS=5

123.624779 *.*.*.55 - *.*.*.21 TCP ci3-software-1  12785 [ACK] Seq=1
Ack=107 Win=183 Len=0-30 23:17:31 [18836] [24] DEBUG: Started thread 25 
(gw/bb_boxc.c:boxc_sender)
2007-03-30 23:17:31 [18836] [25] DEBUG: Thread 25 
(gw/bb_boxc.c:boxc_sender) maps to pid 18836.


Same time thethereal shows:
123.618723 *.*.*.55 - *.*.*.21 TCP ci3-software-1  12785 [SYN, ACK] 
Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 WS=5
123.624779 213.180.29.55 - 217.71.32.21 TCP ci3-software-1  12785 
[ACK] Seq=1 Ack=107 Win=183 Len=0


And after about one minute in bearbox:
2007-03-30 23:19:02 [18836] [24] INFO: Connection closed by the box 
*.*.*.21
2007-03-30 23:19:02 [18836] [25] DEBUG: send_msg: sending msg to box: 
*.*.*.21
2007-03-30 23:19:02 [18836] [25] DEBUG: Thread 25 
(gw/bb_boxc.c:boxc_sender) terminates.
2007-03-30 23:19:02 [18836] [24] DEBUG: Thread 24 
(gw/bb_boxc.c:function) terminates.


tcpflow is show nothing.

And the same time tethereal shows:
215.071237 *.*.*.55 - *.*.*.21 TCP ci3-software-1  12785 [PSH, ACK] 
Seq=1 Ack=108 Win=183 [TCP CHECKSUM INCORRECT] Len=16[Unreassembled 
Packet [incorrect TCP checksum]]
215.071360 *.*.*.55 - *.*.*.21 TCP ci3-software-1  12785 [FIN, ACK] 
Seq=17 Ack=108 Win=183 Len=0


tcpflow shows:
*.*.*.055.01301-*.*.*.021.16760: 

And it is always the same if sms tries to go into my kannel.
I don't know where to search the error. Operator tells that all is ok in 
their side.


Best regards, Margusja

---
Margusja
+37251780
skype: margusja
msn: [EMAIL PROTECTED]
homepage: http://margusja.pri.ee



wrong time in escape code %t

2007-03-30 Thread Alvaro Cornejo

Hi All

I've the following issue:

time stamp got by escape codes %t and %T does have a difference with
the local time of 1day and 2 hrs.

I've chequed my locales and have
[EMAIL PROTECTED] locale
...
LC_TIME=en_US.UTF-8
...
[EMAIL PROTECTED] date
Fri Mar 30 19:19:10 CST 2007
[EMAIL PROTECTED]

%t gives me

2007-03-29 17:19:20

and %T gives me 1175188590...

Also I've chequed the time on the cellphone used as SMSC and in the
cel form where I send  the sms and all those dates are ok

Any ideas??

regards

Alvaro



Re: wrong time in escape code %t

2007-03-30 Thread Alvaro Cornejo

Hi

In addition to this, the bearer access log shows:


2007-03-30 18:59:20 Log begins
2007-03-30 18:59:42 SMS HTTP-request sender:5513206766 request: ''
url: 
'http://localhost/smssend/plugin/gateway/kannel/geturl.php?t=2007-03-29+16:58:01q=5513206766a=W+kmwt'
reply: 200 ' successful '
2007-03-30 19:06:50 SMS HTTP-request sender:5513206766 request: ''
url: 
'http://localhost/smssend/plugin/gateway/kannel/geturl.php?t=2007-03-29+17:05:07q=5513206766a=Jt'
reply: 200 ' successful '
2007-03-30 19:08:18 SMS HTTP-request sender:5513206766 request: ''
url: 
'http://localhost/smssend/plugin/gateway/kannel/geturl.php?t=2007-03-29+17:06:35q=5513206766a=Mwja.gmwg.'
reply: 200 ' successful '
2007-03-30 19:10:10 Log begins
2007-03-30 19:10:33 SMS HTTP-request sender:5513206766 request: ''
url: 
'http://localhost/smssend/plugin/gateway/kannel/geturl.php?t=1175188129q=5513206766a=Wmjt%2B+g..gjtp'
reply: 200 ' successful '
2007-03-30 19:17:21 SMS HTTP-request sender:5513206766 request: ''
url: 
'http://localhost/smssend/plugin/gateway/kannel/geturl.php?t=1175188540q=5513206766a=Gp.gp%2Cg.g'
reply: 200 ' successful '

I do undesrtand that the %t %T shows time in GMT. I'm in zone CST or
GMT -6:00 .. so why  such difference???

Regards

Alvaro



On 3/30/07, Alvaro Cornejo [EMAIL PROTECTED] wrote:

Hi All

I've the following issue:

time stamp got by escape codes %t and %T does have a difference with
the local time of 1day and 2 hrs.

I've chequed my locales and have
[EMAIL PROTECTED] locale
...
LC_TIME=en_US.UTF-8
...
[EMAIL PROTECTED] date
Fri Mar 30 19:19:10 CST 2007
[EMAIL PROTECTED]

%t gives me

2007-03-29 17:19:20

and %T gives me 1175188590...

Also I've chequed the time on the cellphone used as SMSC and in the
cel form where I send  the sms and all those dates are ok

Any ideas??

regards

Alvaro