• Firoz Mirza
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
A trivial (but helpful, I admit) error in the module 'Apex Integration Services' -> Apex Web Services,  in the @HttpPut method - 
https://trailhead.salesforce.com/modules/apex_integration_services/units/apex_integration_webservices
An additional line of code (thisCase.id = id;) is missing before the 'upsert'  statement in the following practice code of this trailhead section. Request to please correct this if judged appropriate. btw, this mistake was helpful to me during learning....so up to you.

@HttpPut
global static ID upsertCase(String subject, String status,
    String origin, String priority, String id) {
    Case thisCase = new Case(
        Id=id,
        Subject=subject,
        Status=status,
        Origin=origin,
        Priority=priority);
    // Match case by Id, if present.
    // Otherwise, create new case.
    upsert thisCase;
    // Return the case ID.
    return thisCase.Id;
}
 
A trivial (but helpful, I admit) error in the module 'Apex Integration Services' -> Apex Web Services,  in the @HttpPut method - 
https://trailhead.salesforce.com/modules/apex_integration_services/units/apex_integration_webservices
An additional line of code (thisCase.id = id;) is missing before the 'upsert'  statement in the following practice code of this trailhead section. Request to please correct this if judged appropriate. btw, this mistake was helpful to me during learning....so up to you.

@HttpPut
global static ID upsertCase(String subject, String status,
    String origin, String priority, String id) {
    Case thisCase = new Case(
        Id=id,
        Subject=subject,
        Status=status,
        Origin=origin,
        Priority=priority);
    // Match case by Id, if present.
    // Otherwise, create new case.
    upsert thisCase;
    // Return the case ID.
    return thisCase.Id;
}
 

Hi all. I'm very new to the CTI theme so please excuse me if the question is stupid.

I'm trying to understand how a random telephony system becomes able to communicate with a browser directly. I just don't get it. SalesForce claims that no CTI adapters needed anymore. OK.

Suppose I have an asterisk (3com, panasonic, whatever...) telephony system. Here goes incoming call. What happens next? Can it really send a message to browser (via websockets or what) ?

I doubt that telephony systems can "talk" JS even if there is an active connection from browser to the telephony system somehow. So I guess that there still must be a CTI adapter (middleware), that can talk to telephony system with some TAPI AND can talk to browser with JS through websockets for instanse. And that middleware should be written by me. But the benefit of such an adapter that it doesn't need to be installed at any agent's computer but can be hosted at a server. Right?

I just don't get it how can it work without any middleware and I can't find any explanation on theinternet.

Thanks.

  • May 29, 2013
  • Like
  • 3