lync - Understanding PowerShell cmdlet for adding a trusted UCMA 4.0 application and a trusted UCMA 4.0 application endpoint -


i trying create ucma 4.0 application lync 2010. in development phase application hosted in laptop , lync server (on have no jurisdiction) connect laptop , run application. os in laptop windows 7 sp 1 , .net framework 4.5.

i new ucma coding , though have studied it, there still grey areas needs addressed. below of questions have failed clear answer of. also, more important me understand nitty gritties because lync server admin new person on job has, me, never worked on ucma applications.

  1. i need create application pool. that, powershell cmdlet used is

    new-cstrustedapplicationpool -identity foo.example.com -registrar [registrar id] -site [site id] –computerfqdn foo.example.com 

    i assume cmdlet must run on lync server. since laptop computer in application pool in development phase -computerfqdn , -identity of application pool same. correct? also, registrar id , site id? difference between manually provisioned application , auto provisioned application?

  2. to add trusted application:

    new-cstrustedapplication –applicationid $applicationid -trustedapplicationpoolfqdn $applicationfqdn -port $portno 

    what application id. computer fqdn/application_name? have assumed trustedapplicationpoolfqdn same computer fqdn since there single computer in application pool. also, available port no. or should 1 listening application? since, have not completed coding application, getting exact port no. not possible. want setup server before coding done. challenge.

  3. to create trusted application endpoint:

    new-cstrustedapplicationendpoint –applicationid $applicationid -trustedapplicationpoolfqdn  $applicationfqdn -sipaddress $applicationsipaddress –displayname 

    what -sipaddress here? , how sip address?

i know have crammed lot of questions here. running low on knowledge , available resources , in desperate need of direction, given time constraints facing. apart questions if can me heads up, more welcome , appreciated so. need right perspective stackoverflow community.

i assume cmdlet must run on lync server. since laptop computer in application pool in development phase -computerfqdn , -identity of application pool same. correct?

no. can run computer has lync / sfb powershell commands installed , have enough "rights" run powershell commands. run these sorts of commands dev machine time.

i develop ucma v4 (not 5) , when install ocscore.msi sdk/runtime install or copy lync 2013 install. can sfb powershell install i've found more of pain lync 2013 version , don't need sfb version (i.e. lync 2013 powershell commands work fine on sfb server install).

also, registrar id , site id?

the registrar id front end pool (the sip proxy register with). can powershell command: get-csservice -registrar

look @ "identity" field , should like: registrar:name.lyncdomain e.g. registrar:myserver.company.com

you can site id get-cssite command. should like: site:id e.g. site:my_site

what difference between manually provisioned application , auto provisioned application?

this big difference.

a manually provisioned application requires more code setup , run ucma trusted application. have know settings , trusted application endpoints yourself.

a auto provisioned application requires less code setup , run. need id , id can query ucma api pull trusted application setup , trusted application endpoints. sounds great downside of auto provisioned application setup means computers in application pool has setup replication point lync database. setup computer replication point big pain in pass (it takes 1/2 hour setup if know doing).

i suggest setting application pool / application manually provisioned application it's lot simpler setup in long run unless require ability automatically "know" trusted application endpoints setup application.

what application id.

anything like. needs unique (kind of) within lync environment. can use get-cstrustedapplication command see other application id's in use. unique id application.

is computer fqdn/application_name?

it fqdn (fully qualified domain name) of application pool. if should match application pool computerfqdn value. it's telling lync application pool trusted application runs on. trusted applications can run on application pool computer only.

is same computer fqdn since there single computer in application pool.

in single computer application pool, yes. in multi-computer application pool, no. computerfqdn of pool.

also, available port no. or should 1 listening application?

the port number has available port on pool computer. used ucma application listen on , used lync server (fe) connect ucma application per sip rfc.

for auto provisioned application, ucma application auto-load value , use it. manual provisioned application, can either hard code or load own config setup (e.g. registry?). recommend load own config somewhere registry.

what -sipaddress here? , how sip address?

it's whatever want be. needs unique sip address within whole lync setup. should in format of sip:name@lyncdomain e.g. sip:myendpoint@company.com primary entry point sip messages application if application uses / wants sip endpoint to: make audio calls, receive audio calls, provide presence, send/receive im messages, etc.

if aren't going use trusted application endpoint (e.g. want impersonate user endpoints) don't need trusted application endpoints.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -