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 - 9810011111 (this is different for every request)
destination msisnd -9810436688


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


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
>>
>>   <?xml version="1.0"?>
>>   <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
"http://www.wapforum.or
g/DTD/pap_1.0.dtd">
>>   <pap>
>>   <push-message push-id="1073882801206">
>>   <address
address-value="WAPPUSH=+919810310973/[EMAIL PROTECTED]"/>
>>   <quality-of-service priority="high" delivery-method="unconfirmed"
network="
GSM" network-required="true" bearer="SMS" bearer-required="true"/>
>>   </push-message>
>>   </pap>
>>   --WPL4woVbhESdfalYevGqpdzLCs
>>   Content-Type: text/vnd.wap.si; charset=UTF-8
>>
>>   <?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.yahoo.com/"; action="signal-high">
>>   WapPush Message. Please inform Nishant at 2157
>>   </indication>
>>   </si>
>>   --WPL4woVbhESdfalYevGqpdzLCs--
<<   HTTP/1.1 202 Foo
<<   Server: Kannel/1.2.1
<<   Content-Length: 390
<<   Content-Type: application/xml
<<
<<   <?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP
1.0//EN" "h
ttp://www.wapforum.org/DTD/pap_1.0.dtd"><pap><push-response
push-id="10738828012
06" sender-name="delgtel103; WAP/1.3 (Kannel/1.2.1)"
reply-time="2004-01-12T04:4
6:43Z" sender-address="/wappush"></push-response><response-result code
="1001" d
esc="The request has been accepted for processing"></response-result></pap>
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.
> 
> <navjot/>
> 
> >> -----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] [mailto:[EMAIL PROTECTED]
> >> >Behalf Of Jain Nishant
> >> >Sent: Wednesday, January 07, 2004 4:58 PM
> >> >To: [EMAIL PROTECTED]
> >> >Subject: SMS replies to kannel
> >> >
> >> >
> >> >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
> >> >
> >> >
> >

Reply via email to