cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1300
Views
0
Helpful
4
Replies

Call Phone and force auto answer with AXL SOAP request

Support Albakom
Level 3
Level 3

Hi,

I use the cisco example below to make a phone call successfully via AXL-SOAP

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WD70">

   <soapenv:Header/>

   <soapenv:Body>

      <urn:makeCallSoap soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

         <in0 xsi:type="urn:Credential">

            <userID xsi:type="xsd:string">bill</userID>

            <password xsi:type="xsd:string">123</password>

         </in0>

         <in1 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1002</in1>

         <in2 xsi:type="urn:UserProfile">

            <user xsi:type="xsd:string">bill</user>

            <deviceName xsi:type="xsd:string">SEPF01FAF38ABC2</deviceName>

            <lineNumber xsi:type="xsd:string">?</lineNumber>

         </in2>

      </urn:makeCallSoap>

   </soapenv:Body>

</soapenv:Envelope>

Is there a possibility to force the called phone to auto answer with speaker? It is needed for single  line cisco IP phones such as 7911 or 7811 and so on.

4 Replies 4

dhook
Level 5
Level 5

Hi,

I might be a bit picky but the makeCallSoap is not an AXL request, it is part of the webdialer API.

Anyway, if the receiving phone type supports auto answer to speaker it could be configured via the ccmadmin pages. This would be a one time configuration and you dont need AXL for that. The configuration could of course be done via AXL as well. This would auto answer all calls to the specific line. If you need selective auto answer I believe you have to look into CTI control via J(TAPI). The AXL interface wont help there since it is a provisioning API, not a real time call processing API.

Kind Regards,

Dan

dhook
Level 5
Level 5

HI again,

If you only need to stream audio an alternative could be to use the IPPS api to establish media without making a call.

Hi,

> If you only need to stream audio an alternative could be to use the IPPS api to establish media without making a call.

Is there an example to do this?

See the IP Phone Services v7.1 SDK example 'intercom', which demonstrates most of the media commands you might need.

Cisco DevNet: IP Phone Services