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 </wappush> 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 - 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 > >> >> > > >> >> > > >> > > > >
