cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
464
Views
0
Helpful
3
Replies

can I add a button on the phone to turn on and off auto answer by using axl?

hxmengmetro
Level 1
Level 1

Hi All,

We want give user capability to turn on and off autoanwer for the line. So if I can put a button there for them to toggle, that will be convenient.  Can I do that by using axl?  Thanks a lot.

Lou

3 Replies 3

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Lou,

Hope you might have refered to  this url - Create and Add Intercom Buttons to a Phone

So you need to have a button to disable/enable that feature using axl. (Not sure just put my thoughts).

Thanks and Regards,

Geevarghese

Something like what you describe can be implemented, though it will take a bit of work:

- Configure one of the phone's Speed Dial buttons as a 'Service URL' pointing to a custom web service.  E.g.: http://myserver/autoanswertoggle?line=1000

- Create a web server/service that accepts the request and extracts the line number

- The web service uses AXL to query the current state of the Auto Answer setting via <getLine>

- The web service uses AXL to change the state of the Auto Answer setting via <updateLine>

- The web service returns a <CiscoIPPhoneText> object as response to the phone, e.g. saying 'Auto Answer is now: ON'

Thanks a lot dstaudt. This is exact what I'm trying to do now. My plan is to use JSP with Tomcat with the latest IP Phone Service SDK. So the service URL will be like http://tomcatserver/autoanswertoggle.jsp?name=#DEVICENAME#

I think I will have to get phone extension by querying the devicename. When user push the phone button, system doesn't pass the extension automatically, right? I have to get this extension number based on device name. I looked through all the AXL method, it appears I can't get extension number by using getLine. It might have to be done by sqlquery in AXL query. Then I can do getLine to get autonaswer status and then do the updateLine.

Do you know if the latest Cisco IP Phone Service SDK good for use with CallManger version 9? Do I need recompile .jar file?

I'm still testing AXL through SOAPUI to make sure the basic operation like updateLine and getLine work. So far I'm stuck with updateLine, it always tells me the directory number is not found. My code is like below. I don't see anything wrong with it and the directory number is configured in CallManager.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.1">
<soapenv:Header/>
<soapenv:Body>
<ns:updateLine sequence="?">
<pattern>+13431231232</pattern>
<autoAnswer>Auto Answer with Speakerphone</autoAnswer>

</ns:updateLine>
</soapenv:Body>
</soapenv:Envelope>