Author Topic: [SOLVED] SIP Phones with 14.04  (Read 11012 times)

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
[SOLVED] SIP Phones with 14.04
« on: June 11, 2015, 10:29:58 am »
Hey,

After upgrading to LinuxMCE 1404, i've noticed that my cisco phones (sip) aren't registrating anymore.
The extension number on my phones has a little cross

This solved the issue for me:

Code: ( /etc/asterisk/modules.conf ) [Select]
autoload=no
should be
Code: ( /etc/asterisk/modules.conf ) [Select]
autoload=yes

And restart asterik...
Code: [Select]
/etc/init.d/asterisk restart

See http://forum.linuxmce.org/index.php?topic=14086.msg101767#msg101767 for a better solution...
« Last Edit: June 12, 2015, 07:48:12 am by brononius »
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [SOLVED] SIP Phones with 14.04
« Reply #1 on: June 11, 2015, 10:52:15 am »
Would be interesting to know, what modules hadn't been loaded.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: [SOLVED] SIP Phones with 14.04
« Reply #2 on: June 11, 2015, 11:12:38 am »
Hey,

I wanted to look in the cli of asterisk what phones were registrated:

Code: [Select]
asterisk -rvvv
sip show peers

But on that, I recieved following error:
Quote
No such command 'sip show peers' (type 'core show help sip show' for other possible commands)

When I tried to load the chan_sip, i had following:

Quote from: dcerouter*CLI> module load chan_sip.so
Unable to load module chan_sip.so
Command 'module load chan_sip.so' failed.
[Jun 11 11:10:55] WARNING[1255]: loader.c:423 load_dynamic_module: Error loading module 'chan_sip.so': /usr/lib/asterisk/modules/chan_sip.so: undefined symbol: ast_websocket_write
[Jun 11 11:10:55] WARNING[1255]: loader.c:902 load_resource: Module 'chan_sip.so' could not be loaded.
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [SOLVED] SIP Phones with 14.04
« Reply #3 on: June 11, 2015, 12:32:13 pm »
Perfect. Thanks for the detailed output.

See if setting autoload back to no, and adding the follow line:

Code: [Select]
load => res_agi.so

to /etc/asterisk/modules.conf

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: [SOLVED] SIP Phones with 14.04
« Reply #4 on: June 11, 2015, 12:54:15 pm »
Hey,

Getting the same result:


Quote from: module load chan_sip.so
Unable to load module chan_sip.so
Command 'module load chan_sip.so' failed.
[Jun 11 12:52:32] WARNING[18318]: loader.c:423 load_dynamic_module: Error loading module 'chan_sip.so': /usr/lib/asterisk/modules/chan_sip.so: undefined symbol: ast_websocket_write
[Jun 11 12:52:32] WARNING[18318]: loader.c:902 load_resource: Module 'chan_sip.so' could not be loaded.
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [SOLVED] SIP Phones with 14.04
« Reply #5 on: June 11, 2015, 01:02:52 pm »
Did you put the load => res_agi.so line before or after the sip line in modules.conf?

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: [SOLVED] SIP Phones with 14.04
« Reply #6 on: June 11, 2015, 01:03:47 pm »
As the first line in the file.
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [SOLVED] SIP Phones with 14.04
« Reply #7 on: June 11, 2015, 01:25:57 pm »
Please attach the modules.conf that is not working, and the output of

Code: [Select]
ls -l /usr/lib/asterisk/modules/

Thanks.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: [SOLVED] SIP Phones with 14.04
« Reply #8 on: June 11, 2015, 01:30:44 pm »
Here we go...

Code: (/etc/asterisk/modules.conf ) [Select]
[modules]
autoload=no

;  Resources --
preload => res_config_mysql.so          ; MySQL Configuration 
load => res_speech.so                   ; Generic Speech Recognition API
load => res_crypto.so ; Cryptographic Digital Signatures
load => res_agi.so                      ; Asterisk Gateway Interface (AGI)
load => res_musiconhold.so        ; Music On Hold Resource
load => res_timing_timerfd.so ; Timerfd Timing Interface
load => res_rtp_asterisk.so ; Asterisk RTP Stack
load => res_jabber.so ; AJI - Asterisk Jabber Interface
load => res_fax.so ; Generic FAX Applications
load => res_fax_spandsp.so ; Spandsp G.711 and T.38 FAX Technologies


