Hello,
 
Kannel seems to be working fine as SMS gateway. When i send the word 'complex' to the SMSC it replied me with the site content, but when i tried sending to my default config, an ASP site i created its not returning the content.
 
Heres my config
 
group = sms-service
keyword = default
get-url = "http://192.168.88.61/Smstest/smstest.ASP?msg=%k"
group = sms-service
keyword = complex
get-url = "http://www.yahoo.com/"
 
From the debug Kannel was able to get the site content, but sending it out the requester failed.
 
This is from 'bearerbox for the word 'complex' (this is succesful requestor was able to receive it)
 
2001-09-25 13:13:45 [5] DEBUG: smscconn (AT: /dev/com3): new message received
2001-09-25 13:13:45 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2001-09-25 13:13:45 [8] DEBUG: boxc_receiver: got ack
2001-09-25 13:13:48 [8] DEBUG: boxc_receiver: sms received
2001-09-25 13:13:48 [6] DEBUG: smscconn_sender (AT: /dev/com3): sending message
2001-09-25 13:13:48 [6] DEBUG: international starting with + (+639178368079)
2001-09-25 13:13:48 [6] DEBUG: TP-Validity-Period: 24.0 hours
2001-09-25 13:13:48 [6] DEBUG: AT: Command: AT+CMGS=154
 
2001-09-25 13:13:48 [6] DEBUG: AT: Command: 0011000C913619876308970000A7A0D930FA
FD0E81A065F9FCED0EB341C57638CDCEBFEB80313B9C6EB7F2EFBABCE50EB7CBAEF1BB7D45E741F7
709A0EA2BF41F27298FC23BEEF6EF63B4C0685DDA0B2F8FD5EBB40A030D91E768FCB64D0BC1C968F
D1C1FA989E7EBBE7A016485CCFBFE665361B1476E7E9E8B4FB0C6A818461B93C0F12BEDDE4390B94
1436592067703A0C4A59206CD91D6681A0→
 
2001-09-25 13:13:53 [6] DEBUG: send command status: 0
 
This is my default from bearerbox (this one failed)
 
2001-09-25 13:15:30 [5] DEBUG: smscconn (AT: /dev/com3): new message received  
2001-09-25 13:15:30 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>        
2001-09-25 13:15:31 [8] DEBUG: boxc_receiver: got ack                          
2001-09-25 13:15:31 [8] DEBUG: boxc_receiver: sms received                     
2001-09-25 13:15:31 [6] DEBUG: smscconn_sender (AT: /dev/com3): sending message
2001-09-25 13:15:31 [6] DEBUG: international starting with + (+639178368079)   
2001-09-25 13:15:31 [6] DEBUG: TP-Validity-Period: 24.0 hours                  
2001-09-25 13:15:31 [6] DEBUG: AT: Command: AT+CMGS=118                                                                                                        
2001-09-25 13:15:31 [6] DEBUG: AT: Command: 0011000C913619876308970000A774E566381F064D9B53D0901D9ECFD3E674993C778196E5FCFD2D27CF4161795907421699509031E9248298C92915E42C62A9A0E1D3490D0EA9A0AA93999C5241C320B5787C4A93C5A90B342DBBC920649109056D78EB72FEFE9693373E90F92D0791CBF4709A3D7701→                                                                                                                     2001-09-25 13:15:32 [6] DEBUG: send command status: -1                         
2001-09-25 13:15:32 [6] DEBUG: AT: Command: 0011000C913619876308970000A774E566381F064D9B53D0901D9ECFD3E674993C778196E5FCFD2D27CF4161795907421699509031E9248298C92915E42C62A9A0E1D3490D0EA9A0AA93999C5241C320B5787C4A93C5A90B342DBBC920649109056D78EB72FEFE9693373E90F92D0791CBF4709A3D7701→                                                                                                                     2001-09-25 13:15:52 [6] DEBUG: send command status: -1                         
2001-09-25 13:16:05 [6] DEBUG: AT: Command: 0011000C913619876308970000A774E566381F064D9B53D0901D9ECFD3E674993C778196E5FCFD2D27CF4161795907421699509031E9248298C92915E42C62A9A0E1D3490D0EA9A0AA93999C5241C320B5787C4A93C5A90B342DBBC920649109056D78EB72FEFE9693373E90F92D0791CBF4709A3D7701→                                                                                                                     2001-09-25 13:16:26 [6] DEBUG: send command status: -1                         
2001-09-25 13:16:26 [6] DEBUG: AT: Command: 0011000C913619876308970000A774E566381F064D9B53D0901D9ECFD3E674993C778196E5FCFD2D27CF4161795907421699509031E9248298C92915E42C62A9A0E1D3490D0EA9A0AA93999C5241C320B5787C4A93C5A90B342DBBC920649109056D78EB72FEFE9693373E90F92D0791CBF4709A3D7701→                                                                                                                     2001-09-25 13:16:47 [6] DEBUG: send command status: -1                         
 
Heres from the smsbox.log first one got back to the requestor the sencond didn't
 
2001-09-25 13:13:45 [8] DEBUG: HTTP: Opening connection to `www.yahoo.com:80'.
2001-09-25 13:13:46 [8] DEBUG: HTTP: Sending request:
2001-09-25 13:13:46 [8] DEBUG: Octet string at 0xa02c210:
2001-09-25 13:13:46 [8] DEBUG:   len:  39
2001-09-25 13:13:46 [8] DEBUG:   size: 40
2001-09-25 13:13:46 [8] DEBUG:   immutable: 0
2001-09-25 13:13:46 [8] DEBUG:   data: 47 45 54 20 2f 20 48 54   GET / HT
2001-09-25 13:13:46 [8] DEBUG:   data: 54 50 2f 31 2e 31 0d 0a   TP/1.1..
2001-09-25 13:13:46 [8] DEBUG:   data: 48 6f 73 74 3a 20 77 77   Host: ww
2001-09-25 13:13:46 [8] DEBUG:   data: 77 2e 79 61 68 6f 6f 2e   w.yahoo.
2001-09-25 13:13:47 [8] DEBUG:   data: 63 6f 6d 0d 0a 0d 0a      com....
2001-09-25 13:13:47 [8] DEBUG: Octet string dump ends.
2001-09-25 13:13:47 [7] DEBUG: HTTP: Status line: <HTTP/1.0 200 OK>
2001-09-25 13:15:30 [4] INFO: Starting to service <Test> from <+639178368079> to
 <1234>
2001-09-25 13:15:30 [8] DEBUG: HTTP: Opening connection to `192.168.88.61:80'.
2001-09-25 13:15:30 [8] DEBUG: HTTP: Sending request:
2001-09-25 13:15:30 [8] DEBUG: Octet string at 0xa034150:
2001-09-25 13:15:30 [8] DEBUG:   len:  74
2001-09-25 13:15:30 [8] DEBUG:   size: 75
2001-09-25 13:15:30 [8] DEBUG:   immutable: 0
2001-09-25 13:15:30 [8] DEBUG:   data: 47 45 54 20 2f 53 6d 73   GET /Sms
2001-09-25 13:15:30 [8] DEBUG:   data: 43 6c 61 73 73 69 66 69   test
2001-09-25 13:15:30 [8] DEBUG:   data: 65 64 73 2f 43 6c 61 73   /sms
2001-09-25 13:15:30 [8] DEBUG:   data: 73 69 66 69 65 64 73 2e   test.
2001-09-25 13:15:30 [8] DEBUG:   data: 41 53 50 3f 6d 73 67 3d   ASP?msg=
2001-09-25 13:15:31 [8] DEBUG:   data: 20 48 54 54 50 2f 31 2e    HTTP/1.
2001-09-25 13:15:31 [8] DEBUG:   data: 31 0d 0a 48 6f 73 74 3a   1..Host:
2001-09-25 13:15:31 [8] DEBUG:   data: 20 31 39 32 2e 31 36 38    192.168
2001-09-25 13:15:31 [8] DEBUG:   data: 2e 38 38 2e 36 31 0d 0a   .88.61..
2001-09-25 13:15:31 [8] DEBUG:   data: 0d 0a                     ..
2001-09-25 13:15:31 [8] DEBUG: Octet string dump ends.
2001-09-25 13:15:31 [7] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
 
Heres from the access log, im only attaching the one that failed to be sent to the requestor
 
2001-09-25 20:36:39 Receive SMS [SMSC:nokia] [from:+639178368079] [to:1234] [msg:Nop]                                                                          
 2001-09-25 20:36:39 SMS request sender:+639178368079 request: 'Nop' fixed answer: 'You asked nothing and I did it!'                                            
2001-09-25 20:36:43 Sent SMS [SMSC:nokia] [from:+639198790532] [to:+639178368079] [msg:You asked nothing and I did it!]                                        
2001-09-25 20:39:22 Receive SMS [SMSC:nokia] [from:+639178368079] [to:1234] [msg:Help]                                                                         
2001-09-25 20:39:23 SMS HTTP-request sender:+639178368079 request: 'SMS TEST. THis is jsut a test.' url: 'http://192.168.88.61/Smstest/test.ASP?msg=Help' reply: 200 '<< successful>>'                                    
2001-09-25 20:40:27 FAILED Send SMS [SMSC:nokia] [from:+639198790532] [to:+639178368079] [msg:SMS TEST. This is just a test.]
 
Is there something im missing in creating your own site ? or from the config ?
 
Thanks, any help will be greatly appreciated
 
Anthony                              
 
 
 
 
 
 

Reply via email to