문제

When you dial a phone number through the Twilio API, the platform passes the call's unique 34 character SID to your application as a parameter.

For example, when the Twiml I send to the Twilio platform dials a call through a < Dial > verb, I can easily do:

puts params['CallSid']

@incoming_Cid = params['CallSid']

Thus, the Sid is saved as a variable for later use. However, I don't know what the name of the parameter passed to your application to find the < Conference > Sid is.

Can anyone who knows please clarify?

도움이 되었습니까?

해결책

You can retrieve info about a Conference by filtering the Conferences list endpoint by the Conference friendly name. For example if your Conference is named "foo" you can do

GET /2010-04-01/Accounts/AC.../Conferences?FriendlyName=foo

to retrieve a conference.

There is an example in Ruby here:

http://www.twilio.com/docs/api/rest/conference#list-get-example-2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top