• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
May 02, 2024, 02:55:24 AM

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 - compsos

1
Ubuntu / No Voicemail application
March 29, 2024, 02:07:42 AM
Hi
I have tried this on Jammy and Mantic and no change to the issue.
This is standard output with the modules.conf file as installed

pbx-ub*CLI> module show like voicemail
Module                         Description                              Use Count  Status      Support Level
app_voicemail.so               Comedian Mail (Voicemail System)         0          Not Running          core
app_voicemail_imap.so          Comedian Mail (Voicemail System) with IM 0          Running              core                           
app_voicemail_odbc.so          Comedian Mail (Voicemail System) with OD 0          Not Running          core


the result
[2024-03-29 09:58:05] ERROR[572]: app_voicemail_imap.c:2816 inboxcount2: Couldn't find mailbox 501 in context default
    -- AGI Script Executing Application: (VoiceMailMain) Options: (501)
[2024-03-29 09:58:06] WARNING[1147][C-00000001]: res_agi.c:3181 handle_exec: Could not find application (VoiceMailMain)
    -- <SIP/501-00000000>AGI Script sarkhpe completed, returning 0
    -- Auto fallthrough, channel 'SIP/501-00000000' status is 'UNKNOWN'
[2024-03-29 09:58:28] ERROR[572]: app_voicemail_imap.c:2816 inboxcount2: Couldn't find mailbox 501 in context default
[2024-03-29 09:58:39] ERROR[572]: app_voicemail_imap.c:2816 inboxcount2: Couldn't find mailbox 501 in context default[/size]

If we noload app_voicemail_imap.so we do not get the error messages "Couldn't find mailbox..." But still get "Could not find application (VoiceMailMain)"

In Ubuntu there is a package (deb) for VoiceMail but it is for asterisk 16.
asterisk-voicemail_16.2.1~dfsg-2ubuntu1_amd64.deb
and if we unload off app_voicemail_imap.so and use the app_voicemail.so we loose the Mailbox errors but still have no VoiceMailMain appication. See attached list

Any ideas on how to get voicemail back?
Thanks.
2
Ubuntu / Solved: Trouble adding extra DID
February 07, 2024, 08:02:07 AM
Hi S
Anyone have an interpretation of this

Wed Feb 07 07:53:21.819550 2024] [php:warn] [pid 270] [client xxx.xxx.xxx.xxx:55830] PHP Warning:  Undefined array key "smartlink" in /opt/sark/php/sarkddi/view.php on line 370, refer
er: https://mail.torresbusiness.com.au:28443/php/sarkddi/main.php                                                                                                                     
[Wed Feb 07 07:53:21.819618 2024] [php:error] [pid 270] [client xxx.xxx.xxx.xxx:55830] PHP Fatal error:  Uncaught Error: Undefined constant "trunk" in /opt/sark/php/sarkddi/view.php:31
7\nStack trace:\n#0 /opt/sark/php/sarkddi/view.php(58): sarkddi->saveNew()\n#1 /opt/sark/php/srkmain.php(58): sarkddi->showForm()\n#2 /opt/sark/php/sarkddi/main.php(3): require_once(
'...')\n#3 {main}\n  thrown in /opt/sark/php/sarkddi/view.php on line 317, referer: https://xxx.xxx.xxx.xxx:28443/php/sarkddi/main.php

I have 3 DID's already in the list just need to add a 4th. Thanks
3
Hi S
PBX release: 16.28.0
SAIL Release: 6.2.0-16+deb10u1
HPE Release: 6.0.0-9

If I add and extension using 249AD82AB0FA as the mac it says it is invalid, but if I add 001565.... it works. Both are Yealink phones.
Maybe a clue, it is a system where I restored the backup from ver5 and all extensions bar the 2 that start with 249AD8... came across.
Do we need to update the DB with the OUI?
4
Hi
Hope all is well on your side of the world.
PBX release: 16.28.0
SAIL Release: 6.2.0-16+deb10u1
HPE Release: 6.0.0-9

