This manual describes how to setup your server Lync 2013 to prepare for the conference with analog abonent. Are also briefly Asterisk server setup. For a conference on the Lync 2013 and an Asterisk reserved extension 2000.
- Open
Lync Topology Builder, download config, create a PSTN gateways
- Edit
poll property, mark checkbox Dial-in (PSTN) conferencing
- Publish
Topology and run “Lync Server Deployment Wizard – Install or Update lync Server
System – Setup or Remove Lync Server Components” on servers
- Run
Microsoft Lync Server 2013 Control Panel, go to conferencing – Dial-in Access
Number and create New number
Define ext number - Go
to Voice Routing – Dial Plan and configure Normalization rule for Global dial
plan – name Local Extensions
- Edit Site dial plan – select Normalization rule Local Extensions, and press commit all
- Next
edit Voice Routing – Voice Policy, create New Associated PSTN Usage
- Create
Route, add Associated trunks
- Go
to Asterisk to configure incoming calls:sip.conf:
[general]context=incoming ; Default context for incoming callsallowguest=no ; Allow or reject guest calls (default is yes)allowoverlap=no ; Disable overlap dialing support. (Default is yes)allowtransfer=no ; Disable all transfers (unless enabled in peers or users)bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)srvlookup=yes ; Enable DNS SRV lookups on outbound callsdisallow=allallow=ulawallow=alawlocalnet=x.x.x.x/x.x.x.xexternalip=x.x.x.xcanreinvite => no[Lync_Trunk] ; Our Lync trunktype=friendport=5068 ; This is the default Lync Server TCP listening porthost=x.x.x.x ; This should be the IP address of your Lync Serverdtmfmode=rfc2833context=from-lyncnat=yesqualify=yestransport=tcp
extensions.conf:[incoming]exten => s,1,Answerexten => s,n,Background(ent-target-attendant)exten => s,n,WaitExten(5)exten => s,n,Background(conf-placeintoconf)exten => s,n,Dial(SIP/Lync_Trunk/2000,20)exten => _200X,1,Dial(SIP/Lync_Trunk/${EXTEN},20)exten => i,1,Playback(pbx-invalid)exten => i,n,Goto(incoming,s,1)[from-lync]exten=>_.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN},tT)exten=>_.,n,Congestion()exten=>_.,n,hangup()
No comments:
Post a Comment