Hello Marcin,
Here is the xml that I was able to sucessfully able to save to a file on the
remote server.
***************************************************************************************************
<?xml version="1.0" encoding="ISO-8859-1"?>
<message cid="1">
<submit>
<da> <number>XXXXXXXX</number>
</da>
<ud>************************************************</ud>
<pid>0</pid>
<dcs> <coding>0</coding>
<alt-dcs>0</alt-dcs>
<compress>0</compress>
</dcs>
<at><year>2009</year><month>02</month><day>28</day><hour>12</hour><minute>50</minute><second>17</second><timezone>0</timezone></at>
<to> <service>.*</service>
</to>
</submit>
</message>
**********************************************************************************************
What I am unable to find is the number from where the sms came from.Is there
a setting in the smskannel.conf that has to be set or configured so that the
xml payload has this data.
the <number> tag has the number of the sim card that is connected to the
local machine and not of the sender who sent this sms.
Thanks a ton on your earlier reply.
Rupin
2009/2/28 Marcin Bockowski <[email protected]>
> W dniu 27 lutego 2009 22:18 użytkownik Rupin Chheda
> <[email protected]> napisał:
> > Hello Marcin
> > What this sent me back was "Array()",I tried to implode this array,but it
>
> If You are using PHP 5 plz try this way:
>
> if ( $_SERVER['REQUEST_METHOD'] === 'POST' )
> {
> $postText = trim(file_get_contents('php://input'));
> print $postText;
> }
>
> Regards,
>
> --
> Marcin Boćkowski
> tel. +48 506 482 946
>