;  PBX --
load => pbx_config.so                  ; Text Extension Configuration  Requires N/A
;load => pbx_functions.so               ; Builtin dialplan functions - Requires N/A
;load => pbx_loopback.so                ; Loopback Dialplan Switch - Requires N/A
load => pbx_realtime.so                ; Realtime Dialplan Switch -  Requires N/A
load => pbx_spool.so                    ; Outgoing Spool Support Requires - N/A

;  Functions --
load => func_aes.so ; AES dialplan functions
load => func_callerid.so                ; Gets or sets Caller*ID data on the channel. - Requires ?
load => func_cut.so ; Cut out information from a string
load => func_logic.so ; Logical dialplan functions
load => func_db.so ; Database (astdb) related dialplan functions
load => func_strings.so ; String handling dialplan functions
load => func_realtime.so ; Read/Write/Store/Destroy values from a RealTime repository
load => func_groupcount.so ; Channel group dialplan functions
load => func_timeout.so ; Channel timeout dialplan functions
load => func_extstate.so ; Gets an extension's state in the dialplan
load => func_channel.so ; Channel information dialplan functions

;  Database Call Detail Records --
load => cdr_mysql.so        ; Mysql CDR Backend - Requires ?

;  Channels --
load => chan_iax2.so            ; Inter Asterisk eXchange (Ver 2) - Requires res_crypto.so, res_features.so
load => chan_local.so            ; Show status of local channels-  Requires N/A
load => chan_gtalk.so            ; Gtalk Channel Driver
load => chan_sip.so              ; Session Initiation Protocol (SIP) -  Requires res_features.so
load => chan_sccp.so            ; LinuxMCE SCCP support
;load => chan_dahdi.so            ; DAHDI Telephony Driver w/PRI & SS7

;  Codecs --
load => codec_adpcm.so          ; Adaptive Differential PCM Coder/Decoder - Requires N/A
load => codec_alaw.so            ; A-law Coder/Decoder - Requires N/A
load => codec_ulaw.so            ; Mu-law Coder/Decoder - Requires N/A
load => codec_gsm.so            ; GSM/PCM16 (signed linear) Codec Translat - Requires N/A
load => codec_g722.so            ; ITU G.726-32kbps G726 Transcoder - Requires N/A
;load => codec_g726.so            ; ITU G.726-32kbps G726 Transcoder - Requires N/A
;load => codec_speex.so          ; Speex/PCM16 (signed linear) Codec Translat - Requires N/A

;  Formats --
load => format_g729.so                  ; Raw G729 data - Requires N/A
load => format_gsm.so                   ; Raw GSM data - Requires N/A
load => format_h263.so                  ; Raw h263 data - Requires N/A
load => format_h264.so                  ; Raw h264 data - Requires N/A
load => format_pcm.so                   ; Raw uLaw 8khz Audio support (PCM) - Requires N/A
load => format_sln.so                   ; Raw Signed Linear Audio support (SLN) -  Requires N/A
load => format_wav_gsm.so               ; Microsoft WAV format (Proprietary GSM) - Requires N/A
load => format_wav.so                   ; Microsoft WAV format (8000hz Signed Linear) - Requires N/A

;  Applications --
load => app_cdr.so              ; Tell Asterisk to not maintain a CDR for the current call - Requires N/A
load => app_confbridge.so ; Conference Bridge Application - Replaces MeetMe, does not require dahdi
load => app_db.so                ; Database access functions for Asterisk -  Requires N/A
load => app_dial.so              ; Dialing Application - Requires res_features.so, res_musiconhold.so
load => app_echo.so              ; Echo audio read from channel back to the channel - Requires N/A
load => app_macro.so            ; Macro Handling Application - Requires N/A
load => app_playback.so          ; Sound File Playback Application - Requires N/A
load => app_playtones.so ; Playtones Application
load => app_read.so              ; Reads a #-terminated string of digits - Requires N/A
load => app_sayunixtime.so      ; Says a specified time in a custom format - Requires N/A
load => app_stack.so                    ; Dialplan subroutines (Gosub, Return, etc) - Requires ?
load => app_system.so                   ; Execute a system command - Requires N/A
load => app_voicemail.so                ; Comedian Mail (Voicemail System) - Requires res_adsi.so
load => app_senddtmf.so ; Send DTMF digits Application

