kannel for SMPP requests

2004-01-09 Thread Jain Nishant
Dear sir,
 I am trying to send sms to gsm through my application. 
 I have successfully connected kannel with TC35 and I can send sms to gsm
through http reqests.

 now my application will send sms through smpp requests only. I want to test
my application through kannel.

 Can I configure kannel for SMPP request so that it listens to smpp requests
and send it to GSM through TC35???

 Please help as from the documentation I understand that kannel only listens
to http requests. If it is possible to configure kannel for SMPP requests
please tell it to me. Or please tell me if there is any other way to achieve
it.

regards,

Nishant Jain
Siemens Information Systems Ltd.
Tower-B,Plot 6A,Huda Area,Sector-18,
Gurgaon, Haryana-122015,
India. 
* Office : 91-0124-2846300 Extn  : 6649
* Direct : 91-0124-2846649
e-mail : [EMAIL PROTECTED]
Psnl Address : [EMAIL PROTECTED]
URL: http://www.sisl.siemens.co.in




kannel for WapPush

2004-01-09 Thread Jain Nishant
Dear sir,
 I am working on wappush and trying to configure kannel (gateway-1.2.1) so
that I can push messages to the GSM. I have already configured kannel for
sms and I can easily send sms to the GSM. I am using TC35 for connecting to
the GSM.

My flow is like

Application --> kannel --> TC35 --> GSM.

 Now If I configure kannel for WapPush (I am using openwave wappushlib for
it) I am able to send wappush request, even I recieve wappush service
Indication message on my mobile but I am not getting kannel response values
in my application. I always get exception

com.openwave.wappush.WapPushException: Connection timed out: connect
at
com.openwave.wappush.ResponseBuilder.parseContent(ResponseBuilder.jav
a:114)
at
com.openwave.wappush.PushResponseBuilder.build(PushResponseBuilder.ja
va:77)
at com.openwave.wappush.Pusher.send(Pusher.java:239)
at push.test.PushTest.testServiceIndicator(PushTest.java:95)
at push.test.PushTest.main(PushTest.java:129)


 where else If I send any http request through my browser than I get error
code sometimes in the xml format.

 I dont understand what is missing here in my configuration because I am not
getting response in my application but the Wappush is delivered
successfully.


 Can I configure kannel for SMPP request so that it listens to smpp requests
and send it to GSM through TC35???

 If you want the java code for sending push message I can mail it to you. I
am using normal functioanlity for simple service indication.

 I am sending you my kannel.conf file, if you can get something out of it.
Please help me I urgently need this. I have tried everything but couldnt
resolve the problem. I have to send wappush messages and get replies back in
my application (error or successful delivery).

//kannel.conf***
***

# REAL SENDING
# This is REAL kannel.conf which is used for sending SMS-es
# Please change PIN and prefix for use with different cards.
# conf file for TC-35 Siemens
# Created and modified by: Nishant Jain <[EMAIL PROTECTED]>
# Edited by Nishant Jain for WapPush


group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = "/cygdrive/f/kannel/log/kannel.log"
log-level = 5
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;132.186.*.*"
#admin-deny-ip = ""
#admin-allow-ip = ""
unified-prefix = "+91,0091;+91,91"
access-log = "/cygdrive/f/kannel/log/access.log"
store-file = "/cygdrive/f/kannel/log/kannel.store"
wdp-interface-name = "*"



#MODEM CONFIGURATION
group = modems
id = siemens-tc35
name = "SIEMENS TC35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,0,1"
#init-string = "AT+CNMI=3,2,0,0,1"
speed = 9600 
#speed = 38400 
keepalive-cmd = "AT+CSQ"
enable-hwhs = "AT\\Q3"
need-sleep = true


#SMSC CONNECTIONS
#gsm modem configuration
group = smsc
smsc = at2
validityperiod = 11 
keepalive = 120 
#modemtype = auto
modemtype = siemens-tc35
#device = /dev/ttys0
device = /dev/COM2
sms-center = +919810051914 
pin = 1234 
speed=9600
my-number = +919810436688


#SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013 
sendsms-chars = "0123456789 +-"
log-file = "/cygdrive/f/kannel/log/smsbox.log"
log-level = 5
access-log = "/cygdrive/f/kannel/log/access.log"

group = sms-service
keyword = www
url = "http://%S";
concatenation = true
#header = "hoho"
accept-x-kannel-headers = true
assume-plain-text = true
post-url = "http://%S";
max-messages = 3


