Hi  Sayed Hadi Rastgou Haghi,

I setting so the  sms-service group:


#---------------------------------------------

# SERVICES

#

# These are 'responses' to sms PULL messages, i.e. messages arriving from

# handsets. The response is based on message content. Only one sms-service is

# applied, using the first one to match.

group = sms-service

keyword =

catch-all = true

max-messages=0

omit-empty = true

concatenation = true

post-xml = "http://127.0.0.1/inboxes/kannel";



and I receive something like this:

<message cid="1">
<submit>
<da>
<number>1234</number>
</da>
<ud>sms message</ud>
<at>
<year>2011</year>
<month>07</month>
<day>25</day>
<hour>09</hour>
<minute>39</minute>
<second>03</second>
<timezone>0</timezone>
</at>
<from>
<account>Sim</account>
</from>
<to>
<service>^[ ]*()[ ]*</service>
</to>
</submit>
</message>



Why I receive in the XML the sender number but always 1234?
How can I solve this problem?
Thank you.

Bye



On 23/07/2011 16:21, Sayed Hadi Rastgou Haghi wrote:
Send your configuration files plz.

On Fri, Jul 22, 2011 at 2:58 AM, Carachi <[email protected] <mailto:[email protected]>> wrote:

    Hello everybody,
    I have a problem about sms  via post-xml.
    I don't understand why Kannel don't send me in the XML the number
    of the sender but always 1234 .
    I receive an XML like this:

    <message cid="1">
    <submit>
    <da>
    <number>1234</number>
    </da>
    ...

    Why? How can I solve this problem?

    Thank you

    Bye




--
Sincerely,

Sayed Hadi Rastgou Haghi


Reply via email to