Hi,
%P is not what you want. Maybe %o or %n can help.
BR,
Nikos
----- Original Message -----
From: "Arnau Rebassa" <[email protected]>
To: <[email protected]>
Sent: Thursday, July 29, 2010 10:11 AM
Subject: Re: Telnet device (Multi-Tech MTCBA-G-EN-F4)
Hi Nikos,
2010/7/29 Nikos Balkanas <[email protected]>:
Hi,
All you need is the sender number. In MOs destination number = sender
number. Get the short code from there. It is not going anywhere else,
just
the place it originated from.
I think I'm missing something or I don't understand what you mean.
Imagine I have the following situation: The enduser with telephone
number +34666666666 sends a message to the service number +346000000
with the text "service foo bar"
Then I'd like to build the get-url:
htt://127.0.0.1/kannel.php?enduser_number=34666666666&service_number=34600000000&mbody=service+foo+bar
Trying to achieve that I have configured the get-url as:
get-url =
"http://127.0.0.1/kannel.php?enduser_number=%p&service_number=%P&mbody=%a"
Then what I receive on the kannel.php script is
http://127.0.0.1/kannel.php?enduser_number=34666666666&service_number=1234P&mbody=service+foo+bar
According to the documentation:
%P the phone number of the receiver of the SMS message
Is it possible to achieve what I want or do I have to hard-code the
number where the SMS has been sent to?
BR
--
Arnau