How can I get the conference ID which users need to call in from a lync conference programmatically? - conference

I'm using the Lync SDK to schedule meetings on a Lync Server. Now I want the conference Id which users need to call in by phone. How can I get it programmatically?
When scheduling a meeting by using ConferenceServices.BeginScheduleConference
I get the conference-object but the phoneinformation is null. When setting PhoneAccessEnabled true in the ConferenceScheduleInformation I get an error.
Has someone a hint for me?

The solution was an easy one. Setting PhoneAccessEnabled was the right thing. The error which occured was thrown because the passcode had numbers and letters in it what is really bad if you'll use a real phone. The passcode was created by ConversionServices.GeneratePasscode().
Now I use the Random-Class for creating a number-only passcode and it works.

Related

Apple messages auto-call

have an interesting problem I need to solve, I was hoping if anyone could give me some sort of an idea.
For example, if I get a text from someone saying (string) “URGENT” on my iPhone, I want to call them immediately.
So say I get a message, it could be any message but if their message says “urgent”, I need to call them ASAP, even when my phone is turned off.
Is there a way to do this, using API or anything?? I have no idea!!
Example say I get a messages saying:
Number 042XXXXX sends me a text:
"Hi Name, I have some urgent work for you"
Number 1300 XXX XXX sends me a text:
"Urgent help needed"
Both of these messages would be read by iPhone and their respective numbers would be dialled urgently.
Is there such a way to do this/automate this??
Any advice would be appreciated!!
I have no idea what to do, I am blank!!
I think the problem you have needs an indirect solution because, as Paulw11 points out, Apple don't allow you to inspect the message directly.
It would be possible to make use of Twilio's Programmable SMS API to setup a special phone number that customers could send text messages to. Then you use the APIs of Twilio to read the messages and then send an Apple Push Notification message for those the had "urgent" in the message.
You could then write an iOS app which receives push notification messages and takes the actions you desire. For example, it could present a screen which could automatically dial the number in question.

Twilio room type not set to GO even after changing room settings in console

I'm following the links below to setup Twilio WebRTC Go - one to one video calling app on iOS using Swift
https://www.twilio.com/blog/announcing-twilio-video-webrtc-go
https://github.com/twilio/twilio-video-app-ios
But when I run the app and generate the Access Token using
twilio rtc:apps:video:deploy --authentication passcode
I'm getting the room type as
Room Type: group
I've set the room type to Go in the console in room settings, even then it returns "group".
How do I change the room type to GO? Any help would be appreciated. Thanks
Twilio developer evangelist here.
Your token server determines the room type and you can set the room type when you deploy the server using the --room-type flag.
twilio rtc:apps:video:deploy --authentication passcode --room-type go
So, redeploy your token server, pass --room-type go and you should be good.

Is it possible to send an SMS message from an iOS app to the current caller when a call is in progress?

I have searched and have not been able to find a definitive answer. I know that it is not possible to get the phone number of the current caller using Objective-C, but I don't need the number.
I want to send a text message to the current caller. Does iOS have a method to allow you to send a text message from an app to the current caller.
The scenario is this:
End user calls another user
They put the person they called on speaker phone and navigate to my app
The app has a button that allows them to share information via SMS to the person they are talking to while they are talking to them without having to do anything more than click a button (the user doesn't have to type the other person's phone number manually to send the SMS).
Sukhdeep is correct.iOS will never allow you to perform Messaging without user involvement.
The answer is No.
Apple will never allow you this.

Can we get wrist raised event for apple watch?

We have started with apple watch and gone through many documents and links.
We want to build some use cases when user raises his/her wrist when using apple watch.
Even if going through many documents and links still below question is uncleared.
Is it possible to get any event in objective c when user raises his/her wrist?
Please advise if my question is not clear here.
Thanks in advance.
No, with current API it's not possible.
However Watch/WatchKit somehow can distinguish this gesture, short-look/long-look notification mechanism is based on that.

How to Add Phone With twitter using Third Party tool

I need a script that will add my phone with Twitter for All latest notification.
I found this page Twitter but i need to create script for my own application.
I goggled but i didn't get any solution For this.Please Help me to find this answer.
Thanks a lot in advance.
First Edit
This is a twitter's new feature Send notification to Phone. Actually I want to create an app that will allow users to register there phone with twitter via my application. Ie I need a script to implement send notification to phone.
The question that others are asking you Pankaj is what platform is your application being written for. You keep saying you want a "script" to do this, but what kind of script?
Giving us more insight to what your application is (a console application written in C#, or an ASP.NET web application) would lend more detail and raise the chances of someone being able to help you. :)
Regardless of your app's platform though, you're probably going to need to look into the Twitter API for setting this up. This is the normal method to interact with Twitter from 3rd party applications. So all the suggestions above, specifically the list of API's available, is probably what you're looking for.
Hey, can you give some more information? What kind of Phone are you developing for?
Maybe that helps solving your Problem.
If you are just searching for a way connecting your Phone to Twitter, here is the Twitter FAQ for Phone connecting:
http://support.twitter.com/articles/14014-twitter-phone-faqs
Maybe it helps, or give you more keywords for your search.
I don't believe there's a way to get or set the notification phone number using the API, however if a phone is already setup on the profile you want to configure, you can do the following to get notification from all user friends.
The user will need to authorize your application to access her account. This flow uses OAuth, and begins here:
http://api.twitter.com/oauth/request_token
Once the user has granted your app access, and your application has all the required OAuth credentials, turn on notifications using account/update_delivery_device:
http://api.twitter.com/1/account/update_delivery_device.json?device=sms
Next, fetch all the IDs for your user's friends using the friends/ids API call. Be sure to study the documentation; this call uses cursors, so you will have to manage those if the user has over 5,000 friends. Store these IDs for use in the next step. Here's an example call:
http://api.twitter.com/1/friends/ids.json?cursor=-1
Once you have all of the friend IDs, you can call notifications/follow repeatedly to enable notifications on your mobile device whenever your friend makes an update:
http://api.twitter.com/1/notifications/follow.xml?user_id=12345
This approach will burn one API call for each user that you enable notifications for; there's no way currently to manage notifications en masse.

Resources