;  Bridging --
load => bridge_builtin_features.so ; Built in bridging features
load => bridge_softmix.so ; Multi-party software based channel mixing
load => bridge_multiplexed.so ; Multiplexed two channel bridging module


Code: (ls -l /usr/lib/asterisk/modules/) [Select]
total 9040
-rw-r--r-- 1 root root   42368 Dez 24  2013 app_adsiprog.so
-rw-r--r-- 1 root root   17940 Dez 24  2013 app_alarmreceiver.so
-rw-r--r-- 1 root root   17768 Dez 24  2013 app_amd.so
-rw-r--r-- 1 root root   13648 Dez 24  2013 app_authenticate.so
-rw-r--r-- 1 root root    5448 Dez 24  2013 app_cdr.so
-rw-r--r-- 1 root root    5460 Dez 24  2013 app_celgenuserevent.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_chanisavail.so
-rw-r--r-- 1 root root    9556 Dez 24  2013 app_channelredirect.so
-rw-r--r-- 1 root root   30048 Dez 24  2013 app_chanspy.so
-rw-r--r-- 1 root root  110584 Dez 24  2013 app_confbridge.so
-rw-r--r-- 1 root root    9556 Dez 24  2013 app_controlplayback.so
-rw-r--r-- 1 root root    9544 Dez 24  2013 app_db.so
-rw-r--r-- 1 root root   66940 Dez 24  2013 app_dial.so
-rw-r--r-- 1 root root   13644 Dez 24  2013 app_dictate.so
-rw-r--r-- 1 root root   13652 Dez 24  2013 app_directed_pickup.so
-rw-r--r-- 1 root root   21840 Dez 24  2013 app_directory.so
-rw-r--r-- 1 root root   17736 Dez 24  2013 app_disa.so
-rw-r--r-- 1 root root   13644 Dez 24  2013 app_dumpchan.so
-rw-r--r-- 1 root root    5448 Dez 24  2013 app_echo.so
-rw-r--r-- 1 root root    9544 Dez 24  2013 app_exec.so
-rw-r--r-- 1 root root   25956 Dez 24  2013 app_externalivr.so
-rw-r--r-- 1 root root   17740 Dez 24  2013 app_festival.so
-rw-r--r-- 1 root root   67020 Dez 24  2013 app_followme.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_forkcdr.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_getcpeid.so
-rw-r--r-- 1 root root    9544 Dez 24  2013 app_ices.so
-rw-r--r-- 1 root root    5452 Dez 24  2013 app_image.so
-rw-r--r-- 1 root root   26060 Dez 24  2013 app_jack.so
-rw-r--r-- 1 root root   21888 Dez 24  2013 app_macro.so
-rw-r--r-- 1 root root    9572 Dez 24  2013 app_milliwatt.so
-rw-r--r-- 1 root root   84332 Dez 24  2013 app_minivm.so
-rw-r--r-- 1 root root   38396 Dez 24  2013 app_mixmonitor.so
-rw-r--r-- 1 root root    9604 Dez 24  2013 app_morsecode.so
-rw-r--r-- 1 root root   13640 Dez 24  2013 app_mp3.so
-rw-r--r-- 1 root root   21920 Dez 24  2013 app_mysql.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_nbscat.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_originate.so
-rw-r--r-- 1 root root   13640 Dez 24  2013 app_page.so
-rw-r--r-- 1 root root   13652 Dez 24  2013 app_parkandannounce.so
-rw-r--r-- 1 root root   17860 Dez 24  2013 app_playback.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_playtones.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_privacy.so
-rw-r--r-- 1 root root  183152 Dez 24  2013 app_queue.so
-rw-r--r-- 1 root root   13648 Dez 24  2013 app_readexten.so
-rw-r--r-- 1 root root   13640 Dez 24  2013 app_read.so
-rw-r--r-- 1 root root   17740 Dez 24  2013 app_record.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_saycountpl.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_sayunixtime.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_senddtmf.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_sendtext.so
-rw-r--r-- 1 root root   38236 Dez 24  2013 app_sms.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_softhangup.so
-rw-r--r-- 1 root root   22292 Dez 24  2013 app_speech_utils.so
-rw-r--r-- 1 root root   30448 Dez 24  2013 app_stack.so
-rw-r--r-- 1 root root    9564 Dez 24  2013 app_system.so
-rw-r--r-- 1 root root   13648 Dez 24  2013 app_talkdetect.so
-rw-r--r-- 1 root root   17736 Dez 24  2013 app_test.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_transfer.so
-rw-r--r-- 1 root root    9544 Dez 24  2013 app_url.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_userevent.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 app_verbose.so
-rw-r--r-- 1 root root  216116 Dez 24  2013 app_voicemail.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_waitforring.so
-rw-r--r-- 1 root root    9556 Dez 24  2013 app_waitforsilence.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_waituntil.so
-rw-r--r-- 1 root root   13644 Dez 24  2013 app_while.so
-rw-r--r-- 1 root root    9552 Dez 24  2013 app_zapateller.so
-rw-r--r-- 1 root root    9560 Dez 24  2013 bridge_builtin_features.so
-rw-r--r-- 1 root root   17836 Dez 24  2013 bridge_multiplexed.so
-rw-r--r-- 1 root root    9640 Dez 24  2013 bridge_simple.so
-rw-r--r-- 1 root root   17832 Dez 24  2013 bridge_softmix.so
-rw-r--r-- 1 root root   30100 Dez 24  2013 cdr_adaptive_odbc.so
-rw-r--r-- 1 root root   13736 Dez 24  2013 cdr_csv.so
-rw-r--r-- 1 root root   13724 Dez 24  2013 cdr_custom.so
-rw-r--r-- 1 root root    9612 Dez 24  2013 cdr_manager.so
-rw-r--r-- 1 root root   30356 Dez 24  2013 cdr_mysql.so
-rw-r--r-- 1 root root   13640 Dez 24  2013 cdr_odbc.so
-rw-r--r-- 1 root root   34340 Dez 24  2013 cdr_pgsql.so
-rw-r--r-- 1 root root   13676 Dez 24  2013 cdr_radius.so
-rw-r--r-- 1 root root   13748 Dez 24  2013 cdr_sqlite3_custom.so
-rw-r--r-- 1 root root   13724 Dez 24  2013 cdr_syslog.so
-rw-r--r-- 1 root root   21864 Dez 24  2013 cdr_tds.so
-rw-r--r-- 1 root root   13724 Dez 24  2013 cel_custom.so
-rw-r--r-- 1 root root    9548 Dez 24  2013 cel_manager.so
-rw-r--r-- 1 root root   34184 Dez 24  2013 cel_odbc.so
-rw-r--r-- 1 root root   26028 Dez 24  2013 cel_pgsql.so
-rw-r--r-- 1 root root   13676 Dez 24  2013 cel_radius.so
-rw-r--r-- 1 root root   13748 Dez 24  2013 cel_sqlite3_custom.so
-rw-r--r-- 1 root root   17768 Dez 24  2013 cel_tds.so
-rw-r--r-- 1 root root   64440 Dez 24  2013 chan_agent.so
-rw-r--r-- 1 root root   31236 Dez 24  2013 chan_alsa.so
-rw-r--r-- 1 root root    9700 Dez 24  2013 chan_bridge.so
-rw-r--r-- 1 root root  352792 Dez 24  2013 chan_iax2.so
-rw-r--r-- 1 root root   34404 Dez 24  2013 chan_local.so
-rw-r--r-- 1 root root   59160 Dez 24  2013 chan_motif.so
-rw-r--r-- 1 root root    9708 Dez 24  2013 chan_multicast_rtp.so
-rw-r--r-- 1 root root   37440 Dez 24  2013 chan_oss.so
-rw-r--r-- 1 root root   41124 Dez 24  2013 chan_phone.so
-rw-r--r-- 1 root root 2169732 Mai  8  2014 chan_sccp.so
-rw-r--r-- 1 root root  771876 Dez 24  2013 chan_sip.so
-rw-r--r-- 1 root root  179576 Dez 24  2013 chan_skinny.so
-rw-r--r-- 1 root root  129432 Dez 24  2013 chan_unistim.so
-rw-r--r-- 1 root root   11772 Dez 24  2013 codec_adpcm.so
-rw-r--r-- 1 root root   11868 Dez 24  2013 codec_alaw.so
-rw-r--r-- 1 root root   11804 Dez 24  2013 codec_a_mu.so
-rw-r--r-- 1 root root   21980 Dez 24  2013 codec_g722.so
-rw-r--r-- 1 root root   17244 Dez 24  2013 codec_g726.so
-rw-r--r-- 1 root root   15932 Dez 24  2013 codec_gsm.so
-rw-r--r-- 1 root root   40844 Dez 24  2013 codec_lpc10.so
-rw-r--r-- 1 root root   19252 Dez 24  2013 codec_resample.so
-rw-r--r-- 1 root root   23900 Dez 24  2013 codec_speex.so
-rw-r--r-- 1 root root   13212 Dez 24  2013 codec_ulaw.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_g719.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_g723.so
-rw-r--r-- 1 root root   11944 Dez 24  2013 format_g726.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_g729.so
-rw-r--r-- 1 root root   18232 Dez 24  2013 format_gsm.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_h263.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_h264.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_ilbc.so
-rw-r--r-- 1 root root    9856 Dez 24  2013 format_jpeg.so
-rw-r--r-- 1 root root   14196 Dez 24  2013 format_ogg_vorbis.so
-rw-r--r-- 1 root root   15576 Dez 24  2013 format_pcm.so
-rw-r--r-- 1 root root   10044 Dez 24  2013 format_siren14.so
-rw-r--r-- 1 root root   10044 Dez 24  2013 format_siren7.so
-rw-r--r-- 1 root root   13932 Dez 24  2013 format_sln.so
-rw-r--r-- 1 root root   10040 Dez 24  2013 format_vox.so
-rw-r--r-- 1 root root   26524 Dez 24  2013 format_wav_gsm.so
-rw-r--r-- 1 root root   18712 Dez 24  2013 format_wav.so
-rw-r--r-- 1 root root    9688 Dez 24  2013 func_aes.so
-rw-r--r-- 1 root root    9692 Dez 24  2013 func_audiohookinherit.so
-rw-r--r-- 1 root root    9692 Dez 24  2013 func_base64.so
-rw-r--r-- 1 root root    9632 Dez 24  2013 func_blacklist.so
-rw-r--r-- 1 root root    9636 Dez 24  2013 func_callcompletion.so
-rw-r--r-- 1 root root   34400 Dez 24  2013 func_callerid.so
-rw-r--r-- 1 root root    9624 Dez 24  2013 func_cdr.so
-rw-r--r-- 1 root root   26192 Dez 24  2013 func_channel.so
-rw-r--r-- 1 root root    9692 Dez 24  2013 func_config.so
-rw-r--r-- 1 root root   22128 Dez 24  2013 func_curl.so
-rw-r--r-- 1 root root    9688 Dez 24  2013 func_cut.so
-rw-r--r-- 1 root root    9816 Dez 24  2013 func_db.so
-rw-r--r-- 1 root root   14052 Dez 24  2013 func_devstate.so
-rw-r--r-- 1 root root   13728 Dez 24  2013 func_dialgroup.so
-rw-r--r-- 1 root root    9696 Dez 24  2013 func_dialplan.so
-rw-r--r-- 1 root root   13968 Dez 24  2013 func_enum.so
-rw-r--r-- 1 root root   34456 Dez 24  2013 func_env.so
-rw-r--r-- 1 root root    9632 Dez 24  2013 func_extstate.so
-rw-r--r-- 1 root root   13780 Dez 24  2013 func_frame_trace.so
-rw-r--r-- 1 root root   13840 Dez 24  2013 func_global.so
-rw-r--r-- 1 root root    9824 Dez 24  2013 func_groupcount.so
-rw-r--r-- 1 root root    9696 Dez 24  2013 func_hangupcause.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_iconv.so
-rw-r--r-- 1 root root   13784 Dez 24  2013 func_jitterbuffer.so
-rw-r--r-- 1 root root   18096 Dez 24  2013 func_lock.so
-rw-r--r-- 1 root root   14044 Dez 24  2013 func_logic.so
-rw-r--r-- 1 root root   13852 Dez 24  2013 func_math.so
-rw-r--r-- 1 root root    5528 Dez 24  2013 func_md5.so
-rw-r--r-- 1 root root    5532 Dez 24  2013 func_module.so
-rw-r--r-- 1 root root   42864 Dez 24  2013 func_odbc.so
-rw-r--r-- 1 root root   13780 Dez 24  2013 func_pitchshift.so
-rw-r--r-- 1 root root   18104 Dez 24  2013 func_presencestate.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_rand.so
-rw-r--r-- 1 root root   18128 Dez 24  2013 func_realtime.so
-rw-r--r-- 1 root root    5532 Dez 24  2013 func_sha1.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_shell.so
-rw-r--r-- 1 root root   13840 Dez 24  2013 func_speex.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_sprintf.so
-rw-r--r-- 1 root root    9740 Dez 24  2013 func_srv.so
-rw-r--r-- 1 root root   35708 Dez 24  2013 func_strings.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_sysinfo.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_timeout.so
-rw-r--r-- 1 root root    9688 Dez 24  2013 func_uri.so
-rw-r--r-- 1 root root    9628 Dez 24  2013 func_version.so
-rw-r--r-- 1 root root    5532 Dez 24  2013 func_vmcount.so
-rw-r--r-- 1 root root    9680 Dez 24  2013 func_volume.so
-rw-r--r-- 1 root root    9768 Dez 24  2013 pbx_ael.so
-rw-r--r-- 1 root root   43588 Dez 24  2013 pbx_config.so
-rw-r--r-- 1 root root  130320 Dez 24  2013 pbx_dundi.so
-rw-r--r-- 1 root root    9576 Dez 24  2013 pbx_loopback.so
-rw-r--r-- 1 root root   30136 Dez 24  2013 pbx_lua.so
-rw-r--r-- 1 root root   17768 Dez 24  2013 pbx_realtime.so
-rw-r--r-- 1 root root   25996 Dez 24  2013 pbx_spool.so
-rw-r--r-- 1 root root   30156 Dez 24  2013 res_adsi.so
-rw-r--r-- 1 root root  124392 Dez 24  2013 res_ael_share.so
-rw-r--r-- 1 root root   80244 Dez 24  2013 res_agi.so
-rw-r--r-- 1 root root   30088 Dez 24  2013 res_calendar_caldav.so
-rw-r--r-- 1 root root   30084 Dez 24  2013 res_calendar_ews.so
-rw-r--r-- 1 root root   25996 Dez 24  2013 res_calendar_exchange.so
-rw-r--r-- 1 root root   21900 Dez 24  2013 res_calendar_icalendar.so
-rw-r--r-- 1 root root   51440 Dez 24  2013 res_calendar.so
-rw-r--r-- 1 root root    9672 Dez 24  2013 res_clialiases.so
-rw-r--r-- 1 root root    9828 Dez 24  2013 res_clioriginate.so
-rw-r--r-- 1 root root   21932 Dez 24  2013 res_config_curl.so
-rw-r--r-- 1 root root   42536 Dez 24  2013 res_config_ldap.so
-rw-r--r-- 1 root root   67440 Dez 24  2013 res_config_mysql.so
-rw-r--r-- 1 root root   30108 Dez 24  2013 res_config_odbc.so
-rw-r--r-- 1 root root   63296 Dez 24  2013 res_config_pgsql.so
-rw-r--r-- 1 root root   38352 Dez 24  2013 res_config_sqlite3.so
-rw-r--r-- 1 root root   34544 Dez 24  2013 res_config_sqlite.so
-rw-r--r-- 1 root root    9668 Dez 24  2013 res_convert.so
-rw-r--r-- 1 root root   18028 Dez 24  2013 res_crypto.so
-rw-r--r-- 1 root root    5448 Dez 24  2013 res_curl.so
-rw-r--r-- 1 root root  100644 Dez 24  2013 res_fax.so
-rw-r--r-- 1 root root   26060 Dez 24  2013 res_fax_spandsp.so
-rw-r--r-- 1 root root    9604 Dez 24  2013 res_format_attr_celt.so
-rw-r--r-- 1 root root    9636 Dez 24  2013 res_format_attr_h263.so
-rw-r--r-- 1 root root    9604 Dez 24  2013 res_format_attr_h264.so
-rw-r--r-- 1 root root    9604 Dez 24  2013 res_format_attr_silk.so
-rw-r--r-- 1 root root   17744 Dez 24  2013 res_http_post.so
-rw-r--r-- 1 root root   17776 Dez 24  2013 res_http_websocket.so
-rw-r--r-- 1 root root    9668 Dez 24  2013 res_limit.so
-rw-r--r-- 1 root root   21868 Dez 24  2013 res_monitor.so
-rw-r--r-- 1 root root   46784 Dez 24  2013 res_musiconhold.so
-rw-r--r-- 1 root root   13780 Dez 24  2013 res_mutestream.so
-rw-r--r-- 1 root root   46724 Dez 24  2013 res_odbc.so
-rw-r--r-- 1 root root   34484 Dez 24  2013 res_phoneprov.so
-rw-r--r-- 1 root root   14180 Dez 24  2013 res_realtime.so
-rw-r--r-- 1 root root   96240 Dez 24  2013 res_rtp_asterisk.so
-rw-r--r-- 1 root root    9724 Dez 24  2013 res_rtp_multicast.so
-rw-r--r-- 1 root root    9568 Dez 24  2013 res_security_log.so
-rw-r--r-- 1 root root   50828 Dez 24  2013 res_smdi.so
-rw-r--r-- 1 root root   27824 Dez 24  2013 res_snmp.so
-rw-r--r-- 1 root root   13708 Dez 24  2013 res_speech.so
-rw-r--r-- 1 root root   17820 Dez 24  2013 res_srtp.so
-rw-r--r-- 1 root root   13768 Dez 24  2013 res_stun_monitor.so
-rw-r--r-- 1 root root   13708 Dez 24  2013 res_timing_pthread.so
-rw-r--r-- 1 root root   13708 Dez 24  2013 res_timing_timerfd.so
-rw-r--r-- 1 root root  100924 Dez 24  2013 res_xmpp.so
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [SOLVED] SIP Phones with 14.04
« Reply #9 on: June 11, 2015, 01:50:21 pm »
Try preload like the mysql line.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: [SOLVED] SIP Phones with 14.04
« Reply #10 on: June 11, 2015, 02:28:50 pm »
No luck...  :-[

Code: [Select]
[modules]
autoload=no

;  Resources --
preload => res_config_mysql.so          ; MySQL Configuration 
preload => res_agi.so
load => res_speech.so                   ; Generic Speech Recognition API
load => res_crypto.so 


ps can it give issues if i've put autoload on yes? Because I see that my phones are registred in asterisk at this moment. Just one weird thing is that 4 out of 7 cisco 7940 phones are registred fine, but 3 fail. Config is exactly the same.
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: [SOLVED] SIP Phones with 14.04
« Reply #11 on: June 11, 2015, 08:22:34 pm »
I went through this before and couldn't figure out the proper setup so I'm running with autoload=yes atm.

J.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [SOLVED] SIP Phones with 14.04
« Reply #12 on: June 11, 2015, 09:24:25 pm »
The only drawback of autoload yes is, that all of the modules that exist in the lib/asterisk/modules directory are loaded, and this could potentially load a lib that has issues. That is the only concern with autoload=yes from my pov.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: [SOLVED] SIP Phones with 14.04
« Reply #13 on: June 12, 2015, 04:01:01 am »
Yeah, I can see that happening.  :(

J.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: [SOLVED] SIP Phones with 14.04
« Reply #14 on: June 12, 2015, 07:46:11 am »
Hey,

I've done some reverse engineering, and these 3 modules should do the trick:
  • chan_sip.so
  • res_http_websocket.so
  • res_config_mysql.so


Code: (/etc/asterisk/modules.conf) [Select]
[modules]
autoload=no

; SIP Devices
load => chan_sip.so
load => res_http_websocket.so

;  Resources --
preload => res_config_mysql.so          ; MySQL Configuration 
load => res_speech.so                   ; Generic Speech Recognition API
...........



ps the issues I had with the phones that weren't registrating, was related with the NAT setting. On the phone itself, I need to put NAT on yes...
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE