Relevant portions of config:

group = core
access-log-format = "%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [from:%p]
[to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"

group = sms-service
get-url = http://xx.xx.xx.xx/test.php?mid=%p&msisdn=%P&msgid=%I&msg=%a

In the access log, %P is displayed correctly. But in the get-url it is
empty.

== Rene....


-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Supporto Tecnico - Crazy Network
Sent: Monday, 12 December, 2011 12:25
To: users@kannel.org
Subject: Re: I am receiving..

  Actually ive noticed the same thing with playsms.

The query that playsms receive on %Q variable is "1234" and not the 
number of the simcard in the modem (as far as i had understood there 
should be that number right?)

Il 12/12/2011 12:18, Rene Kluwen ha scritto:
> Yes, I tried %Q and got the same results.
>
> ----- Oorspronkelijk bericht -----
> Van: Milan P. Stanic<m...@arvanta.net>
> Verzonden: maandag 12 december 2011 10:48
> Aan: users@kannel.org
> Onderwerp: Re: I am receiving..
>
> On Sun, 2011-12-11 at 13:37, techbrainless wrote:
>> Are you using phone , gsm modem or short code ?
> Rene says 'via SMPP'.
>
>> Please share the kannel.conf
>>
>> Rene Kluwen wrote:
>>> .MO messages via SMPP and are forwarding to a get-url.
>>>
>>> Everything seems to go fine, except the %P (to-number) parameter seems
to
>>> be
>>> empty.
>>>
>>> I can see the number in the deliver_sm pdu and also in my access log (I
>>> use
>>> the same %P parameter for that) but it doesn't appear in the get-url.
> Did you tried %Q just to see if something is wrong with %P ?
>


-- 
Andrea Iannucci
----------------------------

----------------------------
Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885

----------------------------------------------------------------------------
---
Please consider our enviromental responsabilità before printing this 
E-Mail. Thank you.
----------------------------------------------------------------------------
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.
----------------------------------------------------------------------------
----
This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and delete this 
e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other 
than the intended recipient is strictly prohibited and the person 
responsible may incur penalties.
----------------------------------------------------------------------------
---- 






Reply via email to