developerforce / open-cti-demo-adapter

Other
91 stars 95 forks source link

Background music when picking up call #25

Open manzanofab opened 5 years ago

manzanofab commented 5 years ago

I have follow all the instruction and finally I was able to dial from salesforce and get my mobile ringing, however, when I pick up the call on my mobile, I just hear music in the background, is there anything I have to do in twilio? I also notice that the component doesnt change so it looks like it is still dialing, despite the call been pick up, I though the component will change some how to display that the call was connected Any ideas?

Thanks

fillipi1 commented 5 years ago

The reason you are hearing the background music is because in the apex class "softPhoneProviderHelper" under the twilio code there is a url that links to an xml that plays that music. If you change that url you can change the end point. I think the idea is to connect it to a Twiml function that routes your call, not sure, still working on that part. @manzanofab