Professional Documents
Culture Documents
Open the SIP Phone Emulators on the XP Desktop Navigate to View >> Admin Options Use your down or up Arrow Key until SIP is highlighted and press Enter SIP Global Settings is highlighted, press Enter Enter or Verify: SIP Mode = Proxied SIP Domain = training.com Click Save, or Back if no changes made Select SIG = Sip
Use your down or up Arrow Key until SIP Proxy Settings is highlighted and press Enter Click New (or Select if already created) SIP Proxy Server = Enter or verify your assigned Session Manager Security Module IP Transport Type = TLS SIP Port = 5061 Click Save, Back, Back, Exit to save any changes, otherwise, Click Back (or Cancel), Back, Back, Exit
Avaya Proprietary & Confidential. Under NDA
301
User / Password 1101 / 123456 2101 / 123456 3101 / 123456 4101 / 123456
302
User / Password 1102 / 123456 2102 / 123456 3102 / 123456 4102 / 123456
303
304
305
Login as cust/cust01
SIP Tracing
traceSM
Type traceSM -h at the command line to get help with the
Route:SessionManager@135.122.80.xx
Security Module
No More Route Headers Route: SecurityModule@135.122.81.xx Route: CM@135.122.80.142 Route: SecurityModule@135.122.81.xx Route:SessionManager@135.122.80.xx
RequestURI:callee@training.com
CM different modes
CM-Evolution Server Access Point Acts as Access Point SIP Entity for H.323, DCP & Analog endpoints Supports SIP endpoints Supports all CM Trunk Types Limited Application Sequencing Full Call model
OR
CM-Feature Server IMS type feature server Half Call Model Application Sequencing Only SIP Endpoint Signaling Supported
CM only supports SIP endpoints. Calls are always routed via the SM.
Avaya Aura
SIP
SIP
2011. All rights reserved. 31 2
Avaya Aura
H323
AES
ISDN trunk
SIP endpoints can communicate with all other endpoints. Calls from/to SIP endpoints are routed via the SM.
DCP
PSTN
Comparing CM-ES with Classic-CM, Classic-CM integrates with Session Manager using the traditional SIP trunk interface, CM-ES allows the traditional SIP trunk as well as the SIP-ISC interface. Classic-CM supports SIP endpoints using SES, while CM-ES supports SIP endpoints using SM.
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
31 3
SIP- B User
Dialing Analysis Origination Processing
Termination Processing
INVITE (imsterm)
SIP-B SIP-A
CM-FS is processing half call using two call records All rights reserved. 2011.
2007 Avaya Inc. All rights reserved.
Phase mode?
Ill tell him I might want to do different things depending on what phase we are in. How do I know?
Caller
Originating
Outgoing Calls
Terminating
Incoming Calls
Callee
imsorig: added by Session Manager to request origination side processing origdone: added by URE to its own route header to indicate Origination side processing done imsterm: added by Session Manager to request termination side processing termdone: added by URE to its own route header to indicate Termination side processing done
INVITE sip:callee@avaya.com SIP/2.0 To: Bill<sip:bill@work.com> From: John<sip:john@home.com> Call-ID: 267343@135.122.8.2 P-Asserted ID: caller@callersdomain.com
SIP- B User
Dialing Analysis Origination Processing Shortcut INVITE (termdone)
Termination Processing
SIP-B SIP-A
2011. CM-ES is processing full call using one call record All rights reserved.
2007 Avaya Inc. All rights reserved.
Shortcut flag
Configuring CM
135.122.80.62
We will be using Private Numbering in Class. Pre-Configured (same for CM-ES and CM-FS)
Node Names: display node-names ip IP Network Region: display ip-network-region 1 Dial Plan Analysis: display dialplan analysis Stations: list stations Uniform DialPlan: display uniform-dialplan 1 AAR Digit Analysis Table: display aar analysis 1 Private Numbering: display private-numbering 1
CM_ES2 135.122.80.62
Pre-Configured Node-Names
Pre-Configured Stations
Three 9630SIP Stations defined for each student: Student 1: 1201, 1202, 1203 Student 2: 2201, 2202, 2203 Student 3: 3201, 3202, 3203 Student 4: 4201, 4202, 4203
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Pre-Configured Stations
Setting SIP Trunk to aar automatically creates and offpbx station mapping for this SIP station.
Three 9630SIP Stations defined for each student: Student 1: 1201, 1202, 1203 Student 2: 2201, 2202, 2203 Student 3: 3201, 3202, 3203
2011. All rights reserved.
Pre-Configured Off-pbx-telephone
Use unku for the dialed string for SIP Stations. Student 1: 1 Student 2: 2 Student 3: 3 Student 4: 4
Enter an extension number or pattern for extension numbers Empty Trk Grp field applies to all trunks
Student 1: 1201, 1202, 1203 Student 2: 2201, 2202, 2203 Student 3: 3201, 3202, 3203 Student 4: 4201, 4202, 4203
Signaling Group
The difference between the configuration of CM for CM Evolution server and CM Feature server is:
CM-ES uses Full Call Model CM-FS uses Half Call Model
SIP-ISC
SIP-ISC
IMS Enabled: n: uses Full Call Model (CM-ES) y: uses Half Call Model (CM-FS) Peer Detection Enabled: y: Automatic detection of peer server type (default) n: manual setting of peer server type Peer Server: SM: SIP signaling group is connected to a SIP server, that is a Session Manager others: SIP signaling group is connected to a SIP server, that is 2011. All rights reserved. not a Session Manager
Enable Layer 3 Test If no, the links will not be monitored by Communication Manager. This test is required for trunks connected to Session Manager. Maintenance will take the trunks out of service if this test is not enabled.
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Student 1 = 1 Student 2 = 2 Student 3 = 3 Student 4 = 4 Group Type = SIP IMS Enabled = n Transport Method = tls Peer Detection Enable = y
May change to n, enter SM in Peer Server, then change back to y.
Near-end Node Name = procr Near-end Listen Port = 5061 Far-end Listen Port = 5061 Far-end Node Name = sm<X> Far-end Network Region = 1 Far-end Domain = training.com Enable Layer 3 Test? = y Click Enter to Save
343
Group Type = SIP Group Name = <your name> TAC = *0<X> Service Type = tie Signaling Group = <X> Number of Members = 50 Go to Page 3 Numbering Format = private Click Enter to save
344
Pattern Name = SIP Group Name = sm<X> GRP No = <X> FRL = 0 Click Enter to save
345
346
Before going to the next slide, discuss the steps required to complete this exercise.
1. 2. 3. 4. 5.
Create a SIP Entity for CM2 Create an Entity Link between MySessionManager and CM2 Create an Application using the SIP Entity CM2 and the Managed Element CM_ES2 Create an Application Sequence that includes the CM2 Application Assign the Application Sequence to the users
SIP Entity
Tell Session Manager about the Feature Server box
Its address, type, location, etc
SIP Entity
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Entity Link
SIP Entity
Defining Applications
SIP Entity
Sequence 1
Edit System Manager User to apply Application Sequence to Users Communication Profile
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Use the Bulk Communication Profile Editor to edit multiple Users Communication Profiles at one time!
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Add a new Entity Link between the MySessionManager and the new SIP Entity for CM2
Listening port for both Session Manager and CM are TLS 5061
Create a new Application called CM2: SIP Entity = CM2 CM System for SIP Entity = CM_ES2
Create new Application Sequence using the new Application Create new Application Sequence using the new Application CM2
Update your System Manager Users to use the new Application Sequence that includes CM2
Users to Modify: Student 1: 1201, 1202, 1203 Student 2: 2201, 2202, 2203 Student 3: 3201, 3202, 3203 Student 4: 4201, 4202, 4203
User / Password 1201 / 123456 2201 / 123456 3201 / 123456 4201 / 123456
User / Password 1202 / 123456 2202 / 123456 3202 / 123456 4202 / 123456
User / Password 1203 / 123456 2203 / 123456 3203 / 123456 4203 / 123456
When station x202 receives a call, it should use the CM call forwarding feature to forward the calls to x203.
You will need to run three emulators to test
Place a call between x201 and x202 and observe x203 You will need to run three emulators to test
Ext: x203
Ext: x201
Ext: x203
Ext: x201
Feature Server
Route: sip:AppD@featureserver
Q.
CM-as-FeatureSer
AuraAppA AuraAppServer
Aura Apps
AuraAppB AuraAppServer AppA CM-Features CM-as-FeatureSer AuraAppA AuraAppServer2 AppB AuraAppB AuraAppServer2 AppC
Aura Apps
Aura Apps
AuraAppC
Aura Apps
AuraAppServer
Aura Apps
AuraAppD AuraAppServer
A. 8
One for each CM. CM is the app Six for other Feature Servers 4 for 1, 2 for the other
2011. All rights reserved.
user=phone
Before
After
Create an Entity Link between MySessionManager and the new Feature Server
The TCP listening port for the SampleApp is 6053 on each students desktop
Exercise 16: Implement Sample Application CSECallBlocker Have x901 block calls from x902 using the SampleApp feature called CSECallBlocker
Define the SIP Entity (use desktop ip) Define the Entity Link (port 6053/TCP) Define the Application Define the Application Sequence Assign the Application Sequence to the User x901 as Termination
382
Viewing Results
383
Application Sequences
A Sequence is a template
4201
1001
1002
1003
Group of users
Great flexibility!
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Sequence 1
Sequence/Template 1
1st
2nd
Click Click
YES!
Callee
Caller
Originating
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Caller
Callee
Originating
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
CM-ES must be last in the origination sequence, first in the termination sequence.
The CM-FS must be first in the in the origination sequence, and the termination sequence.
Blocked
initial, last name. i.e.: llind) Make a new Application called SampleAppSpoofer for CSECallSpooffer
Make a new Application Sequence that includes CM2 and SampleAppSpoofer
- What order should the Applications be placed?
Implicit Users
1st problem?
SM expects SIP
1st solution?
SM checks User Profile for Sequences. Non-SIP endpoints dont have a User Profile
Administrator
SIP Entity
1st problem?
SM expects SIP
1st solution?
SM checks User Profile for Sequences. Non-SIP endpoints dont have a User Profile
2st solution?
Implicit Users
SIP Entity
42 4 4
Sequence 1 Sequence 3
Originating
Outgoing Calls
Terminating
Incoming Calls
Call Server = 135.122.80.142 Station 81001 => Student01 Station 81002 => Student02 Station 81003 => Student03 Station 81004 => Student04 Password: 123456
Full detail on accessing the IP Phones is documented in the Toolwire Setup File
https://dcm.toolwire.com
Pod 1 Student 1 Student 2 Student 3 Student 4 IP Phone ip010170/welcome ip010171/welcome ip010172/welcome ip010173/welcome Pod 2 Student 1 Student 2 Student 3 Student 4 IP Phone ip010174/welcome ip010175/welcome ip010176/welcome ip010177/welcome Pod 3 Student 1 Student 2 Student 3 Student 4 IP Phone ip010178/welcome ip010179/welcome ip010180/welcome ip010181/welcome
Have x901 dial the H323 phone 8100x. Once the call completes, add a rule using Implicit Users to block x901 from calling 8100x.
399
Named Applications
The difference?
Dial a special access number Caller Issue a request with special details in URI,
Named Applications
2007 Avaya Inc. All rights reserved.
Named Application
Think of a really clever phone Must dial a specific number to get to phone Caller has no control over what user at phone does with call User can push buttons on phone to effect handling of call
Reject Forward to Voice Mail or to
App
another phone
Conference in another party
These are characteristics of a named app!
Named Applications
2007 Avaya Inc. All rights reserved.
NRP
SIP Location
An administrator
SIP Location
OR
NRP
App App
App
Session Manager checks for User Profile If profile exists, checks registry for registration If registered get destination location from registry and proxy on
Ext 1001
LOCATION
2007 Avaya Inc. All rights reserved.
Sequenced Application with Non-CM Feature Server Implicit Users and Sequenced Applications Named Applications
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Objectives - Module 4
Overview of Registration and Location Define System Manager SIP User Define Communication Profile
Communication Address Session Manager Profile
Register SIP users View User Registrations Calling Registered Users Multiple User Identities Multiple Communication Addresses Multiple Communication Profiles Personal Profile Management Communication Manager Overview Manage Communication Manager Endpoints
Create System Manager SIP User Endpoint Profile
Training lab
Student01
135.122.80.71
135.122.80.55
Student02
135.122.80.142
135.122.80.72
135.122.80.57
Student03
135.122.80.73
135.122.80.157
Student04
135.122.80.74
135.122.80.177
Dial Plan
135.122.80.58
Student01
135.122.81.58
Ext: 1xxx
135.122.80.178
135.122.80.88
Student04
135.122.81.178
Session Manager
135.122.81.88
Student02
Ext: 2xxx
Ext: 4xxx
135.122.80.158
Student03
135.122.81.158
2007 Avaya Inc. All rights reserved.
Ext: 3xxx
2011. All rights reserved.
Ext: 1xxx
135.122.80.58
400x
135.122.81.58
Dial Plan
NRP Preconfigured SIP Entity SIP Location SIP Domain Entity Links
135.122.80.178
Route locally
135.122.81.178
Ext: 4xxx
Dial Plan
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
REGISTRATION
2007 Avaya Inc. All rights reserved.
Session Manager checks for User Profile If profile exists, checks registry for registration If registered get destination location from registry and proxy on
2011. All rights reserved.
https
Administrator
User Profile
2007 Avaya Inc. All rights reserved.
???
REGISTER
Exercise 1: Create New System Manager User add User Identity and Communication Profile
Access System Manager User Profile: x902
On the Identity Tab:
Add First/Last Name: Anything Login Name: email address format i.e. jennifer@avaya.com Password: alpha-numeric format. 7 digit minimum i.e. abc1234
Edit the Communication Profile Password and enter 123456 Create a new Communication Address using the domain training.com Use the following as the User Name:
Student01 = 1902@training.com Student02 = 2902@training.com Student03 = 3902@training.com Student04 = 4902@training.com Assign the user to the a Primary Session Manager of
MySessionManager and the Home Location classroom under Session Manager Profile
2007 Avaya Inc. All rights reserved. Avaya Proprietary & Confidential. Under NDA 425
Commit
Exercise 2: Create New System Manager User add User Identity and Communication Profile
Access System Manager User Profile: x903
On the Identity Tab:
Add First/Last Name: Anything Login Name: email address format i.e. jennifer@avaya.com Password: alpha-numeric format. 7 digit minimum i.e. abc1234
Edit the Communication Profile Password and enter 123456 Create a new Communication Address using the domain training.com Use the following as the User Name:
Student01 = 1903@training.com Student02 = 2903@training.com Student03 = 3903@training.com Student04 = 4903@training.com Assign the user to the a Primary Session Manager of
MySessionManager and the Home Location classroom under Session Manager Profile
2007 Avaya Inc. All rights reserved.
Commit
426
135.122.80.xx
135.122.81.xx
User / Password 1902 / 123456 2902 / 123456 3902 / 123456 4902 / 123456
431
Exercise 5: Register 2nd SIP Phone - Open the SIP Emulator Folder on the Desktop
- Double Click SIP Phone Emulator 2
User / Password 1903 / 123456 2903 / 123456 3903 / 123456 4903 / 123456
432
REGISTER
Select your Session Manager Instance, and click Read to see the current configuration. Make changes and click Commit to save.
Commit
435
Enter the time range and select your time zone. This is relative to the system date and time which will vary in the training environment.
Request URI: Addressed to SIP Proxy To: Public Address of the User
REGISTER
401 Unauthorized
REGISTER
200 OK
441
User Registrations
Alternate Sip Tracing - Analysing the Registration traceSM shows the SIP call flow for the SM Gives insight into SM decisions
Login as cust/cust01
Making a Call
Session Manager & SIP Location
447
INVITE
INVITE
100 Trying
180 Ringing
ACK
Sample INVITE
PAI = P-Asserted Identity. Added my Session Manager and defines the source
Exercise 9: View Call Trace Use the SIP Trace Viewer to review the INVITE from x901 to X902 Apply a new time filter on the SIP Trace Viewer Page Make sure you removed the User Filter added in the Registration
exercise on the SIP Tracer Configuration Page.
Commit View the results Enable a filter on the results for INVITE
450
Did the call complete? Why not? Use the trace tool to help answer.
451
So weve got a call being routed entirely using SIP Registration & Location!
Really?
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Exercise 11 : Team Up and Make a Call Team up with another course participant - Take turns calling each other on your x901 extensions
Location or Routing Policy?
454
Can log in as either 4001 or 4999 and receive calls for both!
PPM
Personal Profile Manager (PPM)
JBOSS Running on SM
HTTP(S)/SOAP
PPM Requests
Ownership of Station
Configuration
Communication Manager
Ext: x101
EC500
Ext: x102
Brdg-Appr
Ext: x103
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Once the endpoint list is displayed, select your one of your endpoints.
Student01 = 1xxx Student02 = 2xxx Student03 = 3xxx Student04 = 4xxx *Review the station details. Take note of Button Assignments.
473
Select Primary Session Manager Select CMx for both Origination and Termination Application Sequences Select a Home Location
Check the box for Endpoint Profile. System = CM1 Check Use Existing Enpoints Select your x101 station Let everything else default expect enter a Security Code = 123456
Enter 123456 as the Communication Profile Password Create a new Communication Address using the domain training.com Use the following as the Communication Address:
Student01 = 1101@training.com Student02 = 2101@training.com Student03 = 3101@training.com Student04 = 4101@training.com
Ext: x101
MySessionManager and the Home Location classroom under Session Manager Profile. Assign the user to an Endpoint Profile. Select the CM and check use existing endpoint. Select your station from the list, or type it. Let everything else default except the Security Code. Enter 123456. 2007 Avaya Inc. All rights reserved. Avaya Proprietary & Confidential. Under NDA 2007 Avaya Inc. All rights reserved. Save the new user
EC500
Create a new user with a first and last name Create a Login Name <lastname>@training.com Enter abc1234 as the SMGR Login Password
Ext: x102
MySessionManager and the Home Location classroom under Session Manager Profile. Assign the user to an Endpoint Profile. Select the CM and check use existing endpoint. Select your station from the list, or type it. Let everything else default except the Security Code. Enter 123456.
2007 Avaya Inc. All rights reserved.
480
Brdg-Appr
Create a new user with a first and last name Create a Login Name <lastname>@training.com Enter abc1234 as the SMGR Login Password
Ext: x103
MySessionManager and the Home Location classroom under Session Manager Profile. Assign the user to an Endpoint Profile. Select the CM and check use existing endpoint. Select your station from the list, or type it. Let everything else default except the Security Code. Enter 123456.
2007 Avaya Inc. All rights reserved.
481
Access the SIP Phone Emulator folder and run three phones Student01 => 1101/1102 / 1103 Password: 123456
SIP Phone 1
Student02 => 2101/2102 / 2103 Password: 123456 Student03 => 3101/3102/3103 Password: 123456 Student04 => 4101/4102/4103 Password: 123456
log in as x101 Take time to review the SIP Trace Use the right arrow key to view features
Ext: x101
SIP Phone 2
Log on as x102 Use the right arrow key to view features
EC500
Ext: x102
SIP Phone 3
Log on as x103 Use the right arrow key to view features
Brgd-Appr
Ext: x103
2007 Avaya Inc. All rights reserved. 482
483
???
Troubleshooting
Execute: sm ppmlogon Logoff x102 Logon x102 vi /var/log/Avaya/jboss/SessionManager/ppm.log Type /DialPlanData To quit, type :q!
488
Register SIP users View User Registrations Calling Registered Users Multiple User Identities
Multiple Communication Addresses Multiple Communication Profiles Overview Manage Communication Manager Endpoints
Create System Manager SIP User Endpoint Profile
Be able to:
Access troubleshooting tools Access and interpret key log files Apply troubleshooting techniques to identify and implement solutions
Session Manager
SIP Application Server
SM100 Software
Major Session Manager Components
SIP A/S
Session Manager is an application running on a SIP Application Server SIP/AS which consists of the Service Director, the Service Host and the Management Server. The functionality of these three components is essential to the performance of Session Manager.
Lets take a closer look at how SIP messages arrive at Session Manager
SIP messages enter the Session Manager box, through eth2 and are processed directly by the SM100. If all of the security checks pass, then the request continues on to the next Session Manager component, the Service Director.
SM100
Port 3 = Eth2
SM100 Software
In the Session Manager setup, the Service Director checks the contents of the SIP message headers then forwards the SIP message onto the Service Host which is where most of the call processing takes place.
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
If test fails, establish an SSH connection to Session Manager using putty Run statapp to verify status of SIPas-SD
SIPas-SD Down
If the status of SIPas-SD is Down run restart SIPas-SD and give the Service Director time to restart. Reinitiate the statapp command to verify the status of SIPas-SD Re-run the Test Service Director status test If the Service Director remains down after performing the above steps, contact Avaya Technical Support.
Service Host
Container
Timer B
UA
Location Proxy
Auth
Service Host
The Service Host is also designed to host the SIP Servlet Archive files which contain the logic defined in the servlet code.
SIP
Servlet
SIP
Servlet
Service Host
These SARs complete all of the necessary functions such as Call Processing, Network Routing Policy, Registration and many more other services mentioned earlier in the course
Registration Authentication Event Handling Database Access Data Distribution Name Resolution
2011. All rights reserved.
Authentication
Select Session Manager from Select Target list. Select the following tests and Execute: Test Call Processing status & Test Service Host Status
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
If both tests fail, establish an SSH connection to Session Manager using putty Run statapp to verify status of SIPas-SH
SIPas-SH Down
If the status of SIPas-SH is Down run restart SIPas-SH and give the Service Host time to restart.
Reinitiate the statapp command to verify the status of SIPas-SH Re-run the Test Call Processing Status and Test Service Host Status tests.
2007 Avaya Inc. All rights reserved.
2011. All rights If problem persists a possible re-install of ASM may be required. reserved.
Checkpoint
System Manager and Session Manager servers do not need to be started in any specific order for initTM to execute successfully? True or False?
Successful Installation
initTM
- initial trust management between both servers - Security certificates exchanged - SMGR can manage ASM
initDRS
- initial load of the ASM database from SMGR - Can configure SM100 - Monitor Health of ASM
Master Database
Replica Database
Master Database
Updates Query
1. Do I have any new updates? 2. Checks updates table If yes, then sends an update to the replica node.
replication_updates table
SIP user 1901, 1902 Nrp 1 Nrp 2
Replication Updates
The record is then packetized into JSON format (JavaScript Object Notation) and sent to the replica node using JMS for message transport. The replica node then updates its tables with the new record.
replication_updates table
SIP user 1901, 1902 Nrp 1 Nrp 2
updates
Replica Node
Replication Audit
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Master Database
Update/Delete Request
Replica Database
Master Database
Replica Database
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Database Synchronization
Replica Database
Master Database
updates
If there is a connection to the database but the database is down, execute the following command:
start s postgres-db
Replica Database
Service Affecting!
Facilitated Discussion
Look at synchronised databases on SMGR and SM. What happens if they are not synchronised? What are the symptoms? What could cause the databases to be out of synch? How could one verify that the databases are out-of-synch? What are the steps to correcting the synchronisation issue?
Checkpoint
Database Synchronization is triggered by the:
A. Master Database B. Replica Node C. Postgres script D. Spirit Agent
Checkpoint
The __________ manages call processing for Session Manager.
Checkpoint
The __________ performs a non-intrusive Database Repair in Session Manager.
Summary
Session Manager consists of a SIP Application Server which hosts the Service Director, Service Host and Management Server and the Session Manager Management. All of these services allow for Session Manager to operate. Critical Services such as Trust Management, Database Replication are also essential to the performance of Session Manager. Understanding how to validate the status of these services is important in validating the status of the system Understanding how the SIP domain is designed is also essential in effectively maintaining and troubleshooting any issue.
Manager
SM100 Status
Dashboard Fields
Fields in blue are hyperlinks
Field (urls) Session Manager Type Alarms Description Name of the administered Session Manager. Click on the name to go to the Session Manager Administration page. Link takes you the Session Manager Administration page (Session Manager >Session Manager Administration) Core or BSM (Branch Session Manager) Raised alarm counts (Major & Critical, Minor, Warning with the format X/Y/Z). Click on the value to go to the Alarms List page. Link takes you to the Alarms page Maintenance test result. A green check mark indicates the test(s) passed, a red X indicates the test(s) failed. Click on the check mark or X to go to the Maintenance Tests page. Status of the Security Module of the Session Manager (UP or DOWN). Click on the status to go to the Security Module Status page. Link takes you to the SM100 Status page Service state of the Session Manager Number of down links and total links in the format down links/total links. Click on the value to review the down links on the Session Manager Entity Link connection Status page. Number of calls that are active on this Session Manager. Current registration summary. Click on the value to go to the Registration Summary page. Current software version that is running on the Session Manager.
Tests Pass
Security Module Service State Entity Monitoring Active Call Count Registrations Versions
Refer to the Maintenance and Troubleshooting Avaya Aura Session Manager 03-603325 Release 6.1 Issue for field descriptions located on the Avaya support website.
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Destination SIP Entity sends a SIP RESPONSE message with its capabilities.
UP
Down
You can also click on each SIP Entity to see its current link status and its last response to Session Managers OPTIONS message
SM100 Status
The SM100 Security Module can be checked through the Session Manager Dashboard At the Session Manager Dashboard, navigate to System Status Security Module Status
SM100 Status
Administrators can check the connection status, reset, synchronize, and get details regarding the SM100. Synchronizing the SM100 triggers an update from the replica node and can be used when the replica node is not synchronized to the master node
SM100 Reset
If DRS is running and the replica node is synchronized but the SM100 is not up, it can be reset from this screen.
SIP/AS Console
The SIP Application Server real-time system status can be monitored using the SIP A/S console
SIP/AS Console
At-a-glance view of Configuration Issues
SIP/AS Console
Select Monitoring > System Status > Statistics Statistics for each SIPas component includes: Ip address, Administrator port, version and current status
SIP/AS Console
To access the SIP/AS console from the SMGR console Select the SIP AS 8.1 Menu
SIP/AS Console
Login using the management ip address (eth0) of your ASM Select the default primary port: 5759 and click Connect
Statapp
This script provides status of the SIP A/S components
Statapp
Watchdog- service does all the work. parent and child. The child monitors the services and does essentially provides all of the functionality. The parent watchd simply monitors the child and restarts it if it halts. Logevent- service logging system events Postgres-db- ASM replica node Sm-mgmt- Service that manages ASM configuration of parameters SIPas-MS- Service that configures SD and SH SIPas-SD- Service that routes messages from SM100 to the SH SIPas-SH- SIP Server and Call Processing SIPas-LH- Service supports retrieval, archival/analysis of SAL-enabled hosts or elements SIPas-CDR- Service recording information on tandem calls Secmod- SM100 Security Asset
2011. All rights reserved.
2007 Avaya Inc. All rights reserved.
Trace Tools
SIP Tracer
SIP Tracer allows for the configuration of SIP message traces:
Incoming through
security module
Messages dropped
SIP Tracer
SIP Tracer Viewer provides the output of the configured traces.
TraceSM
Assists in the isolation, identification, and resolution of SIP-based problems. Collects the logs generated by the SIP A/S components. Both the calls.log and asm.log are merged into this log which is located in the Service Host. TraceSM is located in /opt/Avaya/contrib/bin
TraceSM100
Message tracing at the SM100 level Captures messages that may never get to traceSM Used to trace all SIP messages received by the SM100 from the tracer_asset.log Located: /var/Avaya/asset/activeversion/var/log/
TraceSM100
To analyze a previously captured tracesm.log: # traceSM /tmp/my_capture.txt
SMConsole
A command-line tool installed on Session Manager developed for debugging purposes. It can be used to access runtime Call Processing or PPM data. runsmconsole starts the SMConsole application
SMConsole
To verify the ASM replica node is synchronized with System Manager at ASM CLI type: GET AllUsers - view user ids, login names etc. GET AllRegistrationsLocal shows all registered users GET usersub 1901 training.com shows subscriptions for user
Logs
Logs are instrumental in troubleshooting issues They capture errors and alarms that were logged by internal system components or services and are instrumental in isolating system issues
Depends on Entity
dig @localhost <LHNR> dig @localhost _SIP._tcp.<LHNR> dig @localhost _SIP._tls.<LHNR> dig @localhost _SIP._udp.<LHNR> nslookup <LHNR>
SIP logs/tools
SM100 Software
Depends on Entity
SIP Entity A
SIP Entity B
ServiceDirector
SMGR/ASM logs/tools
/opt/Avaya/JBoss/4.2.3/jboss-4.2.3.GA/jboss-as/server/avmgmt/log
SH
ASM
IPTCM CM FS/ES
Database
Alice
/var/log/Avaya/jboss/SessionManager/ppm.log sm ppmlogon sm ppmlogw sm ppmlogv sm ppmlogoff
2011. All rights reserved.
Log Files
The following logs may be useful for troubleshooting:
Session Manager Installation Issues - Install Log: /var/log/Avaya/asm-install.log - initTM failure details: /var/log/Avaya/jboss/SessionManager/server.log - initDRS failure details: /var/log/Avaya/mgmt/drs/symmetric.log
Log Files
Service Director /var/log/Avaya/sm/ServiceDirector/ /var/log/Avaya/sm/ServiceDirector.sh.log
Log Files
SM100 /var/log/asset.log /var/log/tracer_asset.log asset-report > ashreport.txt
Log Files
Database Replication /var/log/Avaya/mgmt/drs psql U postgres asm /var/log/Avaya/jboss
Log Files
PPM var/log/Avaya/jboss/SessionManager/ppm.log sm ppmlogon sm ppmlogw sm ppmlogv sm ppmlogoff
/var/log/Avaya/asm-install.log
Maintenance Tools
You will receive a confirm request after selecting shutdown from the Shutdown/Rebooting Session Manager SMGR console Shutdowns done remotely will require onsite staff to power up Session Manager
Alarming
The alarming service provides access to alarms generated by the Session Manager components. Alarms can be viewed, exported and have their status changed. Alarms are generated by System Manager to notify administrators of system events. They can be configured to forward alarms to Avaya Services or send SNMP traps and Session Manager Element failure events to a Network Management System.
Alarming
Can be accessed through the dashboard
Alarm List displays all severity levels Can select alarm and Change Status to: Acknowledged or Cleared
Alarm Event Id
The event id can be traced using the Avaya Maintaining & Troubleshooting Avaya Aura Session Manager doc
Troubleshooting Methodology
Action
Confirm Issue with Customer Always verify with customer that issue reported is the same issue being experienced. Have any changes been made recently? How long has this issue existed? Was this working before?
Data Collection Document Symptoms Are phones able to register? Are calls dropping? Is SM100 responding to ping requests? Is database replication completing successfully? Are there alarms or error messages?
Service Restoration
Can service be quickly restored using a work-around until issue is resolved?
Implement Resolution
Implement solution to permanently restore service.
Testing
Run tests to verify resolution was effective. If possible, duplicate issue.
Checkpoint
Which tool would be most effective in troubleshooting the SM100 status?
A. smconsole B. traceSM C. SM100 status from SMGR console D. SIP tracer tool
Summary
Troubleshooting tools are essential: baselining system performance monitoring system status detecting errors and deciphering messages tracing and isolating issues speedy resolutions
Common Issues
What do you think the majority of Session Manager issues received by Avaya Support are?
Installation/Provisioning
Hosts File Incorrect- Hosts file was not configured or the fqdns were configured incorrectly therefore SMGR and ASM could not resolve to each other
Date/Time Incorrect- The date must be identical on both SMGR and ASM. There must not be a time difference greater than 2 minutes.
Resolution:
After installation verify hardware is cabled correctly At ASM & SMGR CLI type date to verify correct date At ASM & SMGR CLI type cd /etc/hosts to verify host names are correct Then run initTM
OR
tool!
Validate.sh tool
- Developed by Avaya ETSS support engineers -
Addresses the large volume of installation issues upload tool to your system
- Open a case with Avaya technical support and they will - 6.2 will offer tool as standard utility - Works on ASM 5.2, 6.0, 6.1 and 6.2.
Validate Tool
After validate tool is saved in the temp/validation directory it can be executed Validate tool begins running through tests
Resolution:
Run validate.sh tool At ASM & SMGR CLI type date to verify correct date At ASM & SMGR CLI type cd /etc/hosts to verify host names are correct Avaya recommends using SMNetsetup script to modify hostnames then run ./install.sh
Session Manager Installation-Related Issue Issue: InitTM will not complete successfully
Common Causes:
If System Manager is not completely up before the Session Manager completes its installation the initTM will fail. During installation,Session Manager requested the enrollment password from SMGR in order to authenticate it and exchange the security certificates but SMGR was not able to respond.
Resolution:
Ensure SMGR is completely running before installing ASM by making sure you can connect to SMGR and access the web console.
Session Manager Interoperability Issue Issue: PPM not working correctly on Avaya endpoints
registered to Session Manager
Common Causes:
SUBSCRIBES to features not completing Due to private/public incorrect configuration on CM the
Resolution:
In CM change SIP trunk parameter back to private
Session Manager Interoperability Issue Issue: SM apparently dropping ACKs or other in-dialog SIP requests
Common Causes:
Usually the request URI is not constructed properly by the UA (SIP Gateways/SBC) which causes routing issues with the Session Manager Security Module. SM100 cant route call successfully Can use traceSM100 to see that there is mismatch between Request URI and Contact Header in the SM100 200 OK Resolution:
Ensure interoperability testing done and device is supported on DevConnect Code change will most likely be required to SIP Entity Usually occurs on non-Avaya SIP Entity
Resolution:
Run traceSM to verify that the SIP message goes and comes back to it Verify routing configuration on end-device is correct Verify ASM routing configuration is correct
Session Manager Common Issues Issue: ASM alarms do not make it to the Avaya Data Center
Common Causes:
SAL not configured properly Usually product ID's not properly configured on SM or SMGR alarm admin problem
Resolution:
Verify product ID is correct Verify alarm configuration is correct
Installation/Provisioning
System Manager Software Issue Issue: CM will not synchronize with SMGR
Common Causes:
IPTCM synchronization problems Known issue in 6.1 SP1
Resolution:
Upgrade to 6.1SP2
Also ensure the login created on the CM has the appropriate permissions.
System Manager Software Issue Issue: Users can not be deleted in SMGR
Common Causes:
Software bug that requires making manual modifications to the database
Resolution:
Escalate to Avaya Support
Resolution:
JBOSS restart and/or SMGR VM reboot
System Manager Issues Issue: SMGR alarms do not make it to the Avaya Data Center
Common Causes:
SMGR product ID's not properly administered, HTTP connection info (proxy, etc) not configured in System Manager -> Spirit Agent Data Transport screens.
Resolution:
Verify configuration of SAL Agent
Troubleshooting Exercises
Troubleshooting Exercise #1
A System and Session Manager pair were installed in the Warner Enterprises Puerto Rico location by another business partner. Your team was called in because the systems went live on Day 1but the customer says nothing is working. Your teams responsibility is to get the site up as soon as possible. Objective: Use knowledge of ASM Components, Troubleshooting Tools and Methodology to resolve the issue and answer the following:
Step 1. 2. 3. 4. 5. Action
What tests were run to isolate the problem?
What logs were useful in isolating the problem? Did you find an error or status message that helped isolate problem? What was the cause of the problem? How was the problem resolved?
Exercise 1: Discussion
Was a resolution found? What was the issue? What other variables could contribute to this issue? What tools were used? Did any error messages/alarms register?
Troubleshooting Exercise #2
Session Manager and System Manager were both installed by the implementation team at Ceilex Company in their Dubai location. Before the systems are in production your team was responsible for configuring the routing, SIP entities and users . Your task is as follows: add one SIP user extension 1904@training.com and test
Step 1. 2. 3. 4. 5. Action
What tests were run to isolate the problem?
What logs were useful in isolating the problem? Did you find an error or status message that helped isolate problem? What was the cause of the problem? How was the problem resolved?
Exercise 2: Discussion
Was a resolution found? What was the issue? What other variables could contribute to this issue? What tools were used? Did any error messages/alarms register?
Objective:
Troubleshoot issue by using the tools, isolating issue, find errors/alarms and resolve. Answer the following:
Step 1. 2. 3. 4. 5.
2007 Avaya Inc. All rights reserved.
Action What tests were run to isolate the problem? What logs were useful in isolating the problem? Did you find an error or status message that helped isolate problem? What was the cause of the problem? How was the problem resolved?
2011. All rights reserved.
Exercise 3: Discussion
Was a resolution found? What was the issue? What other variables could contribute to this issue? What tools were used? Did any error messages/alarms register?
Objective:
Troubleshoot issue by using the tools, isolating issue, find errors/alarms and resolve. Answer the following:
Step 1. 2. 3. 4. 5.
2007 Avaya Inc. All rights reserved.
Action What tests were run to isolate the problem? What logs were useful in isolating the problem? Did you find an error or status message that helped isolate problem? What was the cause of the problem? How was the problem resolved? All rights reserved. 2011.
Exercise 4: Discussion
Was a resolution found? What was the issue? What other variables could contribute to this issue? What tools were used? Did any error messages/alarms register?
Troubleshooting Scenario #5: Issue: SIP Users can not register Objective:
Troubleshoot issue by using the tools, isolating issue, find errors/alarms and resolve. Answer the following:
Step 1. 2. 3. 4. 5.
2007 Avaya Inc. All rights reserved.
Action What tests were run to isolate the problem? What logs were useful in isolating the problem? Did you find an error or status message that helped isolate problem? What was the cause of the problem? How was the problem resolved?
2011. All rights reserved.
Exercise 5: Discussion
Was a resolution found? What was the issue? What other variables could contribute to this issue? What tools were used? Did any error messages/alarms register?
Checkpoint
User can not connect to SMGR web console. What could be the problem? A. jboss failure B. initDRS failure C. initTM failure D. Service Host downn
Be able to:
Access troubleshooting tools Access and interpret key log files Apply troubleshooting techniques to identify and resolve issues
To Learn More
Support and Documentation
https://support.avaya.com - Avaya Aura Session Manager Avaya Aura Session Manager Overview Installing and Configuring Avaya Aura Session Manager Administering Avaya Aura Session Manager Maintaining and Troubleshooting Avaya Aura Session Manager Comparison of Avaya Aura SIP Enablement Services and Avaya Aura
Thank you!
Service watchdsvc restart or start or stop or status To restart, start, stop or status Session Manager services (from any directory)
Appendix A cont.
SIP- AS Management Server
restart SIP-as MS
Appendix A- cont.
General Linux Commands
Cd = to change directory Cd - = puts in previous directory Ctrl c = to exit -c (at the end of command line) = allows command to update continuously ls l = to list contents of directory vi = to edit :wq = write quit x = deletes a character cat = to view or modify a file shutdown f = force a shutdown without asking to verify chmod = change permissions of a file cp = copy files dir = list directory contents in columns
Appendix A- cont.
find = find files ( example: find /opt/IBM name trace.log) ftp = transfer file to and from remote network site hostname = sets or displays the name of the current host system ifconfig = sets up network interfaces mkdir = create a directory mount = mount a file structure passwd <username > = change a password for designated user ps = list processes (ps ef | grep java ) su = switch user scp = secure copy (alternative to ftp)
DESCRIPTION file which controls what level gets logged (* = ServiceHost0, ServiceDirector, ManagementServer)
/opt/Avaya/SIPAS/current/ManagementServer/log4jMast whenever MS restarts, this file gets copied to all components' er/log4j.properties log4j.properties. /var/log/Avaya/sm/SIPas.log /var/log/Avaya/sm/event.log ERROR..DEBUG log entries from all SIPAS components. exceptions and other debugs
/var/log/Avaya/sm/calls.log
SIP message logging into/out-of ServiceHost. Command "sm clogon" turns call logging on (until the next SH restart). "sm clogoff" turns it off.
/var/log/Avaya/sm/ServiceHost.sh.log /var/log/Avaya/sm/spirit.log
for SH starting shell script; java console output goes here logs using Avaya spirit logging API (generally turn into alarms)