Review Board 1.7.16


Post trunk-resurrection fixes to libss7.

Review Request #2150 - Created Oct. 5, 2012 and submitted

KNK
/trunk
SS7-27
Reviewers
asterisk-dev
LibSS7
Dual seizure - check for IAM pending in addition to IAM sent
ISUP_RSC - we should still respond to RSC
Ignore unexpected messages when relevant timers are defined and we are waiting for RLC
Put in production with asterisk 11 some time ago ... so far no problems

Diff revision 7 (Latest)

1 2 3 4 5 6 7
1 2 3 4 5 6 7

  1. /trunk/isup.h: Loading...
  2. /trunk/isup.c: Loading...
  3. /trunk/libss7.h: Loading...
  4. /trunk/mtp3.c: Loading...
  5. /trunk/ss7_internal.h: Loading...
  6. /trunk/ss7linktest.c: Loading...
/trunk/isup.h
Revision 322 New Change
[20] 85 lines
[+20]
86
#define ISUP_CRM	0xea	/*!< ??? */
86
#define ISUP_CRM	0xea	/*!< ??? */
87
#define ISUP_CVR	0xeb	/*!< ???Used??? */
87
#define ISUP_CVR	0xeb	/*!< ???Used??? */
88
#define ISUP_CVT	0xec	/*!< ???Used??? */
88
#define ISUP_CVT	0xec	/*!< ???Used??? */
89
#define ISUP_EXM	0xed	/*!< ??? */
89
#define ISUP_EXM	0xed	/*!< ??? */
90

    
   
90

   
91
/* ISUP Parameters */
91

   
92
#define ISUP_PARM_NATURE_OF_CONNECTION_IND		0x06
92
/* ISUP Parameters ITU-T Q.763 */
93
#define ISUP_PARM_FORWARD_CALL_IND			0x07
93
#define ISUP_PARM_CALL_REF						0x01
94
#define ISUP_PARM_CALLING_PARTY_CAT			0x09

   
95
#define ISUP_PARM_USER_SERVICE_INFO			0x1d

   
96
#define ISUP_PARM_TRANSMISSION_MEDIUM_REQS		0x02
94
#define ISUP_PARM_TRANSMISSION_MEDIUM_REQS		0x02
97
#define ISUP_PARM_CALLED_PARTY_NUM			0x04
95
#define ISUP_PARM_ACCESS_TRANS					0x03
98
#define ISUP_PARM_ACCESS_TRANS				0x03
96
#define ISUP_PARM_CALLED_PARTY_NUM				0x04
99
#define ISUP_PARM_BUSINESS_GRP				0xc6
97
#define ISUP_PARM_SUBSEQUENT_NUMBER				0x05
100
#define ISUP_PARM_CALL_REF				0x01
98
#define ISUP_PARM_NATURE_OF_CONNECTION_IND		0x06
101
#define ISUP_PARM_CALLING_PARTY_NUM			0x0a
99
#define ISUP_PARM_FORWARD_CALL_IND				0x07
102
#define ISUP_PARM_CARRIER_ID				0xc5
100
#define ISUP_PARM_OPT_FORWARD_CALL_INDICATOR	0x08
103
#define ISUP_PARM_SELECTION_INFO			0xee
101
#define ISUP_PARM_CALLING_PARTY_CAT				0x09
104
#define ISUP_PARM_CHARGE_NUMBER				0xeb
102
#define ISUP_PARM_CALLING_PARTY_NUM				0x0a

    
   
103
#define ISUP_PARM_REDIRECTING_NUMBER			0x0b

    
   
104
#define ISUP_PARM_REDIRECTION_NUMBER			0x0c

    
   
105
#define ISUP_PARM_CONNECTION_REQ				0x0d

    
   
106
#define ISUP_PARM_INR_IND						0x0e

    
   
107
#define ISUP_PARM_INF_IND						0x0f

    
   
108
#define ISUP_PARM_CONTINUITY_IND				0x10

    
   
109
#define ISUP_PARM_BACKWARD_CALL_IND				0x11

    
   
110
#define ISUP_PARM_CAUSE							0x12

    
   
111
#define ISUP_PARM_REDIRECTION_INFO				0x13

    
   
