Você está na página 1de 3

Redes de Transporte Multimedia Lab 9 Lab Goal

1. To separate your dial plan into a number of contexts which control which phones are able to access which features. 2. To learn some basic applications. In extensions.conf, create the following contexts: [features] exten => 222,1,Answer exten => 222,n,Wait(1) exten => 222,n,VoicemailMain() ; Create exten => exten => exten => ; Listen exten => exten => exten => ; Access exten => exten => exten => A MeetMe Conference 230,1,Answer() 230,n,Wait(1) 230,n,MeetMe(100) to music on hold 231,1,Answer() 231,n,Wait(1) 231,n,MusicOnHold() the company directory 232,1,Answer() 232,n,Wait(1) 232,n,Directory(default)

include => parkedcalls [inside] exten => 101,1,Dial(SIP/xxx_xlite,20) exten => 101,n,Voicemail() exten => 102,1,Dial(SIP/xxx_xlite,20) exten => 102,n,Voicemail()

include => features [local] exten => _NXXNXXXXXX,1,Dial(SIP/to_server/${EXTEN}) exten => _NXXNXXX,1,Dial(SIP/to_server/${EXTEN}) include => inside [longdistance] exten => _1NXXNXXXXXX,1,Dial(SIP/to_server/${EXTEN}) exten => _011.,1,Dial(SIP/to_server/${EXTEN}) include => local

Sending calls to these new contexts


In sip.conf, change the context setting for your phones from default to the new longdistance context.

Challenge 1 Get in groups of three persons Choose an Asterisk Box as the Master PBX and configure the other two xlite phones in sip.conf, Also add a mailbox for each new phone and their extensions in [local] context. Create a three-way conference Try out the dial by Directory feature Try out the Music on Hold feature

Challenge 2 In groups of three, implement the transfer feature by adding the t, T, or tT options to the Dial command. Verify the features.conf file in order to be able to make both blind and attended transfers. Challenge 3 Try out the parking feature without explicitly using the Park() dialplan application. Challenge 4 In order to avoid unwanted charges for dubious use of your PBX you may want to exclude certain number patterns in both your local and long distance contexts.

Create a pattern filter in your local context to exclude 976 numbers (i.e. numbers with a local exchange of 976). Create a similar filter in your long distance context to filter out 900 numbers (i.e. numbers with an area code of 900).

Challenge 5 Create an extension to which undesired calls from telemarketers are to be transferred. Search for promts starting with tt- for playback and then just place the call on Music on Hold.

Você também pode gostar