it's all explained in the manual, why don't you read before asking?

"Kannel POST
Kannel can do POST if service is contains a post-url="..."."

XML Post
Kannel can send and receive XML POST with the following format:
<?xml version="1.0"?>
<!DOCTYPE ...>
<message>
95
Chapter 6. Setting up a SMS Gateway
<submit>
<da><number>destination number (to)</number></da>
<oa><number>originating number (from)</number></oa>
<ud>user data (text)</ud>
<udh>user data header (udh)</udh>
<meta-data>meta-data</meta-data>
<dcs>
<mclass>mclass</mclass>
<coding>coding</coding>
<mwi>mwi</mwi>
<compress>compress</compress>
<alt-dcs>alt-dcs</alt-dcs>
</dcs>
<pid>pid</pid>
<rpi>rpi</rpi>
<vp>
<delay>validity time in minutes</delay>
</vp>
<timing>
<delay>deferred time in minutes</delay>
</timing>
<statusrequest>
<dlr-mask>dlr-mask</dlr-mask>
<dlr-url>dlr-url</dlr-url>
</statusrequest>
<!-- request from application to Kannel -->
<from>
<user>username</user>
<username>username</username>
<pass>password</pass>
<password>password</password>
<account>account</account>
</from>
<to>smsc-id</to>
<!-- request from Kannel to application -->
<from>smsc-id</from>
<to>service-name</to>
</submit>
</message>
Note: Don’t forget to set POST Content-Type to text/xml!


2013/8/8 John alero <[email protected]>

> Thanks Spameden,
>
> I have read XML POST doc in user guide, but can you provide me some
> details which we want.
>
> 1) In GET method we use below parameters to call Kannel 13013 port, Kindly
> find the kannel url in given below.
>
> http://10.0.0.25:13013/cgi-bin/sendsms?username=test&password=test123&from=abcfd&to=XXXXXXXXXX&smsc=test&text=testmessage&dlr-mask=23
>
> *Any specific parameters required in POST request method.
> *
> 2) Kindly share some information if we need to call POST request in that
> case any special parameters keep in smskanne.conf.
>
>
>
>
>
>
>
> On Thu, Aug 8, 2013 at 1:09 PM, spameden <[email protected]> wrote:
>
>> page 94 of user guide
>>
>>
>> 2013/8/8 John alero <[email protected]>
>>
>>> Hello,
>>>
>>> How to setup or configure XML POST request in Kannel 1.5.0.
>>>
>>> Kindly provide some information for the same.
>>>
>>>
>>>
>>>
>>
>

Reply via email to