Proxmox & LibreNMS (Configuration & Co)
Proxmox est une plateforme de virtualisation vraiment simple, mais permettant de faire un grand nombre de chose sans se prendre la tête. Cependant le monitoring de Proxmox nécéssite, avec LibreNMS, un certain nombre d’étape parfois pas totalement bien documentées, ou avec le besoin d’aller dans trop de morceaux de documentation différents pour avoir une supervision “Tip Top”. Je vais lister ici, l’ensemble des modifications à apporter à vos machines hôtes pour avoir un maximum d’information au travers de LibreNMS.
Add JAVA libraries in Cisco UCS Director 5.5
In the file “inframgr.env”, located in “/opt/infra/bin/”:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
[root@ucsd5.5 ~]# cat /opt/infra/bin/inframgr.env #!/bin/bash SVC=inframgr . /opt/infra/bin/svcmgr.env # Memory settings MEMORY_MIN=128m MEMORY_MAX=6144m # JMX settings JMX_PORT=11006 JMX_SERVICE_BINDING=local #buildJmxOpts SVC_JAR="$SVC.jar" MAIN_CLASS=com.cloupia.service.cIM.inframgr.InfraMgrMain # Jars to be overrided in CLASSPATH ORDERED_JARS="vijava60compat.jar:vijava55b20130927.jar:/opt/visualstation/jaxrs-ri/ext/org.osgi.core-4.2.0.jar:/opt/visualstation/jaxrs-ri/ext/javax.servlet-api-3.0.1.jar:/opt/visualstation/jaxrs-ri/ext/javassist-3.18.1-GA.jar:/opt/visualstation/jaxrs-ri/ext/hk2-locator-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/hk2-utils-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/aopalliance-repackaged-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/asm-debug-all-5.0.4.jar:/opt/visualstation/jaxrs-ri/ext/jersey-guava-2.22.2.jar:/opt/visualstation/jaxrs-ri/ext/javax.annotation-api-1.2.jar:/opt/visualstation/jaxrs-ri/ext/hk2-api-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/persistence-api-1.0.jar:/opt/visualstation/jaxrs-ri/ext/javax.inject-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/jaxb-api-2.2.7.jar:/opt/visualstation/jaxrs-ri/ext/osgi-resource-locator-1.0.1.jar:/opt/visualstation/jaxrs-ri/ext/validation-api-1.1.0.Final.jar:/opt/visualstation/jaxrs-ri/lib/jersey-media-jaxb.jar:/opt/visualstation/jaxrs-ri/lib/jersey-container-servlet.jar:/opt/visualstation/jaxrs-ri/lib/jersey-container-servlet-core.jar:/opt/visualstation/jaxrs-ri/lib/jersey-client.jar:/opt/visualstation/jaxrs-ri/lib/jersey-common.jar:/opt/visualstation/jaxrs-ri/lib/jersey-server.jar:/opt/visualstation/jaxrs-ri/api/javax.ws.rs-api-2.0.1.jar" buildClasspath # Remote debugging settings #REMOTE_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8006,server=y,suspend=n" JVM_ARGS="-DSVC=$SVC -Xms$MEMORY_MIN -Xmx$MEMORY_MAX $REMOTE_DEBUG_OPTS -Djava.security.manager -Djava.security.policy=security.policy -DpreInitSchema=true -verbose:gc -Dfile.encoding=UTF-8 $JMX_OPTS" # Other JVM args/options OTHER_JVM_ARGS="" SVC_CMD="java $JVM_ARGS $OTHER_JVM_ARGS $CLASSPATH $MAIN_CLASS" [root@ucsd5.5 ~]# |
Add in the variable ORDERED_JARS, the path of all your libraries. Example here, we added the Jersey Client Libraries:
1 |
/opt/visualstation/jaxrs-ri/ext/org.osgi.core-4.2.0.jar:/opt/visualstation/jaxrs-ri/ext/javax.servlet-api-3.0.1.jar:/opt/visualstation/jaxrs-ri/ext/javassist-3.18.1-GA.jar:/opt/visualstation/jaxrs-ri/ext/hk2-locator-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/hk2-utils-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/aopalliance-repackaged-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/asm-debug-all-5.0.4.jar:/opt/visualstation/jaxrs-ri/ext/jersey-guava-2.22.2.jar:/opt/visualstation/jaxrs-ri/ext/javax.annotation-api-1.2.jar:/opt/visualstation/jaxrs-ri/ext/hk2-api-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/persistence-api-1.0.jar:/opt/visualstation/jaxrs-ri/ext/javax.inject-2.4.0-b34.jar:/opt/visualstation/jaxrs-ri/ext/jaxb-api-2.2.7.jar:/opt/visualstation/jaxrs-ri/ext/osgi-resource-locator-1.0.1.jar:/opt/visualstation/jaxrs-ri/ext/validation-api-1.1.0.Final.jar:/opt/visualstation/jaxrs-ri/lib/jersey-media-jaxb.jar:/opt/visualstation/jaxrs-ri/lib/jersey-container-servlet.jar:/opt/visualstation/jaxrs-ri/lib/jersey-container-servlet-core.jar:/opt/visualstation/jaxrs-ri/lib/jersey-client.jar:/opt/visualstation/jaxrs-ri/lib/jersey-common.jar:/opt/visualstation/jaxrs-ri/lib/jersey-server.jar:/opt/visualstation/jaxrs-ri/api/javax.ws.rs-api-2.0.1.jar |
Save the file and then call /opt/shelladmin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
Node:Standalone | Version:5.5.0.0 | UpTime: 08:37:23 up 113 days, 23:11 1) Change ShellAdmin Password 2) Display Services Status 3) Stop Services 4) Start Services 5) Stop Database 6) Start Database 7) Backup Database 8) Restore Database 9) Time Sync 10) Ping Hostname/IP Address 11) Show Version 12) Generate Self-Signed Certificate and Certificate Signing Request 13) Import CA/Self-Signed Certificate 14) Configure Network Interface 15) Display Network Details 16) Enable Database for Cisco UCS Director Baremetal Agent 17) Add Cisco UCS Director Baremetal Agent Hostname/IP 18) Tail Inframgr Logs 19) Apply Patch 20) Shutdown Appliance 21) Reboot Appliance 22) Manage Root Access 23) Login as Root 24) Configure Multi Node Setup (Advanced Deployment) 25) Clean-up Patch Files 26) Collect logs from a Node 27) Collect Diagnostics 28) Quit SELECT> |
Stop Services and Start Services. Wait until the “cloud page” has disappeared.
Cisco Prime Service Catalog stop working after JAVA upgrade
Have a look at: /opt/CiscoPrimeServiceCatalog and in the directory bin , open the file setEnv.sh and you should have something like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/bin/bash #============================================================================== # Copyright (c) 1999, 2011, 2013 Cisco Systems, Inc. # All rights reserved worldwide. # # setEnv.sh - Sets up the environment for various command-line utilities. # #============================================================================== JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre export JAVA_HOME RC_HOME=/opt/CiscoPrimeServiceCatalog export RC_HOME JBOSS_HOME=/opt/CiscoPrimeServiceCatalog/wildfly-8.2.0.Final export JBOSS_HOME CONTROLLER_TYPE=$CONTROLLER_TYPE$ export CONTROLLER_TYPE |
and change the variable JAVA_HOME with the new path of your JAVA jre. Tips Use the command update-alternatives --display java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
java - status is auto. link currently points to /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/java /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/java - priority 1700101 slave keytool: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/keytool slave orbd: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/orbd slave pack200: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/pack200 slave rmid: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/rmid slave rmiregistry: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/rmiregistry slave servertool: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/servertool slave tnameserv: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/tnameserv slave unpack200: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/unpack200 slave jre_exports: /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64 slave jre: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre slave java.1.gz: /usr/share/man/man1/java-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave keytool.1.gz: /usr/share/man/man1/keytool-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave pack200.1.gz: /usr/share/man/man1/pack200-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave servertool.1.gz: /usr/share/man/man1/servertool-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz slave unpack200.1.gz: /usr/share/man/man1/unpack200-java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64.1.gz Current `best' version is /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre/bin/java. |
Take the value following the Current ‘best’ version /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/jre
Get vmId by vmName in Cloupia Script
How to get the Virtual Machine Identity (vmId) with its name. Create a custom task with this code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
importPackage(java.util); importPackage(java.lang); importPackage(java.io); importPackage(com.cloupia.lib.util); importPackage(com.cloupia.service.cIM.inframgr); importPackage(com.cloupia.model.cEvent.notify); importPackage(com.cloupia.lib.util.mail); importPackage(com.cloupia.fw.objstore); importPackage(com.cloupia.lib.util.managedreports); importPackage(com.cloupia.model.cIM); logger.addInfo("Looking for vmId of " + input.VMname); try { // Call Static Function getVMByVMName from InfraPersistenceUtil // ... I like the documentation from Cisco ... Empty var gvm = InfraPersistenceUtil.getVMByVMName(input.accountName,input.VMname); if(gvm != null){ logger.addInfo("Virtual Machine Status: " + gvm.getStatus()); logger.addInfo("Guest OS: " + gvm.getGuestOS()); logger.addInfo("Virtual Machine ID: " + gvm.getVmId()); output.vmId = gvm.getVmId(); output.VMSelector = gvm.getVmId(); } else { ctxt.setFailed("(NULL) The virtual machine " + input.VMname + " doesn't exist !"); } } catch(e) { logger.addError("Error when looking for a vmId. (" + e + ")"); ctxt.setFailed("The virtual machine " + input.VMname + " doesn't exist !"); } finally { } |
Inputs: VMname (Virtual machine Name) in a string accountName (vCenter Account Name in UCS Director) Outputs: vmId (Virtual Machine Identity for UCS Director)
LibreNMS with NGINX, rSyslog and …
How to configure rSyslog to send all remote logs into LibreNMS
First create the following config inside “/etc/rsyslog.d/”
How to update a redhat 5.x when yum is not installed
Sometime, It’s hard to discover that someone failed to install properly a server with the right tools. Today, it was a Redhat Enterprise Server 5.4 “BareMetal” not updated since a while … So first, I uploaded the ISO from 5.11 on the server, Second, created a local directory Third, mounted the ISO on it At the end, I finished by creating the local.repo file to allow yum to find what it needs. But, “YUM” was not installed on the server ! Right, it’s time to install it with RPM. First, go to the local repository directory and then in the directory “Server”, and copy paste this line:
1 |
rpm -Uvh yum-3.2.22-40.el5.noarch.rpm python-elementtree-1.2.6-5.i386.rpm python-iniparse-0.2.3-6.el5.noarch.rpm python-sqlite-1.1.7-1.2.1.i386.rpm rpm-python-4.4.2.3-34.el5.i386.rpm yum-metadata-parser-1.1.2-4.el5.i386.rpm rpm-libs-4.4.2.3-34.el5.i386.rpm popt-1.10.2.3-34.el5.i386.rpm python-urlgrabber-3.1.0-6.el5.noarch.rpm m2crypto-0.16-9.el5.i386.rpm rpm-4.4.2.3-34.el5.i386.rpm |
You should have something similar:
1 2 3 4 5 6 7 8 9 10 11 12 |
Preparing... ########################################### [100%] 1:popt ########################################### [ 9%] 2:m2crypto ########################################### [ 18%] 3:yum-metadata-parser ########################################### [ 27%] 4:python-sqlite ########################################### [ 36%] 5:python-elementtree ########################################### [ 45%] 6:python-urlgrabber ########################################### [ 55%] 7:python-iniparse ########################################### [ 64%] 8:rpm-libs ########################################### [ 73%] 9:rpm ########################################### [ 82%] 10:rpm-python ########################################### [ 91%] 11:yum ########################################### [100%] |
And now, you can update the server via a simple yum update -y.
Enabling dayligth saving time on Huawei Switches
How to enable daylight saving time on Huawei Switches: CEST:
1 |
clock daylight-saving-time CEST repeating 01:00 last Sun Mar 01:00 last Sun Oct 01:00 |
Rebuild indexes from SolarWinds Orion Server
SolarWinds sell a great solution for monitoring your network and your servers, but regarding the maintenance of the server itself or its database, there is a leak. After serveral months of intensive utilization, indexes from all tables become fragmented and the responsiveness from the SolarWinds Orion decrease a lot. At the beginning, in less than 10 seconds everything was finished but now, you can have a break and take a coffee and be back to see slowly the result. I decided to build a script (Basic MS SQL) to select the most fragmented table (and the most heavy) and to build the “Rebuild script”.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
SET NOCOUNT ON DECLARE @myTables TABLE( tab varchar(256) NOT NULL, ind varchar(256) NOT NULL ); Declare @tabt varchar(256); Declare @indt varchar(256); INSERT INTO @myTables SELECT dbtables.[name] as 'Table', dbindexes.[name] as 'Index' FROM sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL, NULL, NULL) AS indexstats INNER JOIN sys.tables dbtables on dbtables.[object_id] = indexstats.[object_id] INNER JOIN sys.schemas dbschemas on dbtables.[schema_id] = dbschemas.[schema_id] INNER JOIN sys.indexes AS dbindexes ON dbindexes.[object_id] = indexstats.[object_id] AND indexstats.index_id = dbindexes.index_id WHERE indexstats.database_id = DB_ID() and (indexstats.page_count * indexstats.avg_fragmentation_in_percent) > 10000 --ORDER BY indexstats.avg_fragmentation_in_percent desc ORDER BY indexstats.page_count * (indexstats.avg_fragmentation_in_percent) desc; WHILE (SELECT COUNT(*) FROM @myTables) > 0 BEGIN SELECT TOP 1 @indt = ind, @tabt = tab FROM @myTables; DELETE @myTables WHERE ind = @indt AND tab = @tabt; PRINT 'USE [SolarWindsOrion]' PRINT 'GO' PRINT 'ALTER INDEX '+@indt+' ON [dbo].['+@tabt+'] REBUILD PARTITION = ALL WITH ( PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, ONLINE = OFF, SORT_IN_TEMPDB = OFF )'; PRINT 'GO' PRINT 'PRINT ''The index '+@indt+' from '+@tabt+' has been defragmented'''; END; |
It’s not perfect (it’s crappy, I know) but it solved my problem.
Configuration d’un téléphone 7962G en SIP
Pour mon usage personnel, J’ai réparé un téléphone Cisco 7962G, pour ensuite le mettre sur mon PBX personnel. Pour se faire, il y a quelques étapes à respecter: Utiliser le firmware SIP42.9-1-1SR1S (Les firmwares supérieurs ne fonctionnent pas avec le fichier de configuration). Ajouter la ligne suivante dans XMLDefault.cnf.xml: <loadInformation404 model=”Cisco 7962″>SIP42.9-1-1SR1S</loadInformation404>. Utiliser le fichier de configuration que je vais fournir ici en modifiant les valeurs en fonction de votre environement.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
<device> <deviceProtocol>SIP</deviceProtocol> <sshUserId>__USERNAME__</sshUserId> <sshPassword>__PASSWORD__</sshPassword> <devicePool> <dateTimeSetting> <dateTemplate>D/M/Y</dateTemplate> <timeZone>UTC Standard/Daylight Time</timeZone> <ntps> <ntp> <name>europe.pool.ntp.org</name> <ntpMode>Unicast</ntpMode> </ntp> </ntps> </dateTimeSetting> <callManagerGroup> <members> <member priority="0"> <callManager> <ports> <ethernetPhonePort>2000</ethernetPhonePort> <sipPort>5060</sipPort> <securedSipPort>5061</securedSipPort> </ports> <processNodeName>__IP_ADDRESS_PBX__</processNodeName> </callManager> </member> </members> </callManagerGroup> </devicePool> <sipProfile> <sipProxies> <backupProxy>USECALLMANAGER</backupProxy> <backupProxyPort>5060</backupProxyPort> <emergencyProxy>USECALLMANAGER</emergencyProxy> <emergencyProxyPort>5060</emergencyProxyPort> <outboundProxy></outboundProxy> <outboundProxyPort></outboundProxyPort> <registerWithProxy>true</registerWithProxy> </sipProxies> <sipCallFeatures> <cnfJoinEnabled>true</cnfJoinEnabled> <callForwardURI>x--serviceuri-cfwdall</callForwardURI> <callPickupURI>x-cisco-serviceuri-pickup</callPickupURI> <callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI> <callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI> <meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI> <abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI> <rfc2543Hold>false</rfc2543Hold> <callHoldRingback>2</callHoldRingback> <localCfwdEnable>true</localCfwdEnable> <semiAttendedTransfer>true</semiAttendedTransfer> <anonymousCallBlock>2</anonymousCallBlock> <callerIdBlocking>2</callerIdBlocking> <dndControl>0</dndControl> <remoteCcEnable>true</remoteCcEnable> </sipCallFeatures> <sipStack> <sipInviteRetx>6</sipInviteRetx> <sipRetx>10</sipRetx> <timerInviteExpires>180</timerInviteExpires> <timerRegisterExpires>1200</timerRegisterExpires> <timerRegisterDelta>5</timerRegisterDelta> <timerKeepAliveExpires>120</timerKeepAliveExpires> <timerSubscribeExpires>120</timerSubscribeExpires> <timerSubscribeDelta>5</timerSubscribeDelta> <timerT1>500</timerT1> <timerT2>4000</timerT2> <maxRedirects>70</maxRedirects> <remotePartyID>false</remotePartyID> <userInfo>None</userInfo> </sipStack> <autoAnswerTimer>1</autoAnswerTimer> <autoAnswerAltBehavior>false</autoAnswerAltBehavior> <autoAnswerOverride>true</autoAnswerOverride> <transferOnhookEnabled>false</transferOnhookEnabled> <enableVad>false</enableVad> <preferredCodec>none</preferredCodec> <dtmfAvtPayload>101</dtmfAvtPayload> <dtmfDbLevel>3</dtmfDbLevel> <dtmfOutofBand>avt</dtmfOutofBand> <alwaysUsePrimeLine>false</alwaysUsePrimeLine> <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail> <kpml>3</kpml> <natReceivedProcessing>true</natReceivedProcessing> <natEnabled>false</natEnabled> <natAddress></natAddress> <phoneLabel></phoneLabel> <stutterMsgWaiting>1</stutterMsgWaiting> <callStats>false</callStats> <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts> <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig> <startMediaPort>16384</startMediaPort> <stopMediaPort>32766</stopMediaPort> <sipLines> <line button="1"> <featureID>9</featureID> <featureLabel>__LINE_LABEL__</featureLabel> <proxy>USECALLMANAGER</proxy> <port>5060</port> <name>__NAME__</name> <displayName>__DISPLAYNAME__</displayName> <autoAnswer> <autoAnswerEnabled>2</autoAnswerEnabled> </autoAnswer> <callWaiting>3</callWaiting> <authName>__SIP_USERNAME__</authName> <authPassword>__SIP_PASSWORD__</authPassword> <sharedLine>false</sharedLine> <messageWaitingLampPolicy>1</messageWaitingLampPolicy> <messagesNumber>__VOICEMAIL__</messagesNumber> <ringSettingIdle>4</ringSettingIdle> <ringSettingActive>5</ringSettingActive> <contact>__CONTACTNAME__</contact> <forwardCallInfoDisplay> <callerName>true</callerName> <callerNumber>false</callerNumber> <redirectedNumber>false</redirectedNumber> <dialedNumber>true</dialedNumber> </forwardCallInfoDisplay> </line> </sipLines> <voipControlPort>5060</voipControlPort> <dscpForAudio>184</dscpForAudio> <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy> <dialTemplate>dialplan.xml</dialTemplate> </sipProfile> <commonProfile> <phonePassword></phonePassword> <backgroundImageAccess>true</backgroundImageAccess> <callLogBlfEnabled>2</callLogBlfEnabled> </commonProfile> <loadInformation>SIP42.9-1-1SR1S</loadInformation> <vendorConfig> <disableSpeaker>false</disableSpeaker> <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset> <pcPort>0</pcPort> <settingsAccess>1</settingsAccess> <garp>0</garp> <voiceVlanAccess>0</voiceVlanAccess> <videoCapability>0</videoCapability> <autoSelectLineEnable>1</autoSelectLineEnable> <sshAccess>1</sshAccess> <sshPort>22</sshPort> <webAccess>1</webAccess> <spanToPCPort>0</spanToPCPort> <loggingDisplay>1</loggingDisplay> <loadServer></loadServer> </vendorConfig> <versionStamp>1143565489-a3cbf294-7526-4c29-8791-c4fce4ce4c38</versionStamp> <userLocale> <name>Belgium</name> <uid>1</uid> <langCode>en_US</langCode> <version>1.0.0.0-1</version> <winCharSet>iso-8859-1</winCharSet> </userLocale> <deviceSecurityMode>1</deviceSecurityMode> <authenticationURL></authenticationURL> <directoryURL></directoryURL> <idleURL></idleURL> <informationURL></informationURL> <messagesURL></messagesURL> <proxyServerURL></proxyServerURL> <servicesURL></servicesURL> <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig> <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices> <dscpForCm2Dvce>96</dscpForCm2Dvce> <transportLayerProtocol>2</transportLayerProtocol> <capfAuthMode>0</capfAuthMode> <capfList> <capf> <phonePort>3804</phonePort> </capf> </capfList> <certHash></certHash> <encrConfig>false</encrConfig> </device> |
Liens utiles: http://adis.ca/post/using-cisco-ip-phones-with-asterisk/ http://www.voip-info.org/wiki/view/Asterisk+Presence+for+Cisco+79×1+Phones http://forums.asterisk.org/viewtopic.php?p=166124 http://www.dslreports.com/forum/r26632503-Voip.ms-Cisco-7942-configuration-files https://supportforums.cisco.com/docs/DOC-15799 http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+79xx https://sites.google.com/site/seppsbrainoverload/cisco-corner/cisco-voice/cp-7941g-sip-setup http://www.cisco.com/en/US/products/hw/phones/ps379/products_tech_note09186a0080094584.shtml#issue5
Son IPBX personnel avec Nomado et FreeSWITCH
A l’heure d’aujourd’hui, pouvoir diminuer les couts et avoir une infrastructure téléphonique qui ne dépend pas de son opérateur historique (dans mon cas, la société Belgacom), il existe dans le monde de l’open source deux excellents logiciels: Asterisk FreeSWITCH Les deux logiciels offrent pas mal de fonctionnalités. J’ai travaillé par le passé avec Asterisk et maintenant je tourne uniquement avec FreeSWITCH (c’est qune question de gout). Cependant, sans un fournisseur de service pour pouvoir passer des appels téléphoniques externes, votre IPBX, il ne sert pas à grand chose. A la suite d’une discussion avec un collègue, j’ai essayé il y a maintenant un an, le founisseur de service “Nomado Telecom”, et je dois dire que je n’ai aps été déçu. La qualité du service est excellente, le support semble réactif (pour le peu que je le solicite) et le coût global de la solution FreeSWITCH + Nomado “PACK BE” +…