112
/* 0x14 is Reserved / Event information */

    
   
113
#define ISUP_PARM_CIRCUIT_GROUP_SUPERVISION_IND	0x15

    
   
114
#define ISUP_PARM_RANGE_AND_STATUS				0x16

    
   
115
#define ISUP_PARM_CALL_MODIFICATION_IND			0x17

    
   
116
#define ISUP_PARM_FACILITY_IND					0x18

    
   
117
/* 0x19 is Reserved */

    
   
118
#define ISUP_PARM_CUG_INTERLOCK_CODE			0x1a

    
   
119
/* 0x1b is Reserved */

    
   
120
/* 0x1c is Reserved */

    
   
121
#define ISUP_PARM_USER_SERVICE_INFO				0x1d

    
   
122
#define ISUP_PARM_SIGNALLING_PC					0x1e

    
   
123
/* 0x1f is Reserved */

    
   
124
#define ISUP_PARM_USER_TO_USER_INFO				0x20

    
   
125
#define ISUP_CONNECTED_NUMBER					0x21

    
   
126
#define ISUP_PARM_SUSPEND_RESUME_IND			0x22

    
   
127
#define ISUP_PARM_TRANSIT_NETWORK_SELECTION		0x23

    
   
128
#define ISUP_PARM_EVENT_INFO					0x24
105
#define ISUP_PARM_CIRCUIT_ASSIGNMENT_MAP		0x25
129
#define ISUP_PARM_CIRCUIT_ASSIGNMENT_MAP		0x25

    
   
130
#define ISUP_PARM_CIRCUIT_STATE_IND				0x26

    
   
131
#define ISUP_PARAM_AUTOMATIC_CONGESTION_LEVEL	0x27

    
   
132
#define ISUP_PARM_ORIGINAL_CALLED_NUM			0x28
106
#define ISUP_PARM_OPT_BACKWARD_CALL_IND			0x29
133
#define ISUP_PARM_OPT_BACKWARD_CALL_IND			0x29
107
#define ISUP_PARM_CONNECTION_REQ			0x0d
134
#define ISUP_PARM_USER_TO_USER_IND				0x2a
108
#define ISUP_PARM_CONTINUITY_IND			0x10
135
#define ISUP_PARM_ORIGINATION_ISC_PC			0x2b
109
#define ISUP_PARM_CUG_INTERLOCK_CODE			0x1a

   
110
#define ISUP_PARM_EGRESS_SERV				0xc3

   
111
#define ISUP_PARM_GENERIC_ADDR				0xc0

   
112
#define ISUP_PARM_GENERIC_DIGITS			0xc1

   
113
#define ISUP_PARM_GENERIC_NAME				0xc7

   
114
#define ISUP_PARM_GENERIC_NOTIFICATION_IND		0x2c
136
#define ISUP_PARM_GENERIC_NOTIFICATION_IND		0x2c
115
#define ISUP_PARM_BACKWARD_CALL_IND			0x11
137
#define ISUP_PARM_CALL_HISTORY_INFO				0x2d
116
#define ISUP_PARM_CAUSE					0x12
138
#define ISUP_PARM_ACCESS_DELIVERY_INFO			0x2e
117
#define ISUP_PARM_CIRCUIT_GROUP_SUPERVISION_IND		0x15
139
#define ISUP_PARM_NETWORK_SPECIFIC_FACILITY		0x2f
118
#define ISUP_PARM_RANGE_AND_STATUS			0x16
140
#define ISUP_PARM_USER_SERVICE_INFO_PRIME		0x30
119
#define ISUP_PARM_PROPAGATION_DELAY			0x31
141
#define ISUP_PARM_PROPAGATION_DELAY				0x31
120
#define ISUP_PARM_EVENT_INFO				0x24
142
#define ISUP_PARM_REMOTE_OPERATIONS				0x32
121
#define ISUP_PARM_HOP_COUNTER				0x3d
143
#define ISUP_PARM_SERVICE_ACTIVATION			0x33
122
#define ISUP_PARM_OPT_FORWARD_CALL_INDICATOR		0x08
144
#define ISUP_PARM_USER_TELESERVICE_INFO			0x34
123
#define ISUP_PARM_LOCATION_NUMBER			0x3f
145
#define ISUP_PARM_TRANSMISSION_MEDIUM_USED		0x35
124
#define ISUP_PARM_ORIG_LINE_INFO			0xea
146
#define ISUP_PARM_CALL_DIVERSION_INFO			0x36
125
#define ISUP_PARM_REDIRECTION_INFO			0x13
147
#define ISUP_PARM_ECHO_CONTROL_INFO				0x37
126
#define ISUP_PARM_ORIGINAL_CALLED_NUM			0x28
148
#define ISUP_PARM_MESSAGE_COMPAT_INFO			0x38
127
#define ISUP_PARM_JIP					0xc4

   
128
#define ISUP_PARM_ECHO_CONTROL_INFO			0x37

   
129
#define ISUP_PARM_PARAMETER_COMPAT_INFO			0x39
149
#define ISUP_PARM_PARAMETER_COMPAT_INFO			0x39
130
#define ISUP_PARM_CIRCUIT_STATE_IND			0x26
150
#define ISUP_PARM_MLPP_PRECEDENCE				0x3a
131
#define ISUP_PARM_TRANSIT_NETWORK_SELECTION		0x23
151
#define ISUP_PARM_MCID_REQUEST_IND				0x3b

    
   
152
#define ISUP_PARM_MCID_RESPONSE_IND				0x3c

    
   
153
#define ISUP_PARM_HOP_COUNTER					0x3d

    
   
154
#define ISUP_PARM_TRANSMISSION_MEDIUM_REQ_PRIME	0x3e

    
   
155
#define ISUP_PARM_LOCATION_NUMBER				0x3f

    
   
156

   

    
   
157
#define ISUP_PARM_REDIRECTION_NUM_RESTRICTION	0x40

    
   
158

   

    
   
159
#define ISUP_PARM_CALL_TRANSFER_REFERENCE		0x43

    
   
160
#define ISUP_PARM_LOOP_PREVENTION_IND			0x44

    
   
161
#define ISUP_PARM_CALL_TRANSFER_NUMBER			0x45

    
   
162

   

    
   
163
#define ISUP_PARM_CCSS							0x4b

    
   
164
#define ISUP_PARM_FORWARD_GVNS					0x4c

    
   
165
#define ISUP_PARM_BACKWARD_GVNS					0x4d

    
   
166
#define ISUP_PARM_REDIRECT_CAPABILITY			0x4e

    
   
167

   

    
   
168
#define ISUP_PARM_NETWORK_MANAGEMENT_CONTROL	0x5b

    
   
169

   

    
   
170
#define ISUP_PARM_CORRELATION_ID				0x65

    
   
171
#define ISUP_PARM_SCF_ID						0x66

    
   
172

   

    
   
173
#define ISUP_PARM_CALL_DIVERSION_TREATMENT_IND	0x6e

    
   
174
#define ISUP_PARM_CALLED_IN_NUMBER				0x6f

    
   
175
#define ISUP_PARM_CALL_OFFERING_TREATMENT_IND	0x70

    
   
176
#define ISUP_PARM_CHARGED_PARTY_IDENT			0x71

    
   
177
#define ISUP_PARM_CONFERENCE_TREATMENT_IND		0x72

    
   
178
#define ISUP_PARM_DISPLAY_INFO					0x73

    
   
179
#define ISUP_PARM_UID_ACTION_IND				0x74

    
   
180
#define ISUP_PARM_UID_CAPABILITY_IND			0x75

    
   
181

   

    
   
182
#define ISUP_PARM_REDIRECT_COUNTER				0x77

    
   
183
#define ISUP_PARM_APPLICATION_TRANSPORT			0x78

    
   
184
#define ISUP_PARM_COLLECT_CALL_REQUEST			0x79

    
   
185
#define ISUP_PARM_CCNR_POSSIBLE_IND				0x7a

    
   
186
#define ISUP_PARM_PIVOT_CAPABILITY				0x7b

    
   
187
#define ISUP_PARM_PIVOT_ROUTING_IND				0x7c

    
   
188
#define ISUP_PARM_CALLED_DIRECTORY_NUMBER		0x7d

    
   
189

   

    
   
190
#define ISUP_PARM_ORIGINAL_CALLED_IN_NUM		0x7f

    
   