# A do-nothing service.
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# Default service.
group = sms-service
keyword = default
text = "No services defined"


#SEND-SMS USERS
#this sender is for kannel relay testing
group = sendsms-user
username = tester
password = foobar
user-deny-ip = "*.*.*.*"
user-allow-ip = "132.186.*.*"
default-sender = +919810436688
max-messages = 1
concatenation = true 
#user-deny-ip = ""
#user-allow-ip = ""


# WAPBOX SETUP for pushing and for pulling data the wap data

group = wapbox
bearerbox-host = localhost
log-file = "/cygdrive/f/kannel/log/wapbox.log"
log-level = 5 
syslog-level = none


# PPG
group = ppg
#ppg-url = /cgi-bin/wappush.cgi 
ppg-url = /wappush
#ppg-port = 8080
ppg-port = 9001
concurrent-pushes = 100
users = 1024
ppg-allow-ip = "*.*.*.*"
trusted-pi = true 


group = wap-push-user
wap-push-user = tester
ppg-username = tester
ppg-password = foobar


*

 If any parameter is missing or wrong value please tell me. I'll be very
thankful to you if you could find some solution for my query.


regards
Nishant




SMS replies to kannel

2004-01-09 Thread Jain Nishant
Dear sir,
 I am configuring kannel for SMS to GSM. My flow is like

 Application --> Kannel --> TC35 --> GSM.
 
 I have already configured kannel for sending sms to the GSM. Could you
please tell me if it is possible to configure kannel for sms Replies.
 Suppose a sms is sent to the user, is it possible to route the sms to my
application if the user replies to that sms? If it is possible please tell
it to me. My application can only send and recieve SMPP sms.


regards,
Nishant



RE: problem while compiling

2004-01-09 Thread Jain Nishant
check if gcc complier is installed... meanwhile what is your platform? if
you are doig it on windows and using cygwin than check if gcc is also
installed with cygwin... all the best!!

