While working with the Avaya 1220 IP Phones over this past week I discovered a few tricks that I thought I would share with everyone. It can be very difficult and time consuming to troubleshoot configuration issues and the 5 line LCD display makes scrolling through all the configuration options painful to say the least. While working with the provisioning files I recalled that the 1200 series IP phone supports SSH so I logged into the IP phone via SSH and I found a great little command. prtcfg. This command appears to print the entire configuration of the IP phone. I’ve noticed that the documentation is sometimes lacking so this is a great little resource to not only see how the phone is configured but to see all the available options.
[root@centos ~]# ssh -l admin 192.168.100.99 admin@192.168.100.99's password: Welcome to Avaya problem determination tool. You are connected to IP Phone 1220. HW version: 1800247F9984E9662A FW version 04.00.04.00 MAC Address = 00247F99FFFF IP = 192.168.100.99 Type "bye" to exit current shell. PDT> prtcfg *********************SYSTEM CONFIG************************ *** SIPdomain1 asterisk.home *** defUser user1 *** S1 IP: 192.168.1.6 *** S1 Ports: (UDP:5060, TCP:0, TLS:0) *** S1 Proto: 2 *** S2 IP: 0.0.0.0 *** S2 Ports: (UDP:5060, TCP:0, TLS:0) *** S2 Proto: 2 *** CONFERENCE_URI: conference@avaya.com *** ADHOC_ENABLED: 0 *** MAX_ADHOC_PORTS: 0 *** SIPdomain2 *** defUser user2 *** S1 IP: 0.0.0.0 *** S1 Ports: (UDP:5060, TCP:0, TLS:0) *** S1 Proto: 2 *** S2 IP: 0.0.0.0 *** S2 Ports: (UDP:5060, TCP:0, TLS:0) *** S2 Proto: 2 *** CONFERENCE_URI: conference@avaya.com *** ADHOC_ENABLED: 0 *** MAX_ADHOC_PORTS: 0 *** SIPdomain3 *** defUser user3 *** S1 IP: 0.0.0.0 *** S1 Ports: (UDP:5060, TCP:0, TLS:0) *** S1 Proto: 2 *** S2 IP: 0.0.0.0 *** S2 Ports: (UDP:5060, TCP:0, TLS:0) *** S2 Proto: 2 *** CONFERENCE_URI: conference@avaya.com *** ADHOC_ENABLED: 0 *** MAX_ADHOC_PORTS: 0 *** SIPdomain4 *** defUser user4 *** S1 IP: 0.0.0.0 *** S1 Ports: (UDP:5060, TCP:0, TLS:0) *** S1 Proto: 2 *** S2 IP: 0.0.0.0 *** S2 Ports: (UDP:5060, TCP:0, TLS:0) *** S2 Proto: 2 *** CONFERENCE_URI: conference@avaya.com *** ADHOC_ENABLED: 0 *** MAX_ADHOC_PORTS: 0 *** SIPdomain5 *** defUser user5 *** S1 IP: 0.0.0.0 *** S1 Ports: (UDP:5060, TCP:0, TLS:0) *** S1 Proto: 2 *** S2 IP: 0.0.0.0 *** S2 Ports: (UDP:5060, TCP:0, TLS:0) *** S2 Proto: 2 *** CONFERENCE_URI: conference@avaya.com *** ADHOC_ENABLED: 0 *** MAX_ADHOC_PORTS: 0 *** DNSdomain asterisk.home *** Config version 000005 *** User Config version 000001 *** Language version 000001 *** Image version 000001 *** Tone version 000001 *** Licensing file version 000001 *** User keys version 000001 *** CTL file version 000001 *** Boot version 000001 *** Security Policy version 000001 *** CRL file version 000001 *** Nortel Key version 000001 *** Misc version 000001 *** Service Pack version 000001 *** SIP_PING 1 *** VMAIL 5000 *** VMAIL_DELAY 300 *** BANNER Avaya SIP Client *** FORCE_BANNER 0 *** DST_ENABLED 1 *** TIMEZONE_OFFSET 0 *** MAX_INBOX_ENTRIES 100 *** MAX_OUTBOX_ENTRIES 100 *** MAX_REJECTREASONS 20 *** MAX_CALLSUBJECT 20 *** MAX_PRESENCENOTE 20 *** DEF_LANG English *** DSCP_CONTROL 0 *** 802.1P_CONTROL -1 *** DSCP_MEDIA 0 *** 802.1P_MEDIA -1 *** DSCP_DATA -1 *** 802.1P_DATA -1 *** LOG_LEVEL 255 *** RECOVERY_LEVEL 2 *** AUTO_UPDATE 0 *** AUTO_UPDATE_TIME 0 *** AUTO_UPDATE_TIME_RANGE 1 *** DOS_PACKET_RATE 5 *** DOS_MAX_LIMIT 100 *** DOS_LOCK_TIME 20 *** DEF_AUDIO_QUALITY High *** DEF_DISPLAY_IM NO *** MAX_IM_ENTRIES 999 *** MAX_ADDR_BOOK_ENTRIES 100 *** ADDR_BOOK_MODE NETWORK *** IM_MODE DISABLED *** ADMIN_PASSWORD 26567*738 *** ADMIN_PASSWORD Expiry Time 0 *** ENABLE_LOCAL_ADMIN_UI 1 *** HASHED_ADMIN_PASSWORD 0 *** HASH_ALGORITHM SHA1 *** HOLD_TYPE rfc3261 *** AUTH_METHOD AUTH *** ENABLE_3WAY_CALL 1 *** DISABLE_PRIVACY_UI 0 *** DIALTONE *** RINGINGTONE *** BUSYTONE *** FASTBUSYTONE *** CONGESTIONTONE *** DISTINCTIVE_RINGING 1 *** CALL_WAITING SPEAKER *** PCPORT_ENABLE 1 *** LLDP_ENABLE 0 *** BLUE TOOTH Disable *** NAT_SIGNALLING NONE *** NAT_MEDIA NONE *** NAT_TYPE NONE *** NAT_TTL 120 *** STUN_SERVER_IP1 0.0.0.0 *** STUN_SERVER_IP2 0.0.0.0 *** STUN_SERVER_PORT1 3478 *** STUN_SERVER_PORT2 3478 *** USE_RPORT 0 *** VQMON PUBLISH ADDRESS: 0.0.0.0 *** PUBLISH ENABLE: 0 *** LISTENING R ENABLE [0:= No, 1:=Yes]: 0 *** LISTENING R WARNING: 0 [0:= 80] *** LISTENING R EXECSSIVE: 0 [0:= 70] *** PACKET LOSS ENABLE [0:= No, 1:=Yes]: 0 *** PACKET LOSS WARNING : 0 [0:= 1] *** PACKET LOSS EXECSSIVE: 0 [0:= 5] *** DELAY ENABLE [0:= No, 1:=Yes]: 0 *** DELAY WARNING: 0 [0:= 300] *** DELAY EXECSSIVE: 0 [0:= 500] *** JITTER ENABLE [0:= No, 1:=Yes]: 0 *** JITTER WARNING: 0 [0:= 150] *** JITTER EXECSSIVE: 0 [0:= 500] *** SESSION_RPT_EN: 0 *** SESSION_RPT_INT: 60 *** VQMON CONFIG BLOCK *** END *** *** *** TRANSFER_TYPE: rfc3261 *** ENABLE_PRACK: 0 *** ENABLE_UPDATE: 1 *** PROXY_CHECKING: 1 *** REDIRECT_TYPE: MCS *** MADN_PRIVACY: *** MADN_TIMER: 1800 *** MADN_DIALOG: 0 *** IM_NOTIFY: 1 *** DISABLE_OCT_ENDDIAL: 0 *** FORCE_OCT_ENDDIAL: 0 *** DISPLAY_CALL_SNDR_IM_KEY: 1 *** FORCE_CFWD_NOTIFY: 0 *** DEFAULT_CFWD_NOTIFY: 0 *** FORCE_TIME_ZONE: 0 *** SNTP_SERVER: *** SNTP_ENABLE: 0 *** RTP_MIN_PORT: 50000 *** RTP_MAX_PORT: 50100 *** TOVM_SOFTKEY_ENABLE: 0 *** TOVM_VOICEMAIL_ALIAS: transfertovm *** TOVM_VOICEMAIL_PARAM: mbid *** AUTOLOGIN_ENABLE: 1 *** SCA_BROADWORKS: 0 *** SCA_LINE_SEIZE_EXPIRES: 15 *** SCA_HOLD_BEHAVIOR: PUBLIC *** SCA_APPEARANCES: 12 *** MAX_RING_TIME: 0 *** EXP_MODULE_ENABLE: 0 *** PROMPT_ON_LOCATION_OTHER: 0 *** ENABLE_ANSWER_MODE: 0 *** ANSWER_MODE_MAXALLOWADDR: 100 *** ANSWER_MODE_MICMUTE: 0 *** AUDIO_CODEC1: *** AUDIO_CODEC2: *** AUDIO_CODEC3: *** AUDIO_CODEC4: *** AUDIO_CODEC5: *** AUDIO_CODEC6: *** AUDIO_CODEC7: *** AUDIO_CODEC8: *** AUDIO_CODEC9: *** AUDIO_CODEC10: *** AUDIO_CODEC11: *** AUDIO_CODEC12: *** AUDIO_CODEC13: *** AUDIO_CODEC14: *** AUDIO_CODEC15: *** G729_ENABLE_ANNEXB: 0 *** G723_ENABLE_ANNEXA: 0 *** LOGOUT_WITHOUT_PASSWORD: 0 *** ENABLE_SERVICE_PACKAGE: 0 *** SECURE_INCALL_DIGITS: 0 *** AVAYA_AUTOMATIC_QOS: 0 *** REMOTE_CHECK_FOR_UPDATE: 0 *** INTERCOM_PAGING: 0 *** ALPHA_ORDER_LOC_LIST: 1 *** MAX_LOGINS: 1 *** AUTOCLEAR_NEWCALL_MSG: 0 *** E911_USERNAME: anonymous *** E911_PROXY : *** E911_PASSWORD: 123456 *** E911_TXLOC : INVITE *** FM_PROFILES_ENABLE: 1 *** FM_LANGS_ENABLE: 1 *** FM_SOUNDS_ENABLE: 1 *** FM_IMAGES_ ENABLE: 1 *** FM_CERTS_ENABLE: 0 *** FM_CONFIG_ ENABLE: 0 *** FM_LOGS_ENABLE: 1 *** PORT_MIRROR_ENABLE: 0 *** LOGSIP_ENABLE: 0 *** MEMCHECK_PERIOD: 86400 secs *** SIP_UDP_PORT: 5060 *** SIP_TCP_PORT: 5060 *** SIP_TLS_PORT: 0 *** KEEP_ALIVE_TYPE: OS *** CONN_KEEP_ALIVE: 120 *** REGISTER_RETRY_TIME: 30 *** REGISTER_RETRY_MAXTIME: 1800 *** SECURE_UI_ENABLE: 0 *** LOGIN_NOTIFY: OFF *** LOGIN_NOTIFY_TIME: 0 *** ENABLE_USB_PORT: Yes *** USB_MOUSE: UNLOCK *** USB_KEYBOARD: UNLOCK *** USB_HEADSET: LOCK *** USB_MEMORY_STICK: UNLOCK *** USB_LOCK_OVERRIDE: No *** ATA_REGION: NA *** IPV6_ENABLE: 0 *** PREFER_IPV6: 0 *** IPV6_STATELESS: 1 *** SECONDARY_LOGOUT_ENABLE: 0 *** SRTP_ENABLED 0 *** SRTP_MODE BE-2MLines *** SRTP_CIPHER_1 AES_CM_128_HMAC_SHA1_80 *** SRTP_CIPHER_2 AES_CM_128_HMAC_SHA1_32 *** SSH 1 *** SFTP 0 *** SSHID admin *** SSHPWD **** EAPConfigRead - migrating EAP Configuration data from TFFS Failed to open file /flash0/EAPDATA.DAT *** EAP DISABLED *** EAPID1 *** EAPID2 *** EAPPWD **** *** CA *** CA_DOMAIN *** HOST_NAME *** SFTP_READ_PATTERNS .cfg,.dat *** SFTP_WRITE_PATTERNS .cfg,.dat *** DSCP_OAM: 18 *** DSCP_MEDIA_FLASHOVERRIDE: 41 *** DSCP_MEDIA_FLASH: 42 *** DSCP_MEDIA_IMMEDIATE: 44 *** DSCP_MEDIA_PRIORITY: 45 *** SESSION_TIMER_ENABLE: 1 *** SESSION_TIMER_DEFAULT_SE: 1800 *** SESSION_TIMER_MIN_SE: 1800 *** SET_REQ_REFRESHER: 0 *** SET_RESP_REFRESHER: 2 *** HOTLINE_ENABLE: 0 *** HOTLINE_URL: hotline *** DoD_ENABLE: 0 *** MLPP_NETWORK_DOMAIN: DSN *** MLPP_PRECEDENCE_DOMAIN: 000000 *** CALL_WAITING_TONE: 0 *** MAX_APEARANCE: 10 *** DISABLE_SPKRPHN: 0 *** CALL_ORIGIN_BUSY: 0 *** SLOW_START_200OK: 0 *** SPEEDLIST_KEY_INDEX: 0 *** SPEEDLIST_LABEL: SDL *** SCRNSVR_ENABLE: 1 *** SCRNSVR_UNPRTCTD_ENABLE: 0 *** SCRNSVR_UPASS_ENABLE: 0 *** SCRNSVR_MODE: 0 *** SCRNSVR_DELAY: 10 *** SCRNSVR_TEXT: Screensaver active *** SCRNSVR_IMAGE: *** MENU_AUTO_BACKOUT: 30 *** LOGIN_BANNER_ENABLE: 0 *** BLF_ENABLE: 0 *** BLF_RESOURCE_LIST_URI: *** BG_IMAGE_ENABLE: 1 *** BG_IMG_SELECT_ENABLE: 1 *** USE_BG_IMAGE: *** USER_FILE_ENABLE: 0 *** USER_FILE_PATH: / *** DEFAULT_ADDRESSBOOK_FILE: *** DEFAULT_SPEEDDIALLIST_FILE: *** DEFAULT_CUSTOMKEYS_FILE: *** TECH_SUPPORT_LABEL: *** TECH_SUPPORT_ADDRESS: *** SERVICE_PACKAGE_PROTOCOL: HTTP *** SELECT_LAST_INCOMING 0 *** MKI_ENABLE: 0 *** ALLOW_EMERGENCY_PRIORITY_HEADER: 0 *** CALLINFO_IMAGE_ENABLE 0 *** maskSectionDwnloaded 0x0 *** SURV_SIP_SVR_ENABLE: 0 *** REG_REFRESH_TIMER: 86400 *** OUTLINEFONT_ENABLE: 1 *** FONTSMOOTH_ENABLE: 0 *** FIPS_MODE: 0 *** LOGINALPHA_ENABLE: 0 *** PROMPT_AUTHNAME_ENABLE: 0 *** KEEPALIVE_RETRIES 3 *** IP_OFFICE_ENABLE 0 *** USE_PUBLISH_FOR_PRESENCE 0 *** FAIL_BACK_TO_PRIMARY 0 *** CONTACT_HDR_PORT_CS1K 0 *********************************************************
I should point out that this command is available for the 1100 and 1200 series IP phones.
Cheers!
Jephph says
I just tried this command (prtcfg) from an ssh session established with at 1140e running f/w version 0625c8a, which I believe is very current. The shell reports that it’s an unsupported command. I tried with alternate forms, using capitalization, etc…, but no luck. Are you sure that this command works with 1100 series?
Michael McNamara says
Hi Jephph,
It was present in the SIP 4.0 software release. I will check to see if the same command is present in the UNIStim software release.
Cheers!
Michael McNamara says
That command doesn’t appear in 0625C7F on an 1140e IP phone. Here are the commands that are available;
r2d2 says
michael for configure that to asterisk i only need the firmware for that phone and setup the TFTP. is necesary install chan_unistim for this model? thx for response
Michael McNamara says
If you are using a 1200 series IP phone and you have the SIP software loaded onto it you don’t need to use the chan_unistim driver.
Good Luck!
r2d2 says
good i will try them thx michael !
r2d2 says
Michael i don’t have the firmware loaded on the phone, for load the firmware on asterisk i need set one tftpd and put the firmware in the server? just only that ? or i need any special parameter ?
Michael McNamara says
If you have a 1200 series IP phone it will either have UNIStim or SIP software loaded on it depending on the part number you ordered. You can convert it from UNIStim to SIP through a pretty easy upgrade process. Once you the IP phone is running the SIP software you can configure it to connect to Asterisk. You can look over this blog post for an idea of how to upgrade the software to SIP. The process is the same between the 1100 series and 1200 series, just the filenames change.
http://blog.michaelfmcnamara.com/2011/01/avaya-ip-1100-series-ip-phone-upgrade-to-sip/
Good Luck!
r2d2 says
alot of thx Michael ! like always i say the experience is the experience ! :D.
God bless you and your family too.
gizeh says
I have a 1200 device running SIP software, I also have asterisk PBX 1.6, do I need Avaya Media Communication Server?
Michael McNamara says
Hi Gizeh,
You can connect the Avaya 1200 series IP phone straight to Asterisk via SIP.
I’ve done it using the chan_unistim driver with an i2002/i2004 IP phone but it should be pretty simple using Asterisk with a SIP software load on the IP phone. Just create the extension and point the IP phone to the Asterisk IP and port. The initial connection can appear to hang because it can take a few minutes.
Good Luck!
Dallas says
Do you have any information about configuring Time Zones, in particular Daylight Savings Time and automating the changeover. I have SIP 04.01.15.00.
I notice that there is a ‘DST_ENABLED 1’ and ‘TIMEZONE_OFFSET ‘ in the prtcfg output. At present I’m changing the offset value and forcing a download at each DST change.
Michael McNamara says
Hi Dallas,
I’ve never had to investigate that since the CS1000 provides the date/time for my handsets. There was a document around that outlined all of the options in the cfg files, let me see if I can dig it up and post it.
Cheers!
Dallas says
Hi Michael,
I’ve since found that the DST & TIMEZONE functions only work for US timezones and on the dates that were applicable in 2007, so I’ve disabled the DST and changed the timezone to suit. This set is running of an asterisk PBX with no licensed features turned on. (I’ve not been able to find out how to buy or manage licensed features.)
Thanks
Michael McNamara says
Hi Dallas,
I found the following references in the SIP Software for Avaya 1100 Series IP Deskphones Administration guide. Although it seems you’ve already found them yourself.
DST_ENABLED [YES | NO]
This parameter enables and disables the Daylight Savings Time (DST) mechanism. The time received from the server is GMT and is converted to the proper timezone by the IP Deskphone. If the Daylight Savings Time feature is enabled, the IP Deskphone automatically calculates the DST time at the appropriate date and converts the time to and from DST. The calculations used are based on the new rules applicable to DST in 2007. The IP Deskphone is
programmed to use the North American DST scheme. The default value is YES.
– YES – enables Daylight Savings Time (default).
– NO – disables Daylight Savings Time.
TIMEZONE_OFFSET [x]
This parameter is used to configure the current time zone offset from GMT in seconds. TIMEZONE_OFFSET takes a number as a parameter. For example, TIMEZONE_OFFSET -25200 configures the time zone offset to MST, which is GMT-7 (-7*3600 = -25200 seconds).
FORCE_TIME_ZONE [YES | NO] This parameter allows you to force the timezone offset on each user’s IP Deskphone. The default is NO.
– YES – forces the IP Deskphone to use the TIMEZONE_OFFSET specified in the device configuration file.
– NO – uses the value stored in the user preferences.
Cheers!
Joe Sus says
Michael,
Do any of the License messages read red flags to you below, that will make the phone expire after 27 days? OR, since the phone says: “No Request” am I good to go??
I have loaded the last SIP firmware version:
SIP12x004.01.15.00
and I receive the message for licensing:
License Mode: Node Locked
License Status: No request
Token type: Evaluation
Tokens Requested: 0
Tokens Acquired: 0
Token Expiry: 27 day(s)
Now I just went and upgraded to the latest and greatest SIP firmware and I am receiving a different message back:
SIP12x004.03.09.00
License Mode: Node Locked
License Status: No Request
Token expiry: 27 day(s)
Token type: evaluation
Tokens requested: 0
Tokens acquired: 0
Allen says
I have installed SIP v4.03.09.00 on a couple of 1140e sets, and when I look at the licensable Features, I have check marks next to 2 of the Enhanced Feature Level features:
1. Authentication Security
2. Signaling Security (TLS)
I have not been able to find the provisioning commands to disable these settings and would appreciate any help that will point me in the right direction.
Michael McNamara says
Hi Allen,
You can find a detail post on the discussion forums;
http://forums.networkinfrastructure.info/nortel-ip-telephony/disabling-features-from-extended-feature-set-on-ip-deskphone/
Cheers!
matts says
Are you aware of a spiffy f/OSS tool that could provide an interweb interface to the SSH menu? or mayhaps a java gui for the not-windows-not-osx users?
Sean says
Will the Avaya 1210 deskphone allow a secondary SIP regsiter for failover ?
Michael McNamara says
There’s an option for an alternate SIP server, although I don’t know if it will require a restart of the phone to failover.
Good Luck!
Sergey Nikitin says
Sorry for updating old post. I have a troubles with old 1220 SIP phone. The default Device certificate from Avaya was expired in 2018 and phone warns at display. Is there a way to manually re-issue Device certificate ? What I should use as CN ? A MAC address ?
FW version: 04.04.30.00.MED
PDT> listdevcerts
——- Printing Device Certificate for purpose(s): ALL ——-
Device Certificate:
Status : Private Key only
——- Printing Device Certificate for purpose(s): ALL ——-
Device Certificate:
Status : Active
[Avaya Inc.][Avaya 1-X(tm) Deskphone SIP 2.1]
Not Before : SUN MAY 05 19:54:50 2008
Expires : SUN MAY 03 19:54:50 2018 – (Expired)
Serial : 0x26
Issuer : [Avaya Inc.][SIP Product Certificate Authority]
SKID : E1 1F 90 96 72 BB 39 6E A6 E1 4F 9B 3E 69 75 39 5E 1C 09 BC
AKID : A0 82 07 29 5C 3A A0 C4 29 B8 3D C3 1D B9 06 55 13 BE 56 2A
Usage : 0x00e0
ExtUsage: 0x00
Thumbprint: 15 16 5D FF DC F7 A4 3A 7B 4A A8 C5 26 8D 70 FF DD 99 5B 88
Michael McNamara says
Sergey, sorry I honestly have no idea…