reiki
April 8, 2014, 10:42am
1
Hi Guys
I have a strange problem with freepbx; I followed this guides:
http://wiki.freepbx.org/pages/viewpage.action?pageId=1409028
http://blogs.digium.com/2012/11/14/how-to-install-asterisk-11-on-ubuntu-12-4-lts/
and the i’ve installed the pbx on my ubuntu server 12.04.
Now after the installation of freepbx and the upgrade of all modules , all my sip extensions failure to register…can you help me?
Thanks
alan
April 8, 2014, 11:34am
2
It iv very hard to help you with such limited information on your system.
Some logs would be very useful.
reiki
April 8, 2014, 12:32pm
3
Thank you for reply!
Sorry my version of Asterisk is "Asterisk 11.8.1".
I'm working on Ubuntu Server 12.04 and Freepbx distro is 2.11.0.32 (i found it with this command "amportal a ma list | grep ")
Now i'm tryng to register a sip phone (extension 01) with zoiper.
This is te log file:
[2014-Apr-07 22:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled
[2014-Apr-07 23:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-07 23:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 00:09:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 00:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 01:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 01:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 02:09:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 02:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 03:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 03:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 04:09:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 04:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 05:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 05:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 06:09:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 06:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 07:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 07:27:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 08:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 08:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 09:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 09:27:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 09:48:30] [PHP-NOTICE] (/var/www/admin/modules/logfiles/views/logs.php:7) - Undefined variable: full [2014-Apr-08 10:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 10:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 11:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 11:27:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 11:37:19] [PHP-NOTICE] (/var/www/admin/modules/logfiles/views/logs.php:7) - Undefined variable: full [2014-Apr-08 12:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 12:22:52] [PHP-NOTICE] (/var/www/admin/modules/logfiles/views/logs.php:7) - Undefined variable: full [2014-Apr-08 12:24:03] [PHP-NOTICE] (/var/www/admin/modules/logfiles/views/logs.php:7) - Undefined variable: full [2014-Apr-08 12:27:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 13:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 13:27:02] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 14:09:01] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 14:21:21] [PHP-WARNING] (/var/www/admin/modules/digiumaddoninstaller/functions.inc.php:29) - dl(): Dynamically loaded extensions aren't enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:376) - no repos specified, using: [standard] from last GUI settings [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:377) - [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:495) - Module Version Status [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:499) - ------------------- ----------------- ------------------- [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - announcement 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - asteriskinfo 2.11.0.7 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - backup 2.11.0.8 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - blacklist 2.11.0.3 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - builtin Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - callforward 2.11.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - callrecording 2.11.0.5 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - callwaiting 2.11.0.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - campon 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - cdr 2.11.0.8 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - cidlookup 2.11.1.7 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - conferences 2.11.0.3 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - core 2.11.0.20 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - customappsreg 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - dashboard 2.11.0.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - daynight 2.11.0.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - digium_phones 2.11.1.0 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - digiumaddoninstaller2.11.0.4 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - directory 2.11.0.4 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - donotdisturb 2.11.0.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - fax 2.11.0.8 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - featurecodeadmin 2.11.0.0 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - findmefollow 2.11.0.5 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - framework 2.11.0.32 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - fw_ari 2.11.0.6 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - hotelwakeup 2.11.3 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - iaxsettings 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - infoservices 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - ivr 2.11.0.5 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - logfiles 2.11.0.9 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - music 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - outroutemsg 2.11.0.0 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - paging 2.11.0.8 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - parking 2.11.0.14 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - pinsets 2.11.0.3 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - presencestate 2.11.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - printextensions 2.11.0.0 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - queues 2.11.0.18 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - recordings 3.4.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - ringgroups 2.11.0.4 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - setcid 2.11.0.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - sipsettings 2.11.0.7 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - sipstation 2.11.1.4 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - timeconditions 2.11.0.5 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - userman 2.11.0beta9 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - userpaneltab 2.11.0.0 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - vmblast 2.11.0.1 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - voicemail 2.11.1.2 Enabled [2014-Apr-08 14:21:21] [INFO] (bin/module_admin:551) - weakpasswords 2.11.0.0 Enabled [2014-Apr-08 14:24:39] [PHP-NOTICE] (/var/www/admin/modules/logfiles/views/logs.php:7) - Undefined variable: full
I can't find anything of my sip extension in the log file, thank for your help
reiki
April 9, 2014, 10:33am
4
Probably my issue is that the port 5060 isn’t opened, but my firewall’ settings are ok.
When i type this:
root@PC-UbuntuServer:/home/mypbx# nmap -sU -p 5060 192.x.x.x
Starting Nmap 5.21 ( http://nmap.org ) at 2014-04-09 12:31 CEST
Nmap scan report for g0rlag0wall.omc (192.x.x.x)
Host is up (0.00013s latency).
PORT STATE SERVICE
5060/udp closed sip
MAC Address: x:x:x:x:x:x (Tp-link Technologies CO.)
Is it normal ?
alan
April 9, 2014, 10:50am
5
The log info you provided is not from /var/log/asterisk/full which is the Asterisk log file.
Are the phones on your local LAN or are they outside your firewall? I would suggest trying to get a phone working on your local LAN before you tackle getting one to work through your firewall.
reiki
April 10, 2014, 8:49am
6
I’m testing my pbx in my local lan, i’ve tryed with zoiper and with yealink sip-t20p; anything worked.
If i explore pbx’s folders(with putty) in the “/var/log/asterisk” there isn’t a ‘full’ log file.
root@PC-UbuntuServer:/# ls -l /var/log/asterisk/
totale 196
drwxrwxr-x 2 asterisk asterisk 4096 apr 7 10:16 cdr-csv
drwxrwxr-x 2 asterisk asterisk 4096 apr 7 10:16 cdr-custom
drwxrwxr-x 2 asterisk asterisk 4096 apr 7 10:16 cel-custom
-rw-rw-r-- 1 asterisk asterisk 55727 apr 7 10:45 freepbx_debug
-rw-rw-r-- 1 asterisk asterisk 117916 apr 10 10:37 freepbx.log
-rw-rw-r-- 1 asterisk asterisk 2698 apr 7 10:45 messages
-rw-r–r-- 1 asterisk asterisk 274 apr 9 11:30 queue_log
thank you for your help
reiki
April 10, 2014, 8:52am
7
This is in messages log file:
[Apr 7 10:39:09] Asterisk 11.8.1 built by root @ PC-UbuntuServer on a x86_64 running Linux on 2014-04-07 08:10:04 UTC
[Apr 7 10:39:09] NOTICE[20401] cdr.c: CDR simple logging enabled.
[Apr 7 10:39:09] NOTICE[20401] loader.c: 197 modules will be loaded.
[Apr 7 10:39:09] NOTICE[20401] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Apr 7 10:39:09] NOTICE[20401] config.c: Registered Config Engine sqlite3
[Apr 7 10:39:09] WARNING[20401] chan_dahdi.c: Ignoring any changes to ‘userbase’ (on reload) at line 23.
[Apr 7 10:39:09] WARNING[20401] chan_dahdi.c: Ignoring any changes to ‘vmsecret’ (on reload) at line 31.
[Apr 7 10:39:09] WARNING[20401] chan_dahdi.c: Ignoring any changes to ‘hassip’ (on reload) at line 35.
[Apr 7 10:39:09] WARNING[20401] chan_dahdi.c: Ignoring any changes to ‘hasiax’ (on reload) at line 39.
[Apr 7 10:39:09] WARNING[20401] chan_dahdi.c: Ignoring any changes to ‘hasmanager’ (on reload) at line 47.
[Apr 7 10:39:09] NOTICE[20401] chan_skinny.c: Configuring skinny from skinny.conf
[Apr 7 10:39:09] ERROR[20401] chan_motif.c: Connection ‘local-jabber-account’ configured on endpoint ‘jingle-endpoint’ could not be found
[Apr 7 10:39:09] ERROR[20401] config_options.c: Error parsing connection=local-jabber-account at line 81 of
[Apr 7 10:39:09] ERROR[20401] config_options.c: In motif.conf: Processing options for jingle-endpoint failed
[Apr 7 10:39:09] ERROR[20401] chan_motif.c: Unable to read config file motif.conf. Not loading module.
[Apr 7 10:39:09] NOTICE[20401] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Apr 7 10:39:09] ERROR[20401] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[Apr 7 10:39:09] NOTICE[20401] pbx_ael.c: Starting AEL load process.
[Apr 7 10:39:09] NOTICE[20401] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Apr 7 10:39:09] NOTICE[20401] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Apr 7 10:39:09] NOTICE[20401] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Apr 7 10:39:09] NOTICE[20401] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Apr 7 10:39:09] NOTICE[20401] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Apr 7 10:45:25] ERROR[20708] config.c: The file ‘manager_additional.conf’ was listed as a #include but it does not exist.
[Apr 7 10:45:25] NOTICE[20708] manager.c: Unable to open AMI configuration manager.conf, or configuration is invalid. Asterisk management interface (AMI) disabled.
~
reiki
April 10, 2014, 3:58pm
8
i don’t understand…
root@PC-UbuntuServer:/var/log/asterisk# asterisk -r
Asterisk 11.8.1, Copyright © 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
Connected to Asterisk 11.8.1 currently running on PC-UbuntuServer (pid = 17882)
PC-UbuntuServerCLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
PC-UbuntuServer CLI>
but i’ve created a extension 01 in freepbx…
.what is wrong?
I hope all is well.
Do you have the option to re-install using the FreePBX Distro ISO? It might be simpler, since this has been a two day issue.
If you’re operating from a paravirtualization platform like Xen or Amazon, that solution might not be for you… but throwing it out there.