• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
May 19, 2024, 04:40:46 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 - PWDasterisk

1
I never had issues with the older sail versions using legacy polycom phones. I just upgraded to 4.1 on debian and I have not been able to get either older IP550(ver3_3_5) or newer VVX 500(ver4_1_8) to receive the provisioning files from the http /provisioning directory.  I manually upgraded both models to the recommended software using the http://voipt2.polycom.com website.

Where are the specific [MACADDRESS].cfg, [MACADDRESS]-polycom-phone1.cfg , [MACADDRESS]-polycom-locals.cfg files being placed? They are not in the /public/polycom folder and I can't see them in the sark.db sqlite3 database.

This is what /var/log/messages puts out on a provisioning attempt:

May  8 23:21:52 asterisk apache2: 192.168.1.55 0004f2afe689-calls.xml provisioning data not found in db.  Sending 404 and giving up
May  8 23:21:52 asterisk apache2: 192.168.1.55 sending config 0004f2afe689-directory.xml
May  8 23:21:52 asterisk apache2: 192.168.1.55 0004f2afe689-calls.xml provisioning data not found in db.  Sending 404 and giving up
May  8 23:21:52 asterisk apache2: 192.168.1.55 sending config 0004f2afe689-directory.xml
May  8 23:21:53 asterisk apache2: 192.168.1.55 sending config 0004f2afe689.cfg
May  8 23:21:53 asterisk apache2: 192.168.1.55 sending config 0004f2afe689-phone.cfg
May  8 23:21:53 asterisk apache2: 192.168.1.55 0004f2afe689-web.cfg provisioning data not found in db.  Sending 404 and giving up
May  8 23:21:53 asterisk apache2: 192.168.1.55 000000000000-license.cfg not found in db(RowCount).  Sending 404 and giving up
May  8 23:21:53 asterisk apache2: 192.168.1.55 0004f2afe689-license.cfg provisioning data not found in db.  Sending 404 and giving up
May  8 23:21:53 asterisk apache2: 192.168.1.55 Ignoring PUT request - Sending 200 and giving up
May  8 23:21:55 asterisk apache2: 192.168.1.55 Ignoring PUT request - Sending 200 and giving up


The polycom logs are long and not very descriptive, This is a sample of Minor Errors:

000036.338|clist|4|00|dbSet::startLoadLocalSet:No local copy, requesting backup from server
000036.484|clist|4|00|dbIO::processResult:copy error
000036.484|clist|4|00|dbSet::srv2mem:transfer failed
000036.593|clist|4|00|dbSet::startLoadLocalSet:No local copy, requesting backup from server
000036.593|clist|4|00|dbSet::load:cleared load error state m_sync=<0x40>
000036.629|clist|4|00|dbIO::processResult:copy error
000036.629|clist|4|00|dbSet::srv2mem:transfer failed


If I look at the Polycoms through their direct web interface they are all at default settings after booting up so the cfg files are invalid or not being accepted. Additionally each Polycom model family have different cfg formats but require identical file names so there would have to be distinctive folders under the public share to accomodate this. Looking at your sark.conf and device.php it that you are just pushing them out which means a wireshark packet trace is the only way to see what is being transmitted.

Do you have documentation posted on how the .cfg files are built?



2
Debian / Debian/Sail web page display issue.
September 12, 2015, 07:00:03 PM
I recently installed Debian/Sail using the wiki guide. After the install I noticed the Sail web pages would not display images but functioned correctly. I tried several different installations methods from scratch using Sail 4.0, 4.0.1, and 4.1.0-7 and none of these versions corrected the issue. Other web pages on the server, like Webmin, displayed properly. After some research I found there's an Apache2 issue over the way some sites are structured.

This turned out to be the fix:
echo EnableSendfile off   >>  /etc/apache2/apache2.conf

These are the platform specifics
Linux asterisk 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u3 i686 GNU/Linux
asterisk 1:1.8.13.1~dfsg1-3+deb7u3   i386   Open Source Private Branch Exchange (PBX)
sail 4.1.0-7   all   SARK  Asterisk Integration Layer (SAIL) - A fast, lightweight switch for Asterisk
apache2 2.2.22-13+deb7u6   i386   Apache HTTP Server metapackage

You might want to note it in the wiki.