• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
May 07, 2024, 10:28:30 PM

News:

SMF updated to 2.0


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - apmuthu

1
I have just created a page on the wiki to list common issues and fixes in SAIL / Asterisk / Endpoints. The community can now expand on it for all to benefit.
2
The display of the user in Endpoints => Extensions menu shows upto 7 characters user but if longer, it truncates it to 5 characters and a period. This can be extended to display upto 12 characters by editing /opt/sark/php/sarkextension/view.php line 206:

if ( strlen($row['desc']) > 7 ) {

to

if ( strlen($row['desc']) > 12 ) {


A similar truncation is done for display of device name at the 8th character in line 215 of the same file.

For OpenVZ like shared containers, we need a sleep(1) before returning from the routine that stops asterisk.

All changes needed are attached in this post.


3
There are 2 service providers who expect us to send them calls differently:

Provider 1:
Local Calls - [36-9]XXXXXXX
International Calls - 0ZXXXXXXXXX.
Current Mask: :0 065:

Provider 2:
Local Calls - 65[36-9]XXXXXXX
International Calls - ZXXXXXXXXX.
Current Mask: None

We need to give internal users the ability to call:
Local Calls - [36-9]XXXXXXX (Like Provider 1) - Currently 65[36-9]XXXXXXX is used
International Calls - ZXXXXXXXXX. (Like Provider 2)

What recommended masks are needed in the

  • Trunk's Transformation Mask
  • Outbound Routing DialPlan

4
Debian / Blank opening page to link to support.htm
April 20, 2016, 05:36:11 AM
When we login into the SARK v4.1 (possibly in other versions as well) a blank page appears.
The /opt/sark/www/support.htm still has the ProVue info.
To be generic, remove all proprietary info from the said file and modify the navigation.php and index.html in the /opt/sark/www folder to show the support.htm page on login.

Line 17 of /opt/sark/www/index.html:
<frame  name="main">
should become:
<frame  src="support.htm" name="main">

Line 20 of /opt/sark/www/navigation.php:

<ul class="menu collapsible">

should become:

<ul class="menu collapsible">
<li>
<a href="#">Home</a>
<ul class="acitem" style="display: none;">
<li>
<a target="main" href="./support.htm">Support</a>
</li>
</ul>
</li>


Edit /opt/sark/www/support.htm as needed, placing a link to the SARK Feature codes page in it.