Re: wap push to midlet
Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - From: Henri Hovi To: Rajeev Agarwal Cc: Nikos Balkanas ; users@kannel.org Sent: Wednesday, December 16, 2009 8:52 AM Subject: Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh=%06%05%04%40%AB%23%F0text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - From: Henri Hovi To: Rajeev Agarwal Cc: users@kannel.org Sent: Tuesday, December 15, 2009 2:36 PM Subject: Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: problem with routing sms to proper smsc
Hi, Rerouting is something else. Your question is obviously about routing. Please post detailed bb logs from startup, leading up to the problem. Probably smscs are inactive, i.e. have not started up. BR, Nikos - Original Message - From: Pawel Bunko p.bu...@autoguard.pl To: users@kannel.org Sent: Wednesday, December 16, 2009 9:19 AM Subject: problem with routing sms to proper smsc Hello, I configured 4 modems of 2 gsm operators: group = smsc smsc = at smsc-id = GS2ModemEra14 modemtype = telit device = rawtcp host = 172.16.82.194 port = 15014 speed = 9600 pin = 5047 keepalive = 5 max-error-count = 5 log-file = /opt/kannel/GS2ModemEra14.log log-level = 0 sim-buffering = true preferred-smsc-id=GS2ModemEra14;GS2ModemEra15 allowed-smsc-id=GS2ModemEra14;GS2ModemEra15 group = smsc smsc = at smsc-id = GS2ModemEra15 modemtype = telit device = rawtcp host = 172.16.82.194 port = 15015 speed = 9600 pin = 8321 keepalive = 5 max-error-count = 5 log-file = /opt/kannel/GS2ModemEra15.log log-level = 0 sim-buffering = true preferred-smsc-id=GS2ModemEra14;GS2ModemEra15 allowed-smsc-id=GS2ModemEra14;GS2ModemEra15 group = smsc smsc = at smsc-id = GS2ModemPlus07 modemtype = telit device = rawtcp host = 172.16.82.194 port = 15007 speed = 9600 pin = 8856 keepalive = 5 max-error-count = 5 log-file = /opt/kannel/GS2ModemPlus07.log log-level = 0 sim-buffering = true preferred-smsc-id=GS2ModemPlus07;GS2ModemPlus08 allowed-smsc-id=GS2ModemPlus07;GS2ModemPlus08 group = smsc smsc = at smsc-id = GS2ModemPlus08 modemtype = telit device = rawtcp host = 172.16.82.194 port = 15008 speed = 9600 pin = 7282 keepalive = 5 max-error-count = 5 log-file = /opt/kannel/GS2ModemPlus08.log log-level = 0 sim-buffering = true preferred-smsc-id=GS2ModemPlus07;GS2ModemPlus08 allowed-smsc-id=GS2ModemPlus07;GS2ModemPlus08 # SEND-SMS USERS group = sendsms-user username = GS2ModemEra14 password = GS2ModemEra14 group = sendsms-user username = GS2ModemEra15 password = GS2ModemEra15 group = sendsms-user username = GS2ModemPlus07 password = GS2ModemPlus07 group = sendsms-user username = GS2ModemPlus08 password = GS2ModemPlus08 and when I try to send sms with sendsms: url looks like this: http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemEra14password=GS2ModemEra14from=to=xxxtext=testsmsc-id=GS2ModemEra14dlr-mask =31coding=0validity=1440 bearbox logs looks like this: 2009-12-16 08:02:48 [11165] [12] DEBUG: boxc_receiver: sms received 2009-12-16 08:02:48 [11165] [12] WARNING: Cannot find SMSCConn for message to , rejected. 2009-12-16 08:02:48 [11165] [12] WARNING: Message rejected by bearerbox, no router! According to the user's guide this sendsms request with that configuration should reroute sms to GS2ModemEra14 or GS2ModemEra15 smsc http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemPlus08password=GS2ModemPlus08from=to=xxxtext=testsmsc-id=GS2ModemPlus08dlr-mask =31coding=0validity=1440 this sms should be rerouted to GS2ModemPlus08 or GS2ModemPlus07 smsc why those sms were rejected? when I leave only preferred-smsc-id list for each modem everything working fine but I think that rerouting wouldn't work as I wish what is wrong? thanks for your help Pawel
Re: wap push to midlet
Well, when I send the SMS to start the application by using middlet push registry service, i just send an empty SMS to the port on the device which is configured for the middlet in JAD. So I don't consired it as a wap push. -- H 2009/12/16 Nikos Balkanas n...@amdtelecom.net Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* Nikos Balkanas n...@amdtelecom.net ; users@kannel.org *Sent:* Wednesday, December 16, 2009 8:52 AM *Subject:* Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh= %06%05%04%40%AB%23%F0 text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* users@kannel.org *Sent:* Tuesday, December 15, 2009 2:36 PM *Subject:* Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: could not write to device -- problem with the usb connection?
Hi, Yes. 1) Type: dmesg | grep tty to find verify that you have the correct modem port. 2) With mincom or wvdial communicate with modem at said port to see if it is working. You will have to have write permissions to device or, in some systems, belong to group dial. 3) Configure kannel with modem found in previous steps. If still having problems, post detailed bb logs from start along with configuration. BR, Nikos - Original Message - From: Rajeev Agarwal To: users@kannel.org Sent: Wednesday, December 16, 2009 9:30 AM Subject: could not write to device -- problem with the usb connection? Hi guys, I am gettin the following error when i send a SMS using HTTP 2009-12-16 12:52:44 [9564] [8] DEBUG: boxc_receiver: sms received 2009-12-16 12:52:44 [9564] [8] DEBUG: send_msg: sending msg to box: 127.0.0.1 2009-12-16 12:52:45 [9564] [6] DEBUG: AT2[SMSC]: TP-Validity-Period: 24.0 hours 2009-12-16 12:52:45 [9564] [6] DEBUG: AT2[SMSC]: -- AT+CMGS=79^M 2009-12-16 12:52:45 [9564] [6] ERROR: AT2[SMSC]: Couldnot write to device. 2009-12-16 12:52:45 [9564] [6] ERROR: System error 5: Input/output error 2009-12-16 12:52:51 [9564] [6] DEBUG: AT2[SMSC]: send command status: -1 Is there a problem with the usb connection that i am using?
Re: wap push to midlet
Hi, I don't know what you are doing with your middlet. That's your business. But 06 in udh header means wap push protocol, and wbxml body is from wap push specs. This is still a wap push to a different port, and it is send over SMS. BR, Nikos - Original Message - From: Henri Hovi To: Nikos Balkanas Cc: users@kannel.org Sent: Wednesday, December 16, 2009 11:15 AM Subject: Re: wap push to midlet Well, when I send the SMS to start the application by using middlet push registry service, i just send an empty SMS to the port on the device which is configured for the middlet in JAD. So I don't consired it as a wap push. -- H 2009/12/16 Nikos Balkanas n...@amdtelecom.net Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - From: Henri Hovi To: Rajeev Agarwal Cc: Nikos Balkanas ; users@kannel.org Sent: Wednesday, December 16, 2009 8:52 AM Subject: Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh=%06%05%04%40%AB%23%F0text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - From: Henri Hovi To: Rajeev Agarwal Cc: users@kannel.org Sent: Tuesday, December 15, 2009 2:36 PM Subject: Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: wap push to midlet
if i dont use the midlet, the whoel thing is working perfectly fine!!!.. i know, there is some problem with the midlet!.. 2009/12/16 Nikos Balkanas nbalka...@gmail.com Hi, I don't know what you are doing with your middlet. That's your business. But 06 in udh header means wap push protocol, and wbxml body is from wap push specs. This is still a wap push to a different port, and it is send over SMS. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Nikos Balkanas n...@amdtelecom.net *Cc:* users@kannel.org *Sent:* Wednesday, December 16, 2009 11:15 AM *Subject:* Re: wap push to midlet Well, when I send the SMS to start the application by using middlet push registry service, i just send an empty SMS to the port on the device which is configured for the middlet in JAD. So I don't consired it as a wap push. -- H 2009/12/16 Nikos Balkanas n...@amdtelecom.net Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* Nikos Balkanas n...@amdtelecom.net ; users@kannel.org *Sent:* Wednesday, December 16, 2009 8:52 AM *Subject:* Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh= %06%05%04%40%AB%23%F0 text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* users@kannel.org *Sent:* Tuesday, December 15, 2009 2:36 PM *Subject:* Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: wap push to midlet
When the midlet receives the notification from push registry, how do you capture the body of the WAP Push? Based on my knowledge,it just notifies the midlet to be executed and not forward any information for it from the message. Of course, could be that I have missed some part from the docs... -- H On Wed, Dec 16, 2009 at 11:31 AM, Rajeev Agarwal rajeev.agarw...@gmail.comwrote: if i dont use the midlet, the whoel thing is working perfectly fine!!!.. i know, there is some problem with the midlet!.. 2009/12/16 Nikos Balkanas nbalka...@gmail.com Hi, I don't know what you are doing with your middlet. That's your business. But 06 in udh header means wap push protocol, and wbxml body is from wap push specs. This is still a wap push to a different port, and it is send over SMS. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Nikos Balkanas n...@amdtelecom.net *Cc:* users@kannel.org *Sent:* Wednesday, December 16, 2009 11:15 AM *Subject:* Re: wap push to midlet Well, when I send the SMS to start the application by using middlet push registry service, i just send an empty SMS to the port on the device which is configured for the middlet in JAD. So I don't consired it as a wap push. -- H 2009/12/16 Nikos Balkanas n...@amdtelecom.net Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* Nikos Balkanas n...@amdtelecom.net ; users@kannel.org *Sent:* Wednesday, December 16, 2009 8:52 AM *Subject:* Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh= %06%05%04%40%AB%23%F0 text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* users@kannel.org *Sent:* Tuesday, December 15, 2009 2:36 PM *Subject:* Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: wap push to midlet
I am using the song ericsson ping pong midlet. 2009/12/16 Henri Hovi henri.h...@patidure.com When the midlet receives the notification from push registry, how do you capture the body of the WAP Push? Based on my knowledge,it just notifies the midlet to be executed and not forward any information for it from the message. Of course, could be that I have missed some part from the docs... -- H On Wed, Dec 16, 2009 at 11:31 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: if i dont use the midlet, the whoel thing is working perfectly fine!!!.. i know, there is some problem with the midlet!.. 2009/12/16 Nikos Balkanas nbalka...@gmail.com Hi, I don't know what you are doing with your middlet. That's your business. But 06 in udh header means wap push protocol, and wbxml body is from wap push specs. This is still a wap push to a different port, and it is send over SMS. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Nikos Balkanas n...@amdtelecom.net *Cc:* users@kannel.org *Sent:* Wednesday, December 16, 2009 11:15 AM *Subject:* Re: wap push to midlet Well, when I send the SMS to start the application by using middlet push registry service, i just send an empty SMS to the port on the device which is configured for the middlet in JAD. So I don't consired it as a wap push. -- H 2009/12/16 Nikos Balkanas n...@amdtelecom.net Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* Nikos Balkanas n...@amdtelecom.net ; users@kannel.org *Sent:* Wednesday, December 16, 2009 8:52 AM *Subject:* Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh= %06%05%04%40%AB%23%F0 text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* users@kannel.org *Sent:* Tuesday, December 15, 2009 2:36 PM *Subject:* Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: wap push to midlet
So then You must use SE forum for the issues, since the Kannel part seems to work well... -- Henri On Wed, Dec 16, 2009 at 11:43 AM, Rajeev Agarwal rajeev.agarw...@gmail.comwrote: I am using the song ericsson ping pong midlet. 2009/12/16 Henri Hovi henri.h...@patidure.com When the midlet receives the notification from push registry, how do you capture the body of the WAP Push? Based on my knowledge,it just notifies the midlet to be executed and not forward any information for it from the message. Of course, could be that I have missed some part from the docs... -- H On Wed, Dec 16, 2009 at 11:31 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: if i dont use the midlet, the whoel thing is working perfectly fine!!!.. i know, there is some problem with the midlet!.. 2009/12/16 Nikos Balkanas nbalka...@gmail.com Hi, I don't know what you are doing with your middlet. That's your business. But 06 in udh header means wap push protocol, and wbxml body is from wap push specs. This is still a wap push to a different port, and it is send over SMS. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Nikos Balkanas n...@amdtelecom.net *Cc:* users@kannel.org *Sent:* Wednesday, December 16, 2009 11:15 AM *Subject:* Re: wap push to midlet Well, when I send the SMS to start the application by using middlet push registry service, i just send an empty SMS to the port on the device which is configured for the middlet in JAD. So I don't consired it as a wap push. -- H 2009/12/16 Nikos Balkanas n...@amdtelecom.net Hi, Sorry, but the SMS is exactly like wap push. In fact, wap push is sent over as SMS. But you have to watch to have the correct udh and wbxml encoding. If not, it won't show up. Of course the major issue is your middlet. This is something you have done, and we cannot debug it for you. To see if your wap push works, test it as a normal push first (don't change ports). Your mobile has to have pushes enabled. BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* Nikos Balkanas n...@amdtelecom.net ; users@kannel.org *Sent:* Wednesday, December 16, 2009 8:52 AM *Subject:* Re: wap push to midlet The SMS is just signaling that the application should start, so it's not like traditional WAP Push. Some devices just starts automatically, I have seen only Nokia requesting user to confirm the start. So in other cases, there would be no case to even display the message. -- Henri On Wed, Dec 16, 2009 at 5:06 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: The thing that i am doing right now is changing the destination port in the UDH to 40AB (16555 in decimal). 40AB is also the midlet port. When the phone receives the msg, the midlet gets activated. But i does not display the actual text that i have in the form of an encoded URL, as shown below http://xxx.xxx.x.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=xxudh= %06%05%04%40%AB%23%F0 text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% Any thoughts on this??.. Thanks. 2009/12/15 Nikos Balkanas n...@amdtelecom.net Hi, Wap push is at a predefined port. You cannot change it through UDH headers in wapbox. Wapbox doesn't support UDH. But you can do it through smsbox (as suggested by Henri). BR, Nikos - Original Message - *From:* Henri Hovi henri.h...@patidure.com *To:* Rajeev Agarwal rajeev.agarw...@gmail.com *Cc:* users@kannel.org *Sent:* Tuesday, December 15, 2009 2:36 PM *Subject:* Re: wap push to midlet No need to use wap push, just SMS with UDH -- Henri On Tue, Dec 15, 2009 at 2:27 PM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi!! I've changed the udh destination port according to my midlet port. But wen i use the encoded url for wap push it does not get displayed. i get some error!..has anyone tried this before? pls help! regards rajeev. -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
OMA Sync Settings
Hi all I am trying to send a OMA OTA SyncML settings using Kannel 1.4.3. The message is getting delivered on the client handset and it also asks for a pin. When i enter the pin, the message gets opened but it is incomplete i.e. it does not have the settings. When I save the message, nothing gets saved though phone says Settings Saved. I am firing following url to send the settings: http://122.160.156.122:13013/cgi-bin/sendota?username=otapassword=pwdto=91 9716017701type=oma-settingssec=userpinpin=text=doc doc is URL encoded format of the attached XML document: http://old.nabble.com/file/p26809183/syncmlsettings.xml syncmlsettings.xml Also attached are the logs Please help me in fixing this issue. Regards Nitin -- View this message in context: http://old.nabble.com/OMA-Sync-Settings-tp26809183p26809183.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: OMA Sync Settings
Hi, Please use latest CVS. There was an issue with OMA and 1.4.3 when it was released. BR, Nikos - Original Message - From: Nitin Gupta nitin@srishtitechnet.com To: users@kannel.org Sent: Wednesday, December 16, 2009 12:55 PM Subject: OMA Sync Settings Hi all I am trying to send a OMA OTA SyncML settings using Kannel 1.4.3. The message is getting delivered on the client handset and it also asks for a pin. When i enter the pin, the message gets opened but it is incomplete i.e. it does not have the settings. When I save the message, nothing gets saved though phone says Settings Saved. I am firing following url to send the settings: http://122.160.156.122:13013/cgi-bin/sendota?username=otapassword=pwdto=91 9716017701type=oma-settingssec=userpinpin=text=doc doc is URL encoded format of the attached XML document: http://old.nabble.com/file/p26809183/syncmlsettings.xml syncmlsettings.xml Also attached are the logs Please help me in fixing this issue. Regards Nitin -- View this message in context: http://old.nabble.com/OMA-Sync-Settings-tp26809183p26809183.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: problem with routing sms to proper smsc
Nikos Balkanas pisze: Hi, Rerouting is something else. Your question is obviously about routing. Please post detailed bb logs from startup, leading up to the problem. Probably smscs are inactive, i.e. have not started up. I was talking about routing all smsc were active when I added forced-smsc = to every send-sms users group like this # SEND-SMS USERS group = sendsms-user username = GS2ModemEra14 password = GS2ModemEra14 forced-smsc = GS2ModemEra14 group = sendsms-user username = GS2ModemEra15 password = GS2ModemEra15 forced-smsc = GS2ModemEra15 group = sendsms-user username = GS2ModemPlus07 password = GS2ModemPlus07 forced-smsc = GS2ModemPlus07 group = sendsms-user username = GS2ModemPlus08 password = GS2ModemPlus08 forced-smsc = GS2ModemPlus08 routing starts working and when I try to send sms with sendsms: url looks like this: http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemEra14password=GS2ModemEra14from=to=xxxtext=testsmsc-id=GS2ModemEra14dlr-mask =31coding=0validity=1440 but it is strange why forced-smsc is necessary if smsc-id parameter was pass in sendsms url? bearbox logs looks like this: 2009-12-16 08:02:48 [11165] [12] DEBUG: boxc_receiver: sms received 2009-12-16 08:02:48 [11165] [12] WARNING: Cannot find SMSCConn for message to , rejected. 2009-12-16 08:02:48 [11165] [12] WARNING: Message rejected by bearerbox, no router! According to the user's guide this sendsms request with that configuration should reroute sms to GS2ModemEra14 or GS2ModemEra15 smsc http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemPlus08password=GS2ModemPlus08from=to=xxxtext=testsmsc-id=GS2ModemPlus08dlr-mask =31coding=0validity=1440 this sms should be rerouted to GS2ModemPlus08 or GS2ModemPlus07 smsc why those sms were rejected? when I leave only preferred-smsc-id list for each modem everything working fine but I think that rerouting wouldn't work as I wish what is wrong? thanks for your help Pawel -- Paweł Buńko Starszy Programista Dział Budowy Oprogramowania Systemów Zarządzania Biuro Rozwoju Produktu tel. +48 22 61 16 729; 502 477 791 fax. +48 22 61 09 143 mail: p.bu...@autoguard.pl; www.autoguard.pl AutoGuard S.A. z siedzibą w Warszawie (04-128), ul. Omulewska 27. Spółka wpisana do Krajowego Rejestru Sądowego w Sądzie Rejonowym dla m. st. Warszawy w Warszawie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod nr KRS 287629. Kapitał akcyjny: 1.059.000,00 zł (w pełni opłacony), NIP 113-22-19-747, REGON 016284203. Klauzula poufności: Ta wiadomość może zawierać informacje poufne. Jeżeli nie jesteś adresatem wiadomości (i/albo otrzymałeś ją omyłkowo), prosimy poinformować nadawcę oraz ją usunąć. Wszelkie kopiowanie, ujawnianie lub dalsze przekazywanie materiałów zawartych w tej wiadomości elektronicznej jest zabronione. Disclaimer: This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Re: problem with routing sms to proper smsc
That's because you have a typo. You should use: smsc=smscid in your URL instead of: smsc-id=smscid BR, Nikos - Original Message - From: Pawel Bunko p.bu...@autoguard.pl To: Nikos Balkanas n...@amdtelecom.net Cc: users@kannel.org Sent: Wednesday, December 16, 2009 1:27 PM Subject: Re: problem with routing sms to proper smsc Nikos Balkanas pisze: Hi, Rerouting is something else. Your question is obviously about routing. Please post detailed bb logs from startup, leading up to the problem. Probably smscs are inactive, i.e. have not started up. I was talking about routing all smsc were active when I added forced-smsc = to every send-sms users group like this # SEND-SMS USERS group = sendsms-user username = GS2ModemEra14 password = GS2ModemEra14 forced-smsc = GS2ModemEra14 group = sendsms-user username = GS2ModemEra15 password = GS2ModemEra15 forced-smsc = GS2ModemEra15 group = sendsms-user username = GS2ModemPlus07 password = GS2ModemPlus07 forced-smsc = GS2ModemPlus07 group = sendsms-user username = GS2ModemPlus08 password = GS2ModemPlus08 forced-smsc = GS2ModemPlus08 routing starts working and when I try to send sms with sendsms: url looks like this: http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemEra14password=GS2ModemEra14from=to=xxxtext=testsmsc-id=GS2ModemEra14dlr-mask =31coding=0validity=1440 but it is strange why forced-smsc is necessary if smsc-id parameter was pass in sendsms url? bearbox logs looks like this: 2009-12-16 08:02:48 [11165] [12] DEBUG: boxc_receiver: sms received 2009-12-16 08:02:48 [11165] [12] WARNING: Cannot find SMSCConn for message to , rejected. 2009-12-16 08:02:48 [11165] [12] WARNING: Message rejected by bearerbox, no router! According to the user's guide this sendsms request with that configuration should reroute sms to GS2ModemEra14 or GS2ModemEra15 smsc http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemPlus08password=GS2ModemPlus08from=to=xxxtext=testsmsc-id=GS2ModemPlus08dlr-mask =31coding=0validity=1440 this sms should be rerouted to GS2ModemPlus08 or GS2ModemPlus07 smsc why those sms were rejected? when I leave only preferred-smsc-id list for each modem everything working fine but I think that rerouting wouldn't work as I wish what is wrong? thanks for your help Pawel -- Paweł Buńko Starszy Programista Dział Budowy Oprogramowania Systemów Zarządzania Biuro Rozwoju Produktu tel. +48 22 61 16 729; 502 477 791 fax. +48 22 61 09 143 mail: p.bu...@autoguard.pl; www.autoguard.pl AutoGuard S.A. z siedzibą w Warszawie (04-128), ul. Omulewska 27. Spółka wpisana do Krajowego Rejestru Sądowego w Sądzie Rejonowym dla m. st. Warszawy w Warszawie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod nr KRS 287629. Kapitał akcyjny: 1.059.000,00 zł (w pełni opłacony), NIP 113-22-19-747, REGON 016284203. Klauzula poufności: Ta wiadomość może zawierać informacje poufne. Jeżeli nie jesteś adresatem wiadomości (i/albo otrzymałeś ją omyłkowo), prosimy poinformować nadawcę oraz ją usunąć. Wszelkie kopiowanie, ujawnianie lub dalsze przekazywanie materiałów zawartych w tej wiadomości elektronicznej jest zabronione. Disclaimer: This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Re: problem with routing sms to proper smsc
Nikos Balkanas pisze: That's because you have a typo. You should use: smsc=smscid in your URL instead of: smsc-id=smscid thanks a lot :) stupid mistake BR, Nikos - Original Message - From: Pawel Bunko p.bu...@autoguard.pl To: Nikos Balkanas n...@amdtelecom.net Cc: users@kannel.org Sent: Wednesday, December 16, 2009 1:27 PM Subject: Re: problem with routing sms to proper smsc Nikos Balkanas pisze: Hi, Rerouting is something else. Your question is obviously about routing. Please post detailed bb logs from startup, leading up to the problem. Probably smscs are inactive, i.e. have not started up. I was talking about routing all smsc were active when I added forced-smsc = to every send-sms users group like this # SEND-SMS USERS group = sendsms-user username = GS2ModemEra14 password = GS2ModemEra14 forced-smsc = GS2ModemEra14 group = sendsms-user username = GS2ModemEra15 password = GS2ModemEra15 forced-smsc = GS2ModemEra15 group = sendsms-user username = GS2ModemPlus07 password = GS2ModemPlus07 forced-smsc = GS2ModemPlus07 group = sendsms-user username = GS2ModemPlus08 password = GS2ModemPlus08 forced-smsc = GS2ModemPlus08 routing starts working and when I try to send sms with sendsms: url looks like this: http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemEra14password=GS2ModemEra14from=to=xxxtext=testsmsc-id=GS2ModemEra14dlr-mask =31coding=0validity=1440 but it is strange why forced-smsc is necessary if smsc-id parameter was pass in sendsms url? bearbox logs looks like this: 2009-12-16 08:02:48 [11165] [12] DEBUG: boxc_receiver: sms received 2009-12-16 08:02:48 [11165] [12] WARNING: Cannot find SMSCConn for message to , rejected. 2009-12-16 08:02:48 [11165] [12] WARNING: Message rejected by bearerbox, no router! According to the user's guide this sendsms request with that configuration should reroute sms to GS2ModemEra14 or GS2ModemEra15 smsc http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemPlus08password=GS2ModemPlus08from=to=xxxtext=testsmsc-id=GS2ModemPlus08dlr-mask =31coding=0validity=1440 this sms should be rerouted to GS2ModemPlus08 or GS2ModemPlus07 smsc why those sms were rejected? when I leave only preferred-smsc-id list for each modem everything working fine but I think that rerouting wouldn't work as I wish what is wrong? thanks for your help Pawel -- PaweΕ‚ BuΕ„ko Starszy Programista DziaΕ‚ Budowy Oprogramowania SystemΓ³w ZarzΔ…dzania Biuro Rozwoju Produktu tel. +48 22 61 16 729; 502 477 791 fax. +48 22 61 09 143 mail: p.bu...@autoguard.pl; www.autoguard.pl AutoGuard S.A. z siedzibΔ… w Warszawie (04-128), ul. Omulewska 27. SpΓ³Ε‚ka wpisana do Krajowego Rejestru SΔ…dowego w SΔ…dzie Rejonowym dla m. st. Warszawy w Warszawie, XIII WydziaΕ‚ Gospodarczy Krajowego Rejestru SΔ…dowego pod nr KRS 287629. KapitaΕ‚ akcyjny: 1.059.000,00 zΕ‚ (w peΕ‚ni opΕ‚acony), NIP 113-22-19-747, REGON 016284203. Klauzula poufnoΕ›ci: Ta wiadomoΕ›Δ‡ moΕΌe zawieraΔ‡ informacje poufne. JeΕΌeli nie jesteΕ› adresatem wiadomoΕ›ci (i/albo otrzymaΕ‚eΕ› jΔ… omyΕ‚kowo), prosimy poinformowaΔ‡ nadawcΔ™ oraz jΔ… usunΔ…Δ‡. Wszelkie kopiowanie, ujawnianie lub dalsze przekazywanie materiaΕ‚Γ³w zawartych w tej wiadomoΕ›ci elektronicznej jest zabronione. Disclaimer: This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- Paweł Buńko Starszy Programista Dział Budowy Oprogramowania Systemów Zarządzania Biuro Rozwoju Produktu tel. +48 22 61 16 729; 502 477 791 fax. +48 22 61 09 143 mail: p.bu...@autoguard.pl; www.autoguard.pl AutoGuard S.A. z siedzibą w Warszawie (04-128), ul. Omulewska 27. Spółka wpisana do Krajowego Rejestru Sądowego w Sądzie Rejonowym dla m. st. Warszawy w Warszawie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod nr KRS 287629. Kapitał akcyjny: 1.059.000,00 zł (w pełni opłacony), NIP 113-22-19-747, REGON 016284203. Klauzula poufności: Ta wiadomość może zawierać informacje poufne. Jeżeli nie jesteś adresatem wiadomości (i/albo otrzymałeś ją omyłkowo), prosimy poinformować nadawcę oraz ją usunąć. Wszelkie kopiowanie, ujawnianie lub dalsze przekazywanie materiałów zawartych w tej wiadomości elektronicznej jest zabronione. Disclaimer: This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Re: HTTP connection URL through Binary SMS or PPG ?
Thanks Henri, So if I understand well Wapbox is mandatory in this situation. At least to compile the PAP xml ? then send a SMS ? PPG can not be used alone for this task? I mean what are the necessary steps to perform: HTTP Interface ? - PPG - Wapbox - SMS - Mobile Station I have to check how to use PPG for this purpose. I will check the Kannel User Guide for this but basically: Is it possible through a PHP script (or whatever) to call an HTTP interface in order to make the PPG do this job? Regards, Emmanuel 2009/12/16 Henri Hovi henri.h...@patidure.com You need to use PPG. The wapbox is just used to compile the PAP XML to correct format, it's then forwarded as SMS to the device. When the phone retrieves the URL, it does it based on it's own configuration, so it can use HTTP directly or WAP Gateway as proxy. In later case the wapbox can be used, but requires that the user has the Kannel configured as proxy. But normally operators has those already configured, so You don't need to worry about them. -- Henri On Wed, Dec 16, 2009 at 6:59 AM, Emmanuel CHANSON emmanuelchan...@gmail.com wrote: Hello guys, I'm wondering how can I make a mobile openning an HTTP URL ? - by sending a SMS push with UDH parameter through sendsms interface ? which value to add in this case? - by using PPG from kannel ? which config in this case for PPG group? - others solution ? I saw many times WAP PUSH tutorials that show how to send a WAP PUSH SMS using PPG but do I have to do the same if I want to make a mobile openning an HTTP URL ? Whatever its properties because some mobile (old one) have to use WAP and wapbox, the recent ones use HTTP and doesn't need wapbox in this case. -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
Re: ppg and wap user
Hello Rajeev, Just curious, how do you encode the URL below? I am looking for the same things: To send a SMS to mobile in order to make it openning an URL. Regards, Emmanuel 2009/12/16 Henri Hovi henri.h...@patidure.com No, because You have formatted the WAP push on the application server. Can't save that if it's correctly formatted or no, but if you send it directly to sendsms - no need to have them configured. On Wed, Dec 16, 2009 at 7:07 AM, Rajeev Agarwal rajeev.agarw...@gmail.com wrote: hi! Do i need to have a ppg group and a wap-user group in my configuration file if i do wap push using http as follows http://xxx.xxx.xxx.xxx:15015/cgi-bin/sendsms?username=testerpassword=foobarto=0xudh= %06%05%04%0B%84%23%F0 text=%FF%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%2e%69%6e%2f%6d%6f%62%69%6c%65%00%01%03%57%65%6c%63%6f%6d%65%20%74%6f%20%47%6f%6f%67%6c%65%00%01%01% -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
Install Kannel With MySQL on Mac Leopard 10.5.8
Hi, I'm trying to install kannel with mysql support on Mac Leopard 10.5.8. And I got these error during configure and make On configure phase: Configuring DB support ... checking whether to compile with MySQL support... searching checking for mysql_config... /usr/local/mysql/bin/mysql_config checking mysql version... 5.1.41 checking mysql reentrant libs... -L/usr/local/mysql/lib/mysql - lmysqlclient_r -lz -lm checking for mysql_init in -lmysqlclient_r... yes checking mysql includes... -I/usr/local/mysql/include/mysql checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no checking mysql/mysql_version.h usability... no checking mysql/mysql_version.h presence... no checking for mysql/mysql_version.h... no checking whether to compile with MySQL support... yes checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... disabled checking whether to compile with PostgresSQL support... disabled On make phase: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gw/dlr_mysql.o -c gw/dlr_mysql.c gw/dlr_mysql.c:74:25: error: mysql/mysql.h: No such file or directory gw/dlr_mysql.c: In function 'mysql_update': gw/dlr_mysql.c:102: warning: implicit declaration of function 'mysql_query' gw/dlr_mysql.c:104: warning: implicit declaration of function 'mysql_error' gw/dlr_mysql.c: At top level: gw/dlr_mysql.c:109: error: syntax error before '*' token gw/dlr_mysql.c:110: warning: return type defaults to 'int' gw/dlr_mysql.c: In function 'mysql_select': gw/dlr_mysql.c:112: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:112: error: (Each undeclared identifier is reported only once gw/dlr_mysql.c:112: error: for each function it appears in.) gw/dlr_mysql.c:112: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:129: warning: implicit declaration of function 'mysql_store_result' gw/dlr_mysql.c: In function 'dlr_mysql_get': gw/dlr_mysql.c:170: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:170: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:171: error: 'MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:171: error: syntax error before 'row' gw/dlr_mysql.c:187: warning: implicit declaration of function 'mysql_num_rows' gw/dlr_mysql.c:189: warning: implicit declaration of function 'mysql_free_result' gw/dlr_mysql.c:192: error: 'row' undeclared (first use in this function) gw/dlr_mysql.c:192: warning: implicit declaration of function 'mysql_fetch_row' gw/dlr_mysql.c: In function 'dlr_mysql_messages': gw/dlr_mysql.c:253: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:253: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:254: error: 'MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:254: error: syntax error before 'row' gw/dlr_mysql.c:269: error: 'row' undeclared (first use in this function) make: *** [gw/dlr_mysql.o] Error 1 Please help and many thanks. Willy sangpr...@gmail.com
Re: Install Kannel With MySQL on Mac Leopard 10.5.8
Seems like you're missing the mysql headers. Check if mysql.h is on /usr/local/mysql/include/mysql or someplace else. Regards, Alex On Thu, Dec 17, 2009 at 2:25 AM, uYe sangpr...@gmail.com wrote: Hi, I'm trying to install kannel with mysql support on Mac Leopard 10.5.8. And I got these error during configure and make On configure phase: Configuring DB support ... checking whether to compile with MySQL support... searching checking for mysql_config... /usr/local/mysql/bin/mysql_config checking mysql version... 5.1.41 checking mysql reentrant libs... -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lm checking for mysql_init in -lmysqlclient_r... yes checking mysql includes... -I/usr/local/mysql/include/mysql checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no checking mysql/mysql_version.h usability... no checking mysql/mysql_version.h presence... no checking for mysql/mysql_version.h... no checking whether to compile with MySQL support... yes checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... disabled checking whether to compile with PostgresSQL support... disabled On make phase: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/local/mysql/include/mysql -o gw/dlr_mysql.o -c gw/dlr_mysql.c gw/dlr_mysql.c:74:25: error: mysql/mysql.h: No such file or directory gw/dlr_mysql.c: In function 'mysql_update': gw/dlr_mysql.c:102: warning: implicit declaration of function 'mysql_query' gw/dlr_mysql.c:104: warning: implicit declaration of function 'mysql_error' gw/dlr_mysql.c: At top level: gw/dlr_mysql.c:109: error: syntax error before '*' token gw/dlr_mysql.c:110: warning: return type defaults to 'int' gw/dlr_mysql.c: In function 'mysql_select': gw/dlr_mysql.c:112: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:112: error: (Each undeclared identifier is reported only once gw/dlr_mysql.c:112: error: for each function it appears in.) gw/dlr_mysql.c:112: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:129: warning: implicit declaration of function 'mysql_store_result' gw/dlr_mysql.c: In function 'dlr_mysql_get': gw/dlr_mysql.c:170: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:170: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:171: error: 'MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:171: error: syntax error before 'row' gw/dlr_mysql.c:187: warning: implicit declaration of function 'mysql_num_rows' gw/dlr_mysql.c:189: warning: implicit declaration of function 'mysql_free_result' gw/dlr_mysql.c:192: error: 'row' undeclared (first use in this function) gw/dlr_mysql.c:192: warning: implicit declaration of function 'mysql_fetch_row' gw/dlr_mysql.c: In function 'dlr_mysql_messages': gw/dlr_mysql.c:253: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:253: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:254: error: 'MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:254: error: syntax error before 'row' gw/dlr_mysql.c:269: error: 'row' undeclared (first use in this function) make: *** [gw/dlr_mysql.o] Error 1 Please help and many thanks. Willy sangpr...@gmail.com
Re: HTTP connection URL through Binary SMS or PPG ?
The flow You explain is correct, but after You have sent it to PPG, it will take care of sending the SMS.. . So You just push the PAP message to the PPG url configured to Kannel. if You use PHP, You can use cUrl to do the communication between Your application and Kannel. Alternative solution is to build the message in Your application, it takes aprx. 10 lines of PHP code and then use the sendsms interface directly. Anyhow, I use the Kannel PPG. -- Henri On Wed, Dec 16, 2009 at 11:08 PM, Emmanuel CHANSON emmanuelchan...@gmail.com wrote: Thanks Henri, So if I understand well Wapbox is mandatory in this situation. At least to compile the PAP xml ? then send a SMS ? PPG can not be used alone for this task? I mean what are the necessary steps to perform: HTTP Interface ? - PPG - Wapbox - SMS - Mobile Station I have to check how to use PPG for this purpose. I will check the Kannel User Guide for this but basically: Is it possible through a PHP script (or whatever) to call an HTTP interface in order to make the PPG do this job? Regards, Emmanuel 2009/12/16 Henri Hovi henri.h...@patidure.com You need to use PPG. The wapbox is just used to compile the PAP XML to correct format, it's then forwarded as SMS to the device. When the phone retrieves the URL, it does it based on it's own configuration, so it can use HTTP directly or WAP Gateway as proxy. In later case the wapbox can be used, but requires that the user has the Kannel configured as proxy. But normally operators has those already configured, so You don't need to worry about them. -- Henri On Wed, Dec 16, 2009 at 6:59 AM, Emmanuel CHANSON emmanuelchan...@gmail.com wrote: Hello guys, I'm wondering how can I make a mobile openning an HTTP URL ? - by sending a SMS push with UDH parameter through sendsms interface ? which value to add in this case? - by using PPG from kannel ? which config in this case for PPG group? - others solution ? I saw many times WAP PUSH tutorials that show how to send a WAP PUSH SMS using PPG but do I have to do the same if I want to make a mobile openning an HTTP URL ? Whatever its properties because some mobile (old one) have to use WAP and wapbox, the recent ones use HTTP and doesn't need wapbox in this case. -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: Install Kannel With MySQL on Mac Leopard 10.5.8
I think it has to do with the kind of tree used. Usually it's /usr/local/include/mysql and /usr/local/lib/mysql, and you'd use --with-mysql=/usr/local In your case you're apparently using a mysql dir inside /usr/local and then another mysql dir inside include, which is probably confusing the configure script. Can you paste the output for mysql_config ? Regards, Alex On Thu, Dec 17, 2009 at 8:19 AM, uYe sangpr...@gmail.com wrote: mysql.h is in /usr/local/mysql/include/mysql. And I have locate it with --with-mysql-dir=/usr/local/mysql It should be ok I guess, but why configure fail to find it while the file is exists Willy sangpr...@gmail.com On Dec 17, 2009, at 2:00 PM, Alejandro Guerrieri wrote: Seems like you're missing the mysql headers. Check if mysql.h is on /usr/local/mysql/include/mysql or someplace else. Regards, Alex On Thu, Dec 17, 2009 at 2:25 AM, uYe sangpr...@gmail.com wrote: Hi, I'm trying to install kannel with mysql support on Mac Leopard 10.5.8. And I got these error during configure and make On configure phase: Configuring DB support ... checking whether to compile with MySQL support... searching checking for mysql_config... /usr/local/mysql/bin/mysql_config checking mysql version... 5.1.41 checking mysql reentrant libs... -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lm checking for mysql_init in -lmysqlclient_r... yes checking mysql includes... -I/usr/local/mysql/include/mysql checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no checking mysql/mysql_version.h usability... no checking mysql/mysql_version.h presence... no checking for mysql/mysql_version.h... no checking whether to compile with MySQL support... yes checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... disabled checking whether to compile with PostgresSQL support... disabled On make phase: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/local/mysql/include/mysql -o gw/dlr_mysql.o -c gw/dlr_mysql.c gw/dlr_mysql.c:74:25: error: mysql/mysql.h: No such file or directory gw/dlr_mysql.c: In function 'mysql_update': gw/dlr_mysql.c:102: warning: implicit declaration of function 'mysql_query' gw/dlr_mysql.c:104: warning: implicit declaration of function 'mysql_error' gw/dlr_mysql.c: At top level: gw/dlr_mysql.c:109: error: syntax error before '*' token gw/dlr_mysql.c:110: warning: return type defaults to 'int' gw/dlr_mysql.c: In function 'mysql_select': gw/dlr_mysql.c:112: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:112: error: (Each undeclared identifier is reported only once gw/dlr_mysql.c:112: error: for each function it appears in.) gw/dlr_mysql.c:112: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:129: warning: implicit declaration of function 'mysql_store_result' gw/dlr_mysql.c: In function 'dlr_mysql_get': gw/dlr_mysql.c:170: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:170: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:171: error: 'MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:171: error: syntax error before 'row' gw/dlr_mysql.c:187: warning: implicit declaration of function 'mysql_num_rows' gw/dlr_mysql.c:189: warning: implicit declaration of function 'mysql_free_result' gw/dlr_mysql.c:192: error: 'row' undeclared (first use in this function) gw/dlr_mysql.c:192: warning: implicit declaration of function 'mysql_fetch_row' gw/dlr_mysql.c: In function 'dlr_mysql_messages': gw/dlr_mysql.c:253: error: 'MYSQL_RES' undeclared (first use in this function) gw/dlr_mysql.c:253: error: 'result' undeclared (first use in this function) gw/dlr_mysql.c:254: error: 'MYSQL_ROW' undeclared (first use in this function) gw/dlr_mysql.c:254: error: syntax error before 'row' gw/dlr_mysql.c:269: error: 'row' undeclared (first use in this function) make: *** [gw/dlr_mysql.o] Error 1 Please help and many thanks. Willy sangpr...@gmail.com
Re: Install Kannel With MySQL on Mac Leopard 10.5.8
Now the problem solved by doing symbolic link /usr/local/mysql/lib/ mysql /usr/local/mysql/lib/ And now another error happen during make ... libtool -static -o libwap.a wap/cookies.o wap/timers.o wap/wap.o wap/ wap_addr.o wap/wap_events.o wap/wsp.o wap/wsp_caps.o wap/wsp_headers.o wap/wsp_pdu.o wap/wsp_push_client.o wap/wsp_session.o wap/ wsp_strings.o wap/wsp_unit.o wap/wtls-secmgr.o wap/wtls.o wap/ wtls_pdu.o wap/wtls_pdusupport.o wap/wtls_statesupport.o wap/wtp.o wap/ wtp_init.o wap/wtp_pack.o wap/wtp_pdu.o wap/wtp_resp.o wap/wtp_tid.o radius/radius_acct.o radius/radius_pdu.o libtool: file: wap/wtls-secmgr.o has no symbols libtool: file: wap/wtls.o has no symbols libtool: file: wap/wtls_pdu.o has no symbols libtool: file: wap/wtls_pdusupport.o has no symbols libtool: file: wap/wtls_statesupport.o has no symbols ranlib libwap.a ranlib: file: libwap.a(wtls-secmgr.o) has no symbols ranlib: file: libwap.a(wtls.o) has no symbols ranlib: file: libwap.a(wtls_pdu.o) has no symbols ranlib: file: libwap.a(wtls_pdusupport.o) has no symbols ranlib: file: libwap.a(wtls_statesupport.o) has no symbols ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/date.o -c gwlib/date.c gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:70: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:75: warning: pointer targets in initialization differ in signedness gwlib/date.c: In function 'date_format_http': gwlib/date.c:113: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness gwlib/date.c:115: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/date.c: In function 'date_parse_http': gwlib/date.c:213: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/md5.o -c gwlib/md5.c gwlib/md5.c: In function 'md5': gwlib/md5.c:397: warning: pointer targets in passing argument 2 of 'md5_update' differ in signedness gwlib/md5.c:400: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness gwlib/md5.c: In function 'md5digest': gwlib/md5.c:416: warning: pointer targets in passing argument 2 of 'md5_digest' differ in signedness ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/octstr.o -c gwlib/octstr.c gwlib/octstr.c: In function 'urlcode_init': gwlib/octstr.c:209: warning: pointer targets in initialization differ in signedness gwlib/octstr.c: In function 'octstr_imm': gwlib/octstr.c:309: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gwlib/octstr.c: In function 'octstr_copy_real': gwlib/octstr.c:361: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness gwlib/octstr.c: In function 'octstr_duplicate_real': gwlib/octstr.c:373: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness