Hi,
 
        I´ve configured Kannel to send and recive sms. But we´ve a problem, we can´t identify "to" number in incoming SMSs.
 
group = sms-service
keyword = default
catch-all = true
get-url=""BLOCKED::http://xxxxxxxxxxxxxxx.jsp?Orig=%q&Dest=%Q&Carrier=%i&Body=%a&keyword=%k&time=%t&BinBody=%b&cmin=%c&CMAY=%C&PRIORITY=0&Exta1=%I&Extra2=%s&Extra3=%S&Extra4=%r&Extra5=%T&Extra6=%d&Extra7=%A&Extra8=%n&Extra9=%c&Extra10=%C&Extra11=%u&Extra12=%B&Extra13=%o&Extra14=%p&Extra15=%P">http://xxxxxxxxxxxxxxx.jsp?Orig=%q&Dest=%Q&Carrier=%i&Body=%a&keyword=%k&time=%t&BinBody=%b&cmin=%c&CMAY=%C&PRIORITY=0&Exta1=%I&Extra2=%s&Extra3=%S&Extra4=%r&Extra5=%T&Extra6=%d&Extra7=%A&Extra8=%n&Extra9=%c&Extra10=%C&Extra11=%u&Extra12=%B&Extra13=%o&Extra14=%p&Extra15=%P"
accept-x-kannel-headers = true
max-messages = 0
concatenation = true
 
        This our http request to wasp aplication. But in paramerte Dest=%P we have the send-sms port. In the smsbox log we see that this parameter is 15013 and we need identified 33542.
 
        Please tell me how can insert this param (to number 33542 in this case) in http request.
 
 
2006-02-03 14:19:05 [21132] [4] INFO: Starting to service <Power> from <+27736772797> to <33542>
2006-02-03 14:19:05 [21132] [9] DEBUG: Parsing URL `http://xxxxxxxxxxxxxxxxxxxxx.jsp?Orig=%2B27736772797&Dest=15013&Carrier=222&Body=Power&keyword=Power&time=2006-02-03+13:19:05&BinBody=Power&cmin=0&CMAY=ISO-8859-1&PRIORITY=0&Exta1=65e135aa-26b8-4408-9d86-610b2ba053de&Extra2=&Extra3=&Extra4=&Extra5=1222&Extra6=-1&Extra7=&Extra8=default&Extra9=0&Extra10=ISO-8859-1&Extra11=&Extra12=NOREP&Extra13=&Extra14=%2B27736772797&Extra15=15013':
2006-02-03 14:19:05 [21132] [9] DEBUG:   Scheme: http://
2006-02-03 14:19:05 [21132] [9] DEBUG:   Host: 217.15.41.202
2006-02-03 14:19:05 [21132] [9] DEBUG:   Port: 8086
2006-02-03 14:19:05 [21132] [9] DEBUG:   Username: (null)
2006-02-03 14:19:05 [21132] [9] DEBUG:   Password: (null)
2006-02-03 14:19:05 [21132] [9] DEBUG:   Path: /kannellistener/jsp/kannelreceive.jsp
2006-02-03 14:19:05 [21132] [9] DEBUG:   Query: Orig=%2B27736772797&Dest=15013&Carrier=222&Body=Power&keyword=Power&time=2006-02-03+13:19:05&BinBody=Power&cmin=0&CMAY=ISO-8859-1&PRIORITY=0&Exta1=65e135aa-26b8-4408-9d86-610b2ba053de&Extra2=&Extra3=&Extra4=&Extra5=1222&Extra6=-1&Extra7=&Extra8=default&Extra9=0&Extra10=ISO-8859-1&Extra11=&Extra12=NOREP&Extra13=&Extra14=%2B27736772797&Extra15=15013
2006-02-03 14:19:05 [21132] [9] DEBUG:   Fragment: (null)
2006-02-03 14:19:05 [21132] [9] DEBUG: HTTP: Opening connection to `217.15.41.202:8086' (fd=28).
2006-02-03 14:19:05 [21132] [9] DEBUG: Socket connecting
2006-02-03 14:19:05 [21132] [8] DEBUG: Get info about connecting socket
2006-02-03 14:19:05 [21132] [8] DEBUG: HTTP: Sending request:
2006-02-03 14:19:05 [21132] [8] DEBUG: Octet string at 0x897b398:
2006-02-03 14:19:05 [21132] [8] DEBUG:   len:  456
2006-02-03 14:19:05 [21132] [8] DEBUG:   size: 1024
2006-02-03 14:19:05 [21132] [8] DEBUG:   immutable: 0
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 47 45 54 20 2f 6b 61 6e 6e 65 6c 6c 69 73 74 65   GET /kannelliste
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6e 65 72 2f 6a 73 70 2f 6b 61 6e 6e 65 6c 72 65   ner/jsp/kannelre
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 63 65 69 76 65 2e 6a 73 70 3f 4f 72 69 67 3d 25   ceive.jsp?Orig=%
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 32 42 32 37 37 33 36 37 37 32 37 39 37 26 44 65   2B27736772797&De
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 73 74 3d 31 35 30 31 33 26 43 61 72 72 69 65 72   st=15013&Carrier
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 3d 32 32 32 26 42 6f 64 79 3d 50 6f 77 65 72 26   =222&Body=Power&
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6b 65 79 77 6f 72 64 3d 50 6f 77 65 72 26 74 69   keyword=Power&ti
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6d 65 3d 32 30 30 36 2d 30 32 2d 30 33 2b 31 33   me=2006-02-03+13
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 3a 31 39 3a 30 35 26 42 69 6e 42 6f 64 79 3d 50   :19:05&BinBody=P
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6f 77 65 72 26 63 6d 69 6e 3d 30 26 43 4d 41 59   ower&cmin=0&CMAY
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 3d 49 53 4f 2d 38 38 35 39 2d 31 26 50 52 49 4f   =ISO-8859-1&PRIO
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 52 49 54 59 3d 30 26 45 78 74 61 31 3d 36 35 65   RITY=0&Exta1=65e
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 31 33 35 61 61 2d 32 36 62 38 2d 34 34 30 38 2d   135aa-26b8-4408-
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 39 64 38 36 2d 36 31 30 62 32 62 61 30 35 33 64   9d86-610b2ba053d
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 65 26 45 78 74 72 61 32 3d 26 45 78 74 72 61 33   e&Extra2=&Extra3
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 3d 26 45 78 74 72 61 34 3d 26 45 78 74 72 61 35   =&Extra4=&Extra5
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 3d 31 32 32 32 26 45 78 74 72 61 36 3d 2d 31 26   =1222&Extra6=-1&
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 45 78 74 72 61 37 3d 26 45 78 74 72 61 38 3d 64   Extra7=&Extra8=d
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 65 66 61 75 6c 74 26 45 78 74 72 61 39 3d 30 26   efault&Extra9=0&
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 45 78 74 72 61 31 30 3d 49 53 4f 2d 38 38 35 39   Extra10=ISO-8859
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 2d 31 26 45 78 74 72 61 31 31 3d 26 45 78 74 72   -1&Extra11=&Extr
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 61 31 32 3d 4e 4f 52 45 50 26 45 78 74 72 61 31   a12=NOREP&Extra1
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 33 3d 26 45 78 74 72 61 31 34 3d 25 32 42 32 37   3=&Extra14=%2B27
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 37 33 36 37 37 32 37 39 37 26 45 78 74 72 61 31   736772797&Extra1
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 35 3d 31 35 30 31 33 20 48 54 54 50 2f 31 2e 31   5=15013 HTTP/1.1
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 0d 0a 48 6f 73 74 3a 20 32 31 37 2e 31 35 2e 34   ..Host: 217.15.4
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 31 2e 32 30 32 3a 38 30 38 36 0d 0a 55 73 65 72   1.202:8086..User
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 2d 41 67 65 6e 74 3a 20 4b 61 6e 6e 65 6c 2f 31   -Agent: Kannel/1
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 2e 34 2e 30 0d 0a 0d 0a                           .4.0....
2006-02-03 14:19:05 [21132] [8] DEBUG: Octet string dump ends.
2006-02-03 14:19:05 [21132] [8] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
2006-02-03 14:19:05 [21132] [8] DEBUG: HTTP: Received response:
2006-02-03 14:19:05 [21132] [8] DEBUG: Octet string at 0x897b398:
2006-02-03 14:19:05 [21132] [8] DEBUG:   len:  189
2006-02-03 14:19:05 [21132] [8] DEBUG:   size: 1024
2006-02-03 14:19:05 [21132] [8] DEBUG:   immutable: 0
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 53 65 72 76 65 72 3a 20 41 70 61 63 68 65 2d 43   Server: Apache-C
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6f 79 6f 74 65 2f 31 2e 31 0d 0a 53 65 74 2d 43   oyote/1.1..Set-C
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6f 6f 6b 69 65 3a 20 4a 53 45 53 53 49 4f 4e 49   ookie: JSESSIONI
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 44 3d 43 35 33 30 46 42 43 37 45 35 35 35 41 39   D=C530FBC7E555A9
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 46 32 46 33 38 44 42 41 36 30 34 36 30 46 44 33   F2F38DBA60460FD3
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 43 33 3b 20 50 61 74 68 3d 2f 6b 61 6e 6e 65 6c   C3; Path=/kannel
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6c 69 73 74 65 6e 65 72 0d 0a 43 6f 6e 74 65 6e   listener..Conten
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 68 74 6d   t-Type: text/htm
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 6c 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74   l..Content-Lengt
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 68 3a 20 30 0d 0a 44 61 74 65 3a 20 46 72 69 2c   h: 0..Date: Fri,
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 20 30 33 20 46 65 62 20 32 30 30 36 20 31 33 3a    03 Feb 2006 13:
2006-02-03 14:19:05 [21132] [8] DEBUG:   data: 31 39 3a 30 35 20 47 4d 54 0d 0a 0d 0a            19:05 GMT....
2006-02-03 14:19:05 [21132] [8] DEBUG: Octet string dump ends.
 
 
Kind Regards.

--

Jesús Hinojal Hernández
Atinco
Tel +34 915 489 444
Fax +34 915 489 445
www.atinco.com

Declaración de Confidencialidad

El contenido de este mensaje de correo electrónico y de sus archivos adjuntos está dirigido exclusivamente a el (los) destinatario(s) del mismo. Adicionalmente, este mensaje y su contenido pueden ser confidenciales y estar cubiertos por la reserva profesional entre Kynetia/Atinco y cliente. Si usted no es el destinatario indicado, o si este mensaje le ha sido enviado por error, no debe violar esa confidencialidad o secreto, por lo cual le solicitamos no leer, divulgar, reproducir, distribuir, diseminar o utilizar esta transmisión en forma alguna. La entrega de este mensaje a cualquier persona diferente del (de los) destinatario(s) a quien(es) se ha dirigido no constituye una renuncia del secreto profesional o de la confidencialidad. Si usted recibe este mensaje por error, por favor advierta al remitente mediante correo de respuesta; adicionalmente le solicitamos que inmediatamente proceda a suprimir este mensaje y sus archivos adjuntos, si los hay.

Statement of Confidentiality

The contents of this e-mail message and its attachments are intended solely for the addressee(s) hereof. In addition, this e-mail transmission may be confidential and it may be subject to privilege protecting communications between our company and their clients. If you are not the named addressee, or if this message has been addressed to you in error, you are directed not to read, disclose, reproduce, distribute, disseminate or otherwise use this transmission. Delivery of this message to any person other than the intended recipient(s) is not intended in any way to waive privilege or confidentiality. If you have received this transmission in error, please alert the sender by reply e-mail; we also request that you immediately delete this message and its attachments, if any.

 


--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.21/236 - Release Date: 20/01/2006

Reply via email to