My trunks show as unreachable whilst I have shorewall running. Turn it off and the number of messages for options and register drop from 34 to 2.

Is there an adjustment to shorewall to reduce interference on sip traffic?


local.lan
xxx.xxx.xxx.x/24

local.if1
IF1=enp6s18

ACCEPT net:$LAN $FW tcp 5060 - -   
ACCEPT net:$LAN $FW tcp 80 - - # HTTP
ACCEPT net:$LAN $FW tcp 443 - - # HTTPS
ACCEPT net:$LAN $FW tcp 22 - - # SSH
ACCEPT net:$LAN $FW udp 123 - - # NTP
ACCEPT net:$LAN $FW tcp 389 - - # LDAP
ACCEPT net:$LAN $FW udp 389 - - # LDAP
ACCEPT net:$LAN $FW udp 4569 - - # IAX2
ACCEPT net:$LAN $FW udp 5060 - - 4/min:5 # SIP
ACCEPT net:$LAN $FW udp 10000:20000 - -  # RTP
This is the rules file
ACCEPT net:$LAN $FW tcp 5060 - -   
ACCEPT net:$LAN $FW tcp 80 - - # HTTP
ACCEPT net:$LAN $FW tcp 443 - - # HTTPS
ACCEPT net:$LAN $FW tcp 22 - - # SSH
ACCEPT net:$LAN $FW udp 123 - - # NTP
ACCEPT net:$LAN $FW tcp 389 - - # LDAP
ACCEPT net:$LAN $FW udp 389 - - # LDAP
ACCEPT net:$LAN $FW udp 4569 - - # IAX2
ACCEPT net:$LAN $FW udp 5060 - - 4/min:5 # SIP
ACCEPT net:$LAN $FW udp 10000:20000 - -  # RTP
5
General Discussion on SAIL and Asterisk / MOH Settings
October 09, 2022, 09:47:35 AM
I am a little confused to the outcome of below
musiconhold.conf
[default]
mode=files
directory=moh
.....
#include sark_moh.conf

but sark_moh.conf says
[default]
mode=files
directory=moh-default
moh-default is not in the asterisk directory set and "moh show files" does not look at it. The sark_moh.conf is overwritten by the workbench so it can not be edited.

Do we need moh-default which is in /etc/asterisk and not /usr/share/asterisk?

Thanks
6
Debian 10.11
sail   6.2.0-16+deb10u1 all
We have a trunk with a code of 91. The extension passes it through but asterisk fails to strip it off before dialing. Is it a bug or another way the debug it?

    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
<SIP/510-00000002>AGI Tx >> agi_request: sarkhpe
<SIP/510-00000002>AGI Tx >> agi_channel: SIP/510-00000002
<SIP/510-00000002>AGI Tx >> agi_language: en_AU
<SIP/510-00000002>AGI Tx >> agi_type: SIP
<SIP/510-00000002>AGI Tx >> agi_uniqueid: 1645338564.3
<SIP/510-00000002>AGI Tx >> agi_version: 16.2.1~dfsg-1+deb10u2
<SIP/510-00000002>AGI Tx >> agi_callerid: 510
<SIP/510-00000002>AGI Tx >> agi_calleridname: House
<SIP/510-00000002>AGI Tx >> agi_callingpres: 0
<SIP/510-00000002>AGI Tx >> agi_callingani2: 0
<SIP/510-00000002>AGI Tx >> agi_callington: 0
<SIP/510-00000002>AGI Tx >> agi_callingtns: 0
<SIP/510-00000002>AGI Tx >> agi_dnid: 9140551605
<SIP/510-00000002>AGI Tx >> agi_rdnis: unknown
<SIP/510-00000002>AGI Tx >> agi_context: internal
<SIP/510-00000002>AGI Tx >> agi_extension: 9140551605
<SIP/510-00000002>AGI Tx >> agi_priority: 1
<SIP/510-00000002>AGI Tx >> agi_enhanced: 0.0
<SIP/510-00000002>AGI Tx >> agi_accountcode:
<SIP/510-00000002>AGI Tx >> agi_threadid: 140223913465600
<SIP/510-00000002>AGI Tx >> agi_arg_1: OutCos
<SIP/510-00000002>AGI Tx >> agi_arg_2: 9140551605
<SIP/510-00000002>AGI Tx >> agi_arg_3:
<SIP/510-00000002>AGI Tx >> agi_arg_4:
<SIP/510-00000002>AGI Tx >>
  == Extension Changed 510[extensions] new state InUse for Notify User Reception
