function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SYM12SYM12 

How to write action handler

Hi All,

 

i got stuck writing an action handler.

 

I have some custom components and a visual for page , below is my code

 

<apex:page contentType="text/xml" showHeader="false" controller="DialMerchant">
    <Response>
    <Say>Hello, The number you have reached is in service and dialing merchant</Say>
        <Dial record="true" action="http://abcd-developer-edition.na7.force.com/Status">{!$CurrentPage.parameters.Called}</Dial>
    </Response>
</apex:page>

 

when this page is called it palays the message in <Say> and Dial the number mentioned in {!$CurrentPage.parameters.Called}.

Now after the call completes according to the telephonic developer they send the Status of call on the Action element specified in Dial Component which could be a Absolute or relative URL.

 

But it seems my vf page Status is never called.

 

how can i make sure if i am getting any POST request on the URL ( how to print debug or POST request as i have tried to put some debug in controller and never called).

 

Any comments will much appricieated.

 

Thanks in Advance

bob_buzzardbob_buzzard

I've replied to your post in the Apex board.