191
/* 0x80 reserved for future extension */

    
   
192
#define ISUP_PARM_CALLING_GEODETIC_LOCATION		0x81

    
   
193
#define ISUP_PARM_HTR_INFO						0x82

    
   
194

   

    
   
195
#define ISUP_PARM_NETWORK_ROUTING_NUMBER		0x84

    
   
196
#define ISUP_PARM_QUERY_ON_RELEASE_CAPABILITY	0x85

    
   
197
#define ISUP_PARM_PIVOT_STATUS					0x86

    
   
198
#define ISUP_PARM_PIVOT_COUNTER					0x87

    
   
199
#define ISUP_PARM_PIVOT_ROUTING_FORWARD_IND		0x88

    
   
200
#define ISUP_PARM_PIVOT_ROUTING_BACKWARD_IND	0x89

    
   
201
#define ISUP_PARM_REDIRECT_STATUS				0x8a

    
   
202
#define ISUP_PARM_REDIRECT_FORWARD_INFO			0x8b

    
   
203
#define ISUP_PARM_REDIRECT_BACKWARD_INFO		0x8c

    
   
204
#define ISUP_PARM_NUM_PORTABILITY_FORWARD_INFO	0x8d

    
   
205

   

    
   
206
#define ISUP_PARM_GENERIC_ADDR					0xc0

    
   
207
#define ISUP_PARM_GENERIC_DIGITS				0xc1

    
   
208

   

    
   
209
#define ISUP_PARM_EGRESS_SERV					0xc3

    
   
210
#define ISUP_PARM_JIP							0xc4

    
   
211
#define ISUP_PARM_CARRIER_ID					0xc5

    
   
212
#define ISUP_PARM_BUSINESS_GRP					0xc6

    
   
213
#define ISUP_PARM_GENERIC_NAME					0xc7

    
   
214

   
132
#define ISUP_PARM_LOCAL_SERVICE_PROVIDER_IDENTIFICATION	0xe4
215
#define ISUP_PARM_LOCAL_SERVICE_PROVIDER_IDENTIFICATION	0xe4
133
#define ISUP_PARM_FACILITY_IND				0x18

   
134
#define ISUP_PARM_REDIRECTING_NUMBER			0x0b

   
135
#define ISUP_PARM_ACCESS_DELIVERY_INFO			0x2e

   
136
#define ISUP_PARM_REDIRECT_COUNTER			0x77

   
137
#define ISUP_PARM_SUSPEND_RESUME_IND			0x22

   
138
#define ISUP_PARM_INF_IND				0x0f

   
139
#define ISUP_PARM_INR_IND				0x0e

   
140
#define ISUP_PARM_SUBSEQUENT_NUMBER			0x05

   
141
#define ISUP_CONNECTED_NUMBER				0x21

   
142

    
   
216

   

    
   
217
#define ISUP_PARM_ORIG_LINE_INFO				0xea

    
   
218
#define ISUP_PARM_CHARGE_NUMBER					0xeb

    
   
219

   

    
   
220
#define ISUP_PARM_SELECTION_INFO				0xee

    
   
221

   

    
   
222

   
143
/* ISUP TIMERS  */
223
/* ISUP TIMERS  */
144
#define ISUP_TIMER_T1	1
224
#define ISUP_TIMER_T1	1
145
#define ISUP_TIMER_T2	2
225
#define ISUP_TIMER_T2	2
146
#define ISUP_TIMER_T5	5
226
#define ISUP_TIMER_T5	5
147
#define ISUP_TIMER_T6	6
227
#define ISUP_TIMER_T6	6
[+20] [20] 138 lines
/trunk/isup.c
Revision 322 New Change
 
/trunk/libss7.h
Revision 322 New Change
 
/trunk/mtp3.c
Revision 322 New Change
 
/trunk/ss7_internal.h
Revision 322 New Change
 
/trunk/ss7linktest.c
Revision 322 New Change
 
  1. /trunk/isup.h: Loading...
  2. /trunk/isup.c: Loading...
  3. /trunk/libss7.h: Loading...
  4. /trunk/mtp3.c: Loading...
  5. /trunk/ss7_internal.h: Loading...
  6. /trunk/ss7linktest.c: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.