<SIP/510-00000002>AGI Rx << GET VARIABLE DEBUG
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << GET VARIABLE EXTLEN
<SIP/510-00000002>AGI Tx >> 200 result=1 (3)
<SIP/510-00000002>AGI Rx << GET VARIABLE ASTDLIM
<SIP/510-00000002>AGI Tx >> 200 result=1 (,)
<SIP/510-00000002>AGI Rx << GET VARIABLE ABSTIMEOUT
<SIP/510-00000002>AGI Tx >> 200 result=1 (14400)
<SIP/510-00000002>AGI Rx << DATABASE GET "STAT" "OCSTAT"
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << DATABASE GET "default" "OCSTAT"
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << SET PRIORITY 1
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << SET EXTENSION 9140551605
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << SET CONTEXT 510closedcos
<SIP/510-00000002>AGI Tx >> 200 result=0
    -- <SIP/510-00000002>AGI Script sarkhpe completed, returning 0
    -- Executing [9140551605@510closedcos:1] AGI("SIP/510-00000002", "sarkhpe,OutCluster,9140551605,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
<SIP/510-00000002>AGI Tx >> agi_request: sarkhpe
<SIP/510-00000002>AGI Tx >> agi_channel: SIP/510-00000002
<SIP/510-00000002>AGI Tx >> agi_language: en_AU
<SIP/510-00000002>AGI Tx >> agi_type: SIP
<SIP/510-00000002>AGI Tx >> agi_uniqueid: 1645338564.3
<SIP/510-00000002>AGI Tx >> agi_version: 16.2.1~dfsg-1+deb10u2
<SIP/510-00000002>AGI Tx >> agi_callerid: 510
<SIP/510-00000002>AGI Tx >> agi_calleridname: House
<SIP/510-00000002>AGI Tx >> agi_callingpres: 0
<SIP/510-00000002>AGI Tx >> agi_callingani2: 0
<SIP/510-00000002>AGI Tx >> agi_callington: 0
<SIP/510-00000002>AGI Tx >> agi_callingtns: 0
<SIP/510-00000002>AGI Tx >> agi_dnid: 9140551605
<SIP/510-00000002>AGI Tx >> agi_rdnis: unknown
<SIP/510-00000002>AGI Tx >> agi_context: 510closedcos
<SIP/510-00000002>AGI Tx >> agi_extension: 9140551605
<SIP/510-00000002>AGI Tx >> agi_priority: 1
<SIP/510-00000002>AGI Tx >> agi_enhanced: 0.0
<SIP/510-00000002>AGI Tx >> agi_accountcode:
<SIP/510-00000002>AGI Tx >> agi_threadid: 140223913465600
<SIP/510-00000002>AGI Tx >> agi_arg_1: OutCluster
<SIP/510-00000002>AGI Tx >> agi_arg_2: 9140551605
<SIP/510-00000002>AGI Tx >> agi_arg_3:
<SIP/510-00000002>AGI Tx >> agi_arg_4:
<SIP/510-00000002>AGI Tx >>
<SIP/510-00000002>AGI Rx << GET VARIABLE DEBUG
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << GET VARIABLE EXTLEN
<SIP/510-00000002>AGI Tx >> 200 result=1 (3)
<SIP/510-00000002>AGI Rx << GET VARIABLE ASTDLIM
<SIP/510-00000002>AGI Tx >> 200 result=1 (,)
<SIP/510-00000002>AGI Rx << GET VARIABLE ABSTIMEOUT
<SIP/510-00000002>AGI Tx >> 200 result=1 (14400)
<SIP/510-00000002>AGI Rx << SET PRIORITY 1
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << SET EXTENSION 9140551605
<SIP/510-00000002>AGI Tx >> 200 result=0
<SIP/510-00000002>AGI Rx << SET CONTEXT qrxvtmny
<SIP/510-00000002>AGI Tx >> 200 result=0
    -- <SIP/510-00000002>AGI Script sarkhpe completed, returning 0
    -- Executing [9140551605@qrxvtmny:1] AGI("SIP/510-00000002", "sarkhpe,OutTrunk,WDP_House,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe

So it dials and fails with the trunk-preselect. Is it in sarkhpe that it removes the code?

Have also tried to manually update to 6.2.0.24 & 25 and get back on both.

<pre>root@pbx:~# dpkg -i sail_6.2.0-24+deb10u1_all.deb
<b>dpkg-deb:</b> <font color="#EF2929"><b>error:</b></font> &apos;sail_6.2.0-24+deb10u1_all.deb&apos; is not a Debian format archive
<b>dpkg:</b> error processing archive sail_6.2.0-24+deb10u1_all.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 sail_6.2.0-24+deb10u1_all.deb
</pre>
7
Debian / Difficult modem
October 21, 2021, 11:03:46 PM
Hi
Debain 10
System
PBX release: 16.2.1
SAIL Release: 6.0.1-57+deb10u1
HPE Release: 6.0.0-2
Endpoints defined: 4

On a remote site we have been blessed with a modem that answers port 5060. So far no way to shut it down.
How can we set sark to operate the trunk on say 7070?
We have entered port=7070 in the stanza but no luck.
Thanks
8
Debian / Top Menu items missing
September 12, 2021, 11:12:10 PM
Hi
Ver 6.0.1-57+deb10u1 on Debian 10.10
Only get the 3 bars, home icon and commit within the black menu bar. I have seen this on 2 independent installs. So far have not found any log errors.

Which bit of code runs the menu? view.php?

Any suggestions?

System
PBX release: 16.2.1
SAIL Release: 6.0.1-57+deb10u1
HPE Release: 6.0.0-2
Endpoints defined: 0
Serial Num: 406986
Network MAC: EA:DF:AD:CB:99:3A
hostname:
Public IP: xxx.xxx.xxx.xxx
Local IP: xxx.xxx.xxx.xxx
Resource
Disk Usage: 1%
RAM Size: 4040732
RAM Free: 3525132
PBX: RUNNING
Master Timer: AUTO
Timer State: OPEN
9
Debian / No Calls out, hits congestition
March 27, 2021, 05:03:04 AM
We had an issue following a thunderstorm and a later reboot where the system could receive calls but make outing.
chan.sip failed to load, also in the webpage the trunks showed as "unreachable" but the sip show registry reported "registered"
Initially we thought it could be storm related but since then, checking other systems, found more withe the same setting, but not affected or 1 trunk would not work but a 2nd one would.

QuoteERROR[1335] chan_sip.c: Bad localnet configuration value line 2 : /0.0.0.0

Editing sark_sip_localnet.conf line to localnet=127.0.0.1/0.0.0.0 solved the issue.

I am  a little curious as to why the line by default seems to be wrong and why it has laid benignly dormant for so long.
10
Hi S
Is there a way to forward the callerid (origin) on to the forwarded number when using the "twin" function on the extension?

The problem is you get a call from your own extension on "twin" but can not return the call as the source number is unknown.

Thanks
G
11
Debian / Sail7 on Debian 9
March 22, 2020, 04:35:56 AM
Hi
Sail 7 installs on Stretch no problems, can import ver 5 data and apply srkV4reloader.sh. Navigation is good and data correct
Eventually found how to get into templates as the template menu item lists them, but no access.
From the home screen can enter 'yealink.common' and there is the file. But no way of saving the changes. No save or commit buttons etc.
Is it a module that did not install causing a lack of control?
The repo only lists sailhpe_6.0.0-2_amd64.deb but the install pulled HPE Release: 7.0.0-7.  Is that a problem? the apt was set to the 7.0 repo.
System
PBX release: 13.14.1
SAIL Release: 6.0.1-38+deb9u1
HPE Release: 7.0.0-7
Endpoints defined: 10
Serial Num: 376535
Network
MAC: 08:00:27:10:7D:F1
hostname: pbx2
Public IP: xxx.xxx.xxx.xxx
Local IP: 192.168.xxx.xxx
Resource
Disk Usage: 0%
RAM Size: 2052524
RAM Free: 1545032
PBX: RUNNING
Master Timer: AUTO
Timer State: CLOSED
12
Debian / Holiday Schedule
August 11, 2019, 04:07:59 AM
Hi
In Sail 5 on Debian 9 the holiday schedule still does not display. To cure tis edit lines 266 & 277 and replace split with explode

       $hmsplit = explode(':',$shm);
        $hmsplit = explode(':',$ehm);

Works after that.
13
Debian / Debian 10
August 03, 2019, 07:08:20 AM
Does V5 or V6 work on Debian 10?
It seems the sources for stretch are getting harder to find.
14
Debian / Solved: Fail2ban failing to start
November 14, 2018, 10:49:58 PM
If the logs or a systemctl restart fail2ban errors, look at the file /etc/fail2ban/jail.local and modify as below


[asterisk]
enabled  = true

#[asterisk-udp]
#enabled  = true

It seems there is no longer a asterisk-tcp or asterisk-udp definition only asterisk

Or copy  cp /opt/sark/etc/fail2ban/jail-jessie.local  /opt/sark/etc/fail2ban/jail-stretch.local
nano /opt/sark/etc/fail2ban/jail-stretch.local as above
relink /etc/fail2ban/jail.local to /opt/sark/etc/fail2ban/jail-stretch.local
15
Debian / Solved: All about time?
October 19, 2018, 08:36:04 AM
Hi
We have a Debian 9.5 machine running Sail 5.0.0.57+deb9u1 and asterisk 13.14.1
What the issue is the timers are set to start the close at 17:00 and finish 08:59. The date command returns the correct time, the hwclock is set to sync and the phones show the right time.

But the timers seem hell bent on applying Daylight Saving Time and be `1 hour ahead.. Where do the timers get the time from if not the machine or the upstream server? The zone is correct for the district.

Below is correct except it started at 16:00 as Closed
Status
PBX: RUNNING
Master Timer: AUTO
Timer State: CLOSED
SysTime: 17:03:27
System Uptime: 23 days
Has anyone got  a clue on where to trap the error? The logs do not mention the switch or an issue.
TIA
16
Debian / Fail2ban not reading logs
October 26, 2017, 10:31:15 PM
Hi
When in the portal going to "Settings" and then "Logs" the following is diplayed
"Could not read file fail2ban.log!"
Restarting fail2ban with systemctl restart fail2ban.service cures it until next time.
From what I have read it is the log rotation that leaves fail2ban looking for the pre rolled log files.
Where would be the best place to cause a reload of fail2ban? It the end of the log rotate script or a cron job nightly to reload?
A reload will cause it to drop existing listed IP addresses.
17
Hi S
Now that autoprovisioning works, where can you put a firmware file? Is it possible to load firmware from Sark?
For Yealink the entry is firmware.url = so for a T42 I put in the following entry into the y000000000029.cfg file.
firmware.url = http://pbx/provisioning/T42-29.82.0.20.rom
and got back
T42-29.82.0.20.rom not found in db(RowCount).  Sending 404 and giving up

The firmware file is in the opt/sark/provisioning directory.

Do we have create a new template or have I put it in the wrong spot?
Thanks.
18
Debian / *50* always going to comedian mail
April 25, 2017, 04:38:32 AM
Hi S
Got a system that will not directly go to the inbox from the phones. (ie) dialing *50* or *97 gives the result of *51*. The dialplan shows both being passed to sarkhpe.
The only things I find unusual in the agi debug is the "vm_authenticate: Couldn't read username" and {cid} is shown as our trunks number. This issue did arise in version 4 and has followed through to v5. Is it something wrong in the DB?

Quote-- Executing [*50*@internal:1] AGI("SIP/501-00000000", "sarkhpe,OutCos,*50*,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
<SIP/501-00000000>AGI Tx >> agi_request: sarkhpe
<SIP/501-00000000>AGI Tx >> agi_channel: SIP/501-00000000
<SIP/501-00000000>AGI Tx >> agi_language: en_AU
<SIP/501-00000000>AGI Tx >> agi_type: SIP
<SIP/501-00000000>AGI Tx >> agi_uniqueid: 1493087413.0
<SIP/501-00000000>AGI Tx >> agi_version: 11.13.1~dfsg-2+deb8u2
<SIP/501-00000000>AGI Tx >> agi_callerid: {cid}
<SIP/501-00000000>AGI Tx >> agi_calleridname: Gordon
<SIP/501-00000000>AGI Tx >> agi_callingpres: 0
<SIP/501-00000000>AGI Tx >> agi_callingani2: 0
<SIP/501-00000000>AGI Tx >> agi_callington: 0
<SIP/501-00000000>AGI Tx >> agi_callingtns: 0
<SIP/501-00000000>AGI Tx >> agi_dnid: *50*
<SIP/501-00000000>AGI Tx >> agi_rdnis: unknown
<SIP/501-00000000>AGI Tx >> agi_context: internal
<SIP/501-00000000>AGI Tx >> agi_extension: *50*
<SIP/501-00000000>AGI Tx >> agi_priority: 1
<SIP/501-00000000>AGI Tx >> agi_enhanced: 0.0
<SIP/501-00000000>AGI Tx >> agi_accountcode:
<SIP/501-00000000>AGI Tx >> agi_threadid: 139736514815744
<SIP/501-00000000>AGI Tx >> agi_arg_1: OutCos
<SIP/501-00000000>AGI Tx >> agi_arg_2: *50*
<SIP/501-00000000>AGI Tx >> agi_arg_3:
<SIP/501-00000000>AGI Tx >> agi_arg_4:
<SIP/501-00000000>AGI Tx >>
<SIP/501-00000000>AGI Rx << GET VARIABLE DEBUG
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << GET VARIABLE EXTLEN
<SIP/501-00000000>AGI Tx >> 200 result=1 (3)
<SIP/501-00000000>AGI Rx << GET VARIABLE ASTDLIM
<SIP/501-00000000>AGI Tx >> 200 result=1 (,)
<SIP/501-00000000>AGI Rx << GET VARIABLE ABSTIMEOUT
<SIP/501-00000000>AGI Tx >> 200 result=1 (14400)
<SIP/501-00000000>AGI Rx << DATABASE GET "STAT" "OCSTAT"
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << SET PRIORITY 1
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << SET EXTENSION *50*
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << SET CONTEXT qrxvtmny
<SIP/501-00000000>AGI Tx >> 200 result=0
    -- <SIP/501-00000000>AGI Script sarkhpe completed, returning 0
    -- Executing [*50*@qrxvtmny:1] AGI("SIP/501-00000000", "sarkhpe,*50*,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
<SIP/501-00000000>AGI Tx >> agi_request: sarkhpe
<SIP/501-00000000>AGI Tx >> agi_channel: SIP/501-00000000
<SIP/501-00000000>AGI Tx >> agi_language: en_AU
<SIP/501-00000000>AGI Tx >> agi_type: SIP
<SIP/501-00000000>AGI Tx >> agi_uniqueid: 1493087413.0
<SIP/501-00000000>AGI Tx >> agi_version: 11.13.1~dfsg-2+deb8u2
<SIP/501-00000000>AGI Tx >> agi_callerid: {cid}
<SIP/501-00000000>AGI Tx >> agi_calleridname: Gordon
<SIP/501-00000000>AGI Tx >> agi_callingpres: 0
<SIP/501-00000000>AGI Tx >> agi_callingani2: 0
<SIP/501-00000000>AGI Tx >> agi_callington: 0
<SIP/501-00000000>AGI Tx >> agi_callingtns: 0
<SIP/501-00000000>AGI Tx >> agi_dnid: *50*
<SIP/501-00000000>AGI Tx >> agi_rdnis: unknown
<SIP/501-00000000>AGI Tx >> agi_context: qrxvtmny
<SIP/501-00000000>AGI Tx >> agi_extension: *50*
<SIP/501-00000000>AGI Tx >> agi_priority: 1
<SIP/501-00000000>AGI Tx >> agi_enhanced: 0.0
<SIP/501-00000000>AGI Tx >> agi_accountcode:
<SIP/501-00000000>AGI Tx >> agi_threadid: 139736514815744
<SIP/501-00000000>AGI Tx >> agi_arg_1: *50*
<SIP/501-00000000>AGI Tx >> agi_arg_2:
<SIP/501-00000000>AGI Tx >> agi_arg_3:
<SIP/501-00000000>AGI Tx >>
<SIP/501-00000000>AGI Rx << GET VARIABLE DEBUG
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << GET VARIABLE EXTLEN
<SIP/501-00000000>AGI Tx >> 200 result=1 (3)
<SIP/501-00000000>AGI Rx << GET VARIABLE ASTDLIM
<SIP/501-00000000>AGI Tx >> 200 result=1 (,)
<SIP/501-00000000>AGI Rx << GET VARIABLE ABSTIMEOUT
<SIP/501-00000000>AGI Tx >> 200 result=1 (14400)
<SIP/501-00000000>AGI Rx << ANSWER
       > 0x7f16cc06d0e0 -- Probation passed - setting RTP source address to xxx.xxx.xxx.xxx:11798
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << EXEC Wait 0.5
    -- AGI Script Executing Application: (Wait) Options: (0.5)
<SIP/501-00000000>AGI Tx >> 200 result=0
<SIP/501-00000000>AGI Rx << EXEC VoiceMailMain {cid}
    -- AGI Script Executing Application: (VoiceMailMain) Options: ({cid})
    -- <SIP/501-00000000> Playing 'vm-login.g722' (language 'en_AU')
[2017-04-25 12:30:17] WARNING[15176][C-00000000]: app_voicemail.c:10545 vm_authenticate: Couldn't read username
<SIP/501-00000000>AGI Tx >> 200 result=0
    -- <SIP/501-00000000>AGI Script sarkhpe completed, returning 4
  == Spawn extension (qrxvtmny, *50*, 1) exited non-zero on 'SIP/501-00000000'
19
Debian / Installation of V5.0.0-23 missing php5-gd
October 17, 2016, 09:14:19 AM
The graph function in the CDR does not work until php5-gd is installed.
Was it meant to be in the dependencies?
20
Debian / Conversion from Sail 4 on SME to Debian Sail 5
October 17, 2016, 03:06:45 AM
Hi Jeff
Firstly well done with this version it looks and works great.
Is there a safe procedure to convert the DB for ver 4 on SME to Debian V5?
Or is it better to just hand code the fresh install?
G