Hi ,
Can anyone please post an example code for creating webRTC for user using python sdk.
Thanks in advance,
Komali.
Hi ,
Can anyone please post an example code for creating webRTC for user using python sdk.
Thanks in advance,
Komali.
Hi,
Please see the documentation on how to create a webRTC phone using the API. You also find this forum post helpful.
Hi Komali,
We do have a pretty comprehensive starting guide (written in javascript) that provides code examples of how to create a Webrtc phone. The guide also covers some of the gotchas with the underlying REST calls. The JS APIs map pretty closely to the python APIs and might be able to help you. The guide is here.
Thanks,
John Carnell
Manager, Developer Engagement
Thank you John, will go through it.
Hi John,
I am now able to create phone using python and assign it to user.
The program takes input of username and creates phone for that user. so its a one - one assignment.
Is there any way i can do it for multiple users.
Hi Komali,
It's one webrtc phone per user. You can not take a webrtc phone and assign the same phone to multiple users. It's a one-to-one relationship.
Thanks,
John
Yeah, i got that, but i was asking that can we create and assign WebRTC to multiple users, in a loop, or as csv file or through bulk upload. I tried looping but as there are many parameters involved in creating a phone, it is not working as i expected. So i was looking for a solution on that.
Hi Komali,
That is the basis for the user-provisioning starting guide. We look through a CSV file containing multiple users and then creating a WebRTC phone for each user. Is there something that was confusing or did not make sense in the guide. Please let me know. The WebRTC API is a bit intimidating, but the reality is that most of the data stays static from user to user.
Thanks,
John Carnell
Manager, Developer Engagement
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.