Why doesn't the Cisco WebDialer API use the lineNumber specified when dialing a call? - api

I am using the Cisco WebDialer API to place calls for users with multiple lines. When calling makeCallSoap, the lineNumber property of the UserProfile argument seems to be ignored. The call is dialed successfully, but the user's default line is always used rather than the line specified in the UserProfile argument.
How can I dial a call using a line other than the default with the WebDialer API?

Related

Voximplant – the callSIP method to call a phone number

I want to use the Voximplant's callSIP method to call a phone number. Is it possible? How do I specify a number to call in the VoxEngine.callSIP() method?
When you call via callSIP, you make a call to a 3rd-party PBX. If the PBX allows calling to phone numbers, yes, you can do it, but you need to find out what format the PBX accepts.
In most cases, you can specify the number in the To field in the username part of the SIP address, for example: number_to_call#domain. Alternatively, you can call a phone number directly through Voximplant via the callPSTN() method.

Voximplant forward the call to another phone number

During a call in Voxpmplant, I want to forward the call to another phone number. Do I understand correctly, that I need to call another user via the VoxEngine.callUser method and then unite them via VoxEngine.easyProcess method?
You call a user via VoxEngine.callUser, or VoxEngine.callPSTN, or VoxEngine.callSIP, and then unite the calls via the sendMediaBetween(call1, call2) method.
https://voximplant.com/docs/references/voxengine/voxengine/sendmediabetween

How to get the name of the calling program in an asynchronous background task?

How to get the name of the calling program from within an asynchronous remote function call (aRFC) ?
CALL FUNCTION 'BAPI_MATERIAL_SAVEREPLICA' STARTING NEW TASK lv_taskname
DESTINATION IN GROUP DEFAULT
The called BAPI triggers a user exit that I need to disable for this particular calling program. However, the local part of the stack is lost after the RFC and the name of the calling program on the local system is unknown.
The closest solution I could think of was disabling the user exit when the calling program is SAPMSSY1 (RFC calls), but that it not as accurate.
Maybe the parameter CALLER_PROGRAM of the function module RFC_GET_ATTRIBUTES. I'm not sure it works in all kinds of RFC calls.

Twilio call hold not working

We are using twilio API for hold call process but we are facing problem :
If we connect the call from A to B, then our call connecting successfully but when we are update the call for hold(Using updating method) then B putting on hold success, but A call disconnecting.
I want to put B on hold but should not disconnect the A call.
Please give me suitable suggestion for this hold process.
Thanks.
Firstly ,Its important to understand that putting a call on hold in the Twilio environment is not a native function rather it works like all updates to a call to connect the call to something else, which could be dialing a number,play an audio, place in queue etc..What you choose to implement the On Hold idiom is up to you.
Make sure you are updating the child sid not the parent sid.
I suggest reading this article What-is-a-Call-SID
If you update the parentsid the child will automatically be lost.
If you update the child sid , the parent call will be disconnected and continue with the original twiml that bridged the call in the first place. You have the option of leaving default fallthrough twiml to go to a queue etc..
Another method of implementing hold , is calling out using theAgent Outbund Conference Api

Exception: RFC callback server not available while calling RFC

I'm trying to upload a file from a server directory to the SAP CRM System (attachment to an Opportunity), therefore I am using the method create_with_file of the cl_crm_documents class.
To call this method I am using a RFC-Function created by myself.
If I test my RFC-Function within the Function Builder, everything works fine.
If I execute the RFC from a external System (in my case MS-Outlook) an error occurs: "Exception: RFC callback server not available".
I started the debugger and the program runs about half way through (So the connection works):
The create_with_file calls a couple of functions until the RFC_START_PROGRAM function is called. The error occurs exactly at this line.
Does anybody know why the error occurs only if I call the function remotely? How to solve this?
I don't have access to a CRM system, but this is what's probably happening: The class you use tries to perform some action on the front-end PC using the SAP GUI. For this, it performs an RFC call back or the SAP GUI. This works fine as long as you are using the function builder because there's a GUI connection available. Once you use some other means to invoke the function module, the GUI is no longer there and the program won't work. I'd suggest you check the code to see whether there is some parameter or customization that allows you to suppress the RFC call...