i using lync client sdk 2013, communicate skype business through c# program.
however, cannot find reference in sdk documentation on how make pstn call using sdk.
is possible @ all? short c# code example useful.
you use "tel:" uri want number want dial instead of sip uri. number use depends on dial plan setup of lync server. if want avoid dial plan problems, stick e164 formatted numbers , work number on lync server anywhere.
dialing lync client same normal sip uri except use tel formatted uri instead:
var participanturi = new list<string> { "tel:+6491234567" }; var automation = lyncclient.getautomation(); automation.beginstartconversation(automationmodalities.audio, participanturi, null, ar => { automation.endstartconversation(ar); }, null);
note: there no error checking , beginstartconversation / endstartconversation calling can done in many different ways / styles.
Comments
Post a Comment