> -Original Message-
> From: guddu dhanoa [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, January 07, 2004 05:06 PM
> To:   [EMAIL PROTECTED]
> Subject:  problem while compiling
> 
> Hi,
> 
> I have just downloaded the kannel version 1.3.1. While
> running "./configure" I'm getting following error
> 
> loading cache ./config.cache
> 
> Configuring for Kannel gateway version 1.3.1 ...
> 
> Running system checks ...
> checking host system type... ./config.guess: line 1: 
> 3495 Aborted ( $c -c -o $dummy.o
> $dummy.c ) >/dev/null 2>&1
> ./config.guess: line 1:  3498 Aborted
> ( $c -c -o $dummy.o $dummy.c ) >/dev/null 2>&1
> i686-pc-linux-gnu
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
> 
> 
> I have checked my system (Redhat Linux 7.2) and it
> does have "gcc". Can anyone guide me in solving this
> problem.
> 
> Thanks in advance
> 
> cheers!!!
> guddu
> 
> __
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus



RE: kannel for SMPP requests

2004-01-11 Thread Jain Nishant
thanks for replying... actually my application will connect directly to
SMPP... now as I am using kannel I have to use one simulator (smpp
simulator/ ucp simulator) to convert it into smpp requests and send it to
kannel. It is working fine with this configuration...
what I exactly wanted is when I am sending msgs to some mobile number, my
application should be able to recieve those replies
not this is not possible with the flow I am using... (I aM not
sure)
Do yuou have any idea if we can configure kannel so that replies should be
routed to my application?

thanks for replying...

regards
Nishant

> -Original Message-
> From: Navjot Singh [SMTP:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 08:49 PM
> To:   [EMAIL PROTECTED]
> Subject:  RE: kannel for SMPP requests
> 
> hi,
> 
> Kannel provides only HTTP interface *for you* to connect. BUT provide
> multiple interface between itself and SMSC (real or virtual)
>  /--- AT
>  /---CIMD
> HTTP -- Kannel  --- SMPP
>  \--- EMI
>  \--- HTTP
> 
> So, why would you like to send SMPP request to kannel. Just send HTTP
> request as you are currently sending. Configure the *smsc group* for smpp
> and you are thru.
> 
> HTH
> Navjot Singh
> 
> 
> >-Original Message-
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >Behalf Of Jain Nishant
> >Sent: Wednesday, January 07, 2004 2:40 PM
> >To: [EMAIL PROTECTED]
> >Subject: kannel for SMPP requests
> >
> >
> >Dear sir,
> > I am trying to send sms to gsm through my application.
> > I have successfully connected kannel with TC35 and I can send sms to gsm
> >through http reqests.
> >
> > now my application will send sms through smpp requests only. I
> >want to test
> >my application through kannel.
> >
> > Can I configure kannel for SMPP request so that it listens to
> >smpp requests
> >and send it to GSM through TC35???
> >
> > Please help as from the documentation I understand that kannel
> >only listens
> >to http requests. If it is possible to configure kannel for SMPP requests
> >please tell it to me. Or please tell me if there is any other way
> >to achieve
> >it.
> >
> >regards,
> >
> >Nishant Jain
> >Siemens Information Systems Ltd.
> >Tower-B,Plot 6A,Huda Area,Sector-18,
> >Gurgaon, Haryana-122015,
> >India.
> >* Office : 91-0124-2846300 Extn  : 6649
> >* Direct : 91-0124-2846649
> >e-mail : [EMAIL PROTECTED]
> >Psnl Address : [EMAIL PROTECTED]
> >URL: http://www.sisl.siemens.co.in
> >
> >
> >
> 



JAVA application notable to parse wappush response

2004-01-11 Thread Jain Nishant
Dear sir,

 I am trying to configure kannel for wappush through my java application. I
am using openwave apis for pushing the messages. Whenever I am trying it I
am always getting an exception. as below... Below is the print of my java
application logs.

 

>>   POST /wappush HTTP/1.1
>>   Host: localhost
>>   User-Agent: Openwave WAP Push Library, Java Edition 1.5
>>   Content-Type: multipart/related; type=application/xml;
boundary=WPL4woVbhES
dfalYevGqpdzLCs
>>   Content-Length: 849
>>
>>   --WPL4woVbhESdfalYevGqpdzLCs
>>   Content-Type: application/xml; charset=UTF-8
>>
>>   
>>   http://www.wapforum.or
g/DTD/pap_1.0.dtd">
>>   
>>   
>>   
>>   
>>   
>>   
>>   --WPL4woVbhESdfalYevGqpdzLCs
>>   Content-Type: text/vnd.wap.si; charset=UTF-8
>>
>>   
>>   >   "http://www.wapforum.org/DTD/si.dtd";>
>>   
>>   http://www.yahoo.com/"; action="signal-high">
>>   WapPush Message. Please inform Nishant at 2157
>>   
>>   
>>   --WPL4woVbhESdfalYevGqpdzLCs--
<<   HTTP/1.1 202 Foo
<<   Server: Kannel/1.2.1
<<   Content-Length: 390
<<   Content-Type: application/xml
<<
<<   
com.openwave.wappush.WapPushException: Connection timed out: connect
at
com.openwave.wappush.ResponseBuilder.parseContent(ResponseBuilder.jav
a:114)
at
com.openwave.wappush.PushResponseBuilder.build(PushResponseBuilder.ja
va:77)
at com.openwave.wappush.Pusher.send(Pusher.java:239)
at push.test.PushTest.testServiceIndicator(PushTest.java:96)
at push.test.PushTest.main(PushTest.java:130) 


If you have any idea abt this please revert back to me.

thanks and regards
nishant



RE: SMS replies to kannel

2004-01-11 Thread Jain Nishant
sorry I couldnt make it clear.

actually My originating msisdn number plays the actual role. I am making it
whenever I am sending any request..

lets say 
Originating msisdn - 981001 (this is different for every request)
destination msisnd -9810436688


replies should be -
originating msisndn - 9810436688
destination msisdn - 981001


so my application will come to know what was the questions and what is the
reply.

I have posted one more query if you have any idea

actully I am using openwave wappush library (wapppushlib.jar) for my
application. I am able to send request, I am also getting the response but I
am not able to parse it in my application. I am using apis so I couldnt
resolve it even.


 this is the trace of log.


**
>>   POST /wappush HTTP/1.1
>>   Host: localhost
>>   User-Agent: Openwave WAP Push Library, Java Edition 1.5
>>   Content-Type: multipart/related; type=application/xml;
boundary=WPL4woVbhES
dfalYevGqpdzLCs
>>   Content-Length: 849
>>
>>   --WPL4woVbhESdfalYevGqpdzLCs
>>   Content-Type: application/xml; charset=UTF-8
>>
>>   
>>   http://www.wapforum.or
g/DTD/pap_1.0.dtd">
>>   
>>   
>>   
>>   
>>   
>>   
>>   --WPL4woVbhESdfalYevGqpdzLCs
>>   Content-Type: text/vnd.wap.si; charset=UTF-8
>>
>>   
>>   >   "http://www.wapforum.org/DTD/si.dtd";>
>>   
>>   http://www.yahoo.com/"; action="signal-high">
>>   WapPush Message. Please inform Nishant at 2157
>>   
>>   
>>   --WPL4woVbhESdfalYevGqpdzLCs--
<<   HTTP/1.1 202 Foo
<<   Server: Kannel/1.2.1
<<   Content-Length: 390
<<   Content-Type: application/xml
<<
<<   
com.openwave.wappush.WapPushException: Connection timed out: connect
at
com.openwave.wappush.ResponseBuilder.parseContent(ResponseBuilder.jav
a:114)
at
com.openwave.wappush.PushResponseBuilder.build(PushResponseBuilder.ja
va:77)
at com.openwave.wappush.Pusher.send(Pusher.java:239)
at push.test.PushTest.testServiceIndicator(PushTest.java:96)
at push.test.PushTest.main(PushTest.java:130)

**


I think this apis are expecting a replies to post request. Is it any way to
do it?
well if you can find out anything out the log please tell it to me. I am
into deep trouble and I have to solve this problem as soon as possible.


thanks and regards
nishant




> -Original Message-
> From: Navjot Singh [SMTP:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 10:43 AM
> To:   Jain Nishant; [EMAIL PROTECTED]
> Subject:  RE: SMS replies to kannel
> 
> >thanks for replying
> >
> >I didnt notice this option in user guide.
> >thanks alot!! I'll try this option..
> >
> >one more thing if you dont mind... ;)
> >
> >Its OK i can write one programe that will listen http and speaks smpp...
> 
> >but in my application I am making my own originating MSISDN number...
> there
> >are some rules I am following for that... the number of digits in
> >orginating
> >msisdn can vary... now if I recieve some replies it should be on the same
> >msisdn number else there would be an error. Is there any option so that I
> >can configure to store or recieve replies on the same msisdn number???
> 
> sorry i am not clear. are you sending SMS having multiple FROM numbers OR
> the FROM is same but number of digits can vary like country code etc.
> 
> 
> 
> >> -Original Message-
> >> From:  Navjot Singh [SMTP:[EMAIL PROTECTED]
> >> Sent:  Friday, January 09, 2004 08:55 PM
> >> To:Jain Nishant
> >> Subject:   RE: SMS replies to kannel
> >>
> >> YES, if you forget your SMPP for a while.
> >>
> >> You send a SMS from A to B.
> >> B replies to A.
> >>
> >> A is the number configured for your GSM modem.
> >>
> >> You can configure sms-service in your kannel conf and set a catch-all
> >> option. that will enable to receive your application all the reply sms
> >> (for
> >> that matter any). This trigger will be in HTTP format.
> >>
> >> Now, if you listne only SMPP. You can a write a program that listens
> HTTP
> >> and speaks SMPP so that you listen SMPP.
> >>
> >> HTH
> >> Navjot Singh
> >>
> >> >-Original Message-
> >> >From: [EMAIL PROTECTED] [

RE: SMS replies to kannel

2004-01-12 Thread Jain Nishant
thanks for replying..

well what I come to know is my apis are trying to access
"http://www.wapforam.org/pap/"; and its getting connection timeout
because of proxy. I am trying to run code on a proxy less enviournment.

Now I was using kannel 1.2.1 intially. I have read that the response is not
conformed with the pap.dtd and they have fixed the bug in latest release. I
am trying to configure kannel 1.3.1 but still its not working. Its getting
crashed everytime i am sending a wappush request. 

here is the log...


**
thread)
2004-01-12 19:33:35 [13] DEBUG: Started thread 17 (gw/bb_boxc.c:function)
2004-01-12 19:33:35 [17] INFO: Client connected from <127.0.0.1>
2004-01-12 19:33:35 [17] DEBUG: setting up systems for new wapbox
2004-01-12 19:33:35 [17] DEBUG: Started thread 18 (gw/bb_boxc.c:boxc_sender)
2004-01-12 19:33:35 [0] INFO: Connected to bearerbox at localhost port
13002.
2004-01-12 19:33:35 [0] DEBUG: Started thread 15
(gw/heartbeat.c:heartbeat_threa
d)
2004-01-12 19:36:43 [11] DEBUG: HTTP: Creating HTTPClient for
`132.186.198.70'.
2004-01-12 19:36:44 [14] INFO: PPG: Accept request  from
<132.186.198.
70>
2004-01-12 19:36:44 [14] DEBUG: PPG: http_read_thread: pap multipart
accepted
2004-01-12 19:36:44 [14] INFO: client address was <+919810310973>, accepted
2004-01-12 19:36:44 [14] DEBUG: PAP COMPILER: doing semantic analysis for
addres
s type a phone number
2004-01-12 19:36:44 [14] DEBUG: using defaults instead of anys
2004-01-12 19:36:44 [14] DEBUG: PPG: http_read_thread: pap control entity
compil
ed ok
2004-01-12 19:36:45 [17] ERROR: Error reading from fd 49:
2004-01-12 19:36:45 [17] ERROR: System error 104: Connection reset by peer
2004-01-12 19:36:45 [17] ERROR: Connection to box <127.0.0.1> broke.
2004-01-12 19:36:45 [18] DEBUG: send_msg: sending msg to boxc: <(null)>
2004-01-12 19:36:45 [18] ERROR: Error writing 16 octets to fd 49:
2004-01-12 19:36:45 [18] ERROR: System error 104: Connection reset by peer
2004-01-12 19:36:45 [18] ERROR: Couldn't write Msg to box <127.0.0.1>,
disconnec
ting
2004-01-12 19:36:45 [18] DEBUG: Thread 18 (gw/bb_boxc.c:boxc_sender)
terminates.

2004-01-12 19:36:45 [17] ERROR: Error writing 16 octets to fd 49:
2004-01-12 19:36:45 [17] ERROR: System error 104: Connection reset by peer
2004-01-12 19:36:45 [17] DEBUG: Thread 17 (gw/bb_boxc.c:function)
terminates.


***


I have no idea what went wrong. It was running fine with 1.2.1 and now its
crashing. I have installed kannel on windowns and using cygwin for running
it..

Can you help me on sorting out the error???

> -Original Message-
> From: Navjot Singh [SMTP:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 01:26 PM
> To:   [EMAIL PROTECTED]
> Subject:  RE: SMS replies to kannel
> 
> 
> Cellphones don't have a kind of facility like "Replyto:" in SMTP.
> Cellphone user, when hits a reply the response will go back to only that
> MSISDN what the original SMS states.
> 
> 1. But you can teach your customers to send reply to only that number you
> want.
> As i understand, your application must be closed group.
> If it is not clsoed group, then you may probably advertise somewhere.
> 
> 2. OR if those MULTIPLE numbers are limited say 10,20 and you have
> *control*
> over them. You can have your SMSC forward the SMSes incoming to those
> numbers forwared to your ONE number.
> 
> But why would you have different FROM numbers in first place?
> 
> I have sent push mesages using kannel and they went fine. Your Log also
> suggested that it's something to do with api only. I will try and let you
> know.
> 
> regards
> Navjot Singh
> 
> >-Original Message-
> >From: Jain Nishant [mailto:[EMAIL PROTECTED]
> >Sent: Monday, January 12, 2004 11:02 AM
> >To: Navjot Singh; [EMAIL PROTECTED]
> >Subject: RE: SMS replies to kannel
> >
> >
> >sorry I couldnt make it clear.
> >
> >actually My originating msisdn number plays the actual role. I am making
> it
> >whenever I am sending any request..
> >
> >lets say
> >Originating msisdn - 981001 (this is different for every request)
> >destination msisnd -9810436688
> >
> >
> >replies should be -
> >originating msisndn - 9810436688
> >destination msisdn - 981001
> >
> >
> >so my application will come to know what was the questions and what is
> the
> >reply.
> >
> >I have posted on

RE: SMS replies to kannel

2004-01-13 Thread Jain Nishant
Hi There,
 I have solved the problems.. Problems were there in kannel(1.2.1) response
and I have edited the code and it is working fine.
 But whenever I am giving any bad request, I always get this error in
parsing the response. Do you have any idea how can I resolve this problem.
What is the correct syntax of Bad message response. Below is the kannel
response and the error I am getting. If you have any idea please revert back
to me.


<< HTTP/1.1 202 Foo
<< Server: Kannel/1.2.1
<< Content-Length: 200
<< Content-Type: application/xml
<<
<< 
com.openwave.wappush.BadMessageException:
ResponseBuilder.handleBadResponseStart

at
com.openwave.wappush.ResponseBuilder.handleBadResponseStart(ResponseBuilder.
java:181)
at
com.openwave.wappush.ResponseBuilder.startElement(ResponseBuilder.java:137)
at
com.openwave.wappush.PushResponseBuilder.startElement(PushResponseBuilder.ja
va:102)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)

at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
com.openwave.wappush.ResponseBuilder.doParseContent(ResponseBuilder.java:317
)
at
com.openwave.wappush.ResponseBuilder.parseContent(ResponseBuilder.java:102)
at
com.openwave.wappush.PushResponseBuilder.build(PushResponseBuilder.java:77)
at com.openwave.wappush.Pusher.send(Pusher.java:239)
at push.test.PushTest.testServiceIndicator(PushTest.java:97)
at push.test.PushTest.main(PushTest.java:132)




I have no idea what will be the format of Bad Message. I have tried but
couldnt get the actual one.
If anyone can help me on it? Please tell me what actually is expected by the
apis so that I can configure my kannel to send that response.


thanks alot in advance.

regards
Nishant


> -Original Message-
> From: Navjot Singh [SMTP:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 01:26 PM
> To:   [EMAIL PROTECTED]
> Subject:  RE: SMS replies to kannel
> 
> 
> Cellphones don't have a kind of facility like "Replyto:" in SMTP.
> Cellphone user, when hits a reply the response will go back to only that
> MSISDN what the original SMS states.
> 
> 1. But you can teach your customers to send reply to only that number you
> want.
> As i understand, your application must be closed group.
> If it is not clsoed group, then you may probably advertise somewhere.
> 
> 2. OR if those MULTIPLE numbers are limited say 10,20 and you have
> *control*
> over them. You can have your SMSC forward the SMSes incoming to those
> numbers forwared to your ONE number.
> 
> But why would you have different FROM numbers in first place?
> 
> I have sent push mesages using kannel and they went fine. Your Log also
> suggested that it's something to do with api only. I will try and let you
> know.
> 
> regards
> Navjot Singh
> 
> >-Original Message-
> >From: Jain Nishant [mailto:[EMAIL PROTECTED]
> >Sent: Monday, January 12, 2004 11:02 AM
> >To: Navjot Singh; [EMAIL PROTECTED]
> >Subject: RE: SMS replies to kannel
> >
> >
> >sorry I couldnt make it clear.
> >
> >actually My originating msisdn number plays the actual role. I am making
> it
> >whenever I am sending any request..
> >
> >lets say
> >Originating msisdn - 981001 (this is different for every request)
> >destination msisnd -9810436688
> >
> >
> >replies should be -
> >originating msisndn - 9810436688
> >destination msisdn - 981001
> >
> >
> >so my application will come to know what was the questions and what is
> the
> >reply.
> >
> >I have posted one more query if you have any idea
> >
> >actully I am using openwave wappush library (wapppushlib.jar) for my
> >application. I am able to send request, I am also getting the
> >response but I
> >am not able to parse it in my application. I am using apis so I couldnt
> >resolve it even.
> >
> >
> > this is the trace of log.
> >
> >***
> >*
> >**
> >>>   POST /wappush HTTP/1.1
> >>>   Host: localhost
> >>>   User-Agent: Openwave WAP Push Library, Java Edition 1.5
> >&

RE: pls help........!!!!!!!

2004-01-14 Thread Jain Nishant
the message is self explainatory You are restricting kannel to
understand only '0123456789 +-'  so you cant use "," in it.

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, January 14, 2004 02:46 PM
> To:   [EMAIL PROTECTED]
> Subject:  pls help!!!
> 
> 
> hi dear Friends ,
> 
> when i try to send a message to more than one numbers smsbox saying like
> this error msg. where can be the problem ?
> pls help
> 
> 004-01-14 14:51:44 [3] INFO: Illegal characters in 'to' string
> ('777367491,86419,777543467') vs '0123456789 +-'
> 2004-01-14 14:51:44 [3] INFO: sendsms sender: (127.0.0.1)
> to:<777330421,777330419,777330467> msg:
> 
> thank u 
> chandana
> 



RE: pls help........!!!!!!!

2004-01-14 Thread Jain Nishant
Hi navjot,
 could you please help me in finding the correct syntax for
badmessage-response for wappush??

I have already sent you a mail. Please help me!!

> -Original Message-
> From: Navjot Singh [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, January 14, 2004 04:05 PM
> To:   [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject:  RE: pls help!!!
> 
> hi chandana,
> 
> What's it that you have set in *unified-prefix* attribute?
> See into docs to understand it's meaning. You will be thru.
> 
> It's possible to send to multiple numbers. Set *to* to space separated
> mobile numbers. Encode to and pass it in the /sendsms http request. it's
> that easy.
> 
> HTH
> Navjot Singh
> 
> >-Original Message-
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >Behalf Of [EMAIL PROTECTED]
> >Sent: Wednesday, January 14, 2004 2:46 PM
> >To: [EMAIL PROTECTED]
> >Subject: pls help!!!
> >
> >
> >
> >hi dear Friends ,
> >
> >when i try to send a message to more than one numbers smsbox saying like
> >this error msg. where can be the problem ?
> >pls help
> >
> >004-01-14 14:51:44 [3] INFO: Illegal characters in 'to' string
> >('777367491,86419,777543467') vs '0123456789 +-'
> >2004-01-14 14:51:44 [3] INFO: sendsms sender: (127.0.0.1)
> >to:<777330421,777330419,777330467> msg:
> >
> >thank u
> >chandana
> >
> >
> >
> 



WapPush -> Client address format

2004-01-19 Thread Jain Nishant
Hi there,
 I am trying to implement WapPush. I am using Openwave apis (wappushlib.jar)
for implementing wappush. I am using kannel (1.2.1) for wappush gateway.
 I have configured my application. I am trying to send WapPush service
indication to the GSM.

 I have some doubts abt the Client address format for wapPush.

 Currently I am using this format

Client Address :: +919810012345/[EMAIL PROTECTED]

Now '91' is my country code and my msisdn number is '9810012345' (test
number).

 Is it necessary to give '+' in the starting of client address??? Can we
omit "+" sign in the starting

 Please tell me if you have any idea abt this. I wanted to omit "+" sign, if
it is possible.

 What should be the correct format for client address?? and what if I just
use the msisdn number without any country prefix or "+" sign???

regards,
Nishant



RE: WapPush -> Client address format

2004-01-20 Thread Jain Nishant
Thanks for your help... I was looking into kannel code. It was written over
there that it always needs "+" sign without which it will definetely throw
an error...

you have mentioned that I can implement prefix configuration variable?? I am
afraid but I dont know how to do that... if you are talking abt
"unified-prefix" key, than I have already configured it in kannel but still
it will look for "+" sign... you can view the code...

thanks alot for your help.. Please help me if you have any idea regarding
this..

regards
Nishant

> -Original Message-
> From: Aarno Syvänen [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, January 20, 2004 06:35 PM
> To:   Jain Nishant; [EMAIL PROTECTED]
> Subject:  RE: WapPush -> Client address format
> 
> 
> I am afraid + is part of the address (it tells that the number is 
> international, and push
> requires an unique address).
> 
> But of course you can implement prefix configuration variables similar to 
> other boxes -
> and commit the patch to Kannel ;
> 
> aarno
> 
> >From: Jain Nishant <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: WapPush -> Client address format
> >Date: Tue, 20 Jan 2004 11:28:05 +0530
> >
> >Hi there,
> >  I am trying to implement WapPush. I am using Openwave apis 
> >(wappushlib.jar)
> >for implementing wappush. I am using kannel (1.2.1) for wappush gateway.
> >  I have configured my application. I am trying to send WapPush service
> >indication to the GSM.
> >
> >  I have some doubts abt the Client address format for wapPush.
> >
> >  Currently I am using this format
> >
> >Client Address :: +919810012345/[EMAIL PROTECTED]
> >
> >Now '91' is my country code and my msisdn number is '9810012345' (test
> >number).
> >
> >  Is it necessary to give '+' in the starting of client address??? Can we
> >omit "+" sign in the starting
> >
> >  Please tell me if you have any idea abt this. I wanted to omit "+"
> sign, 
> >if
> >it is possible.
> >
> >  What should be the correct format for client address?? and what if I
> just
> >use the msisdn number without any country prefix or "+" sign???
> >
> >regards,
> >Nishant
> >
> 
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail