SARK V4.0.0 Exten

From sailpbx
Revision as of 10:14, 10 January 2013 by Adminwiki (talk | contribs)
Jump to: navigation, search

back to SARK v4.0.0 contents

Adding Extensions

Extensions for the FXS channels are already defined in the system when it leaves the factory. There is nothing further to do. However, you will almost certainly want to define SIP extensions to the system. If you have SIP Multicast (sometimes called PnP) capable handsets you can use SARK500's ZTP auto-configure feature to set up your phones (see the ZTP/PnP section below). For non-PnP-capable handsets you can add new extensions using the extensions panel ...

To add an extension; click extensions at the top of the navigation menu. Then click the “new” button to create an extension.

V4 intersark trunk 2.png

Choose the phone type from the device drop-down. Fill out the details for your phone and (optionally) enter the MAC address if you want SARK to automagically generate a TFTP provisioning file for your phone type. SARK has a fairly extensive phone database and it can provision most commercially available phone types. When it generates the sip.conf entries, SARK will create a random password for each extension. Additionally, if you turn on ACL checking in globals, SARK will also include the correct ACL checking for your subnet in the sip.conf entry.

what does SARK generate for each extension?

You can examine and modify the SARK generated output by clicking the edit button next to the phone entry in the extensions panel and then clicking the Asterisk or Provisioning tabs on the edit panel. On examining these panels you will see that SARK uses symbolic names for some of the entries. These symbolic names begin with a $ sign. SARK uses late resolution for t these symbolic values which means that it only resolves them at the point of usage and not in the SARK database. In practice, this allows a greater level of flexibility and security but you can, if you wish, override any of the entries with your own permanent values, although it is usually better to leave them to SARK to manage.

Asterisk edit



V4 extension edit asterisk.png

Provisioning edit

SARK will generate phone specific provisioning data for each phone type it recognises. Most popular SIP phone models are recognised by SARK but the provisioning sub-system is open-ended so you can create your own provisioning templates for phone types that aren't natively supported. The example below show the provisioning data for a SNOM 320.

V4 extension edit provision.png