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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
|
Network Working Group G. Camarillo
Request for Comments: 3578 Ericsson
Category: Standards Track A. B. Roach
dynamicsoft
J. Peterson
NeuStar
L. Ong
Ciena
August 2003
Mapping of Integrated Services Digital Network (ISDN)
User Part (ISUP) Overlap Signalling
to the Session Initiation Protocol (SIP)
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2003). All Rights Reserved.
Abstract
This document describes a way to map Integrated Services Digital
Network User Part (ISUP) overlap signalling to Session Initiation
Protocol (SIP). This mechanism might be implemented when using SIP
in an environment where part of the call involves interworking with
the Public Switched Telephone Network (PSTN).
Camarillo, et al. Standards Track [Page 1]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Conversion of ISUP Overlap Signalling into SIP en-bloc
Signalling . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1. Waiting for the Minimum Amount of Digits . . . . . . . . 4
2.2. The Minimum Amount of Digits has been Received . . . . . 4
3. Sending Overlap Signalling to a SIP Network. . . . . . . . . . 5
3.1. One vs. Several Transactions . . . . . . . . . . . . . . 5
3.2. Generating Multiple INVITEs. . . . . . . . . . . . . . . 6
3.3. Receiving Multiple Responses . . . . . . . . . . . . . . 8
3.4. Canceling Pending INVITE Transactions. . . . . . . . . . 9
3.5. SIP to ISUP. . . . . . . . . . . . . . . . . . . . . . . 9
4. Security Considerations. . . . . . . . . . . . . . . . . . . . 10
5. Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . 10
6. Normative References . . . . . . . . . . . . . . . . . . . . . 10
7. Intellectual Property Statement. . . . . . . . . . . . . . . . 11
8. Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . 12
9. Full Copyright Statement . . . . . . . . . . . . . . . . . . . 13
Camarillo, et al. Standards Track [Page 2]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
1. Introduction
A mapping between the Session Initiation Protocol (SIP) [1] and the
ISDN User Part (ISUP) [2] of SS7 is described in RFC 3398 [3].
However, RFC 3398 only takes into consideration ISUP en-bloc
signalling. En-bloc signalling consists of sending the complete
telephone number of the callee in the first signalling message.
Although modern switches always use en-bloc signalling, some parts of
the PSTN still use overlap signalling.
Overlap signalling consists of sending only some digits of the
callee's number in the first signalling message. Further digits are
sent in subsequent signalling messages. Although overlap signalling
in the PSTN is the source of much additional complexity, it is still
in use in some countries.
Like modern switches, SIP uses en-bloc signalling. The Request-URI
of an INVITE request always contains the whole address of the callee.
Native SIP end-points never generate overlap signalling.
Therefore, the preferred solution for a gateway handling PSTN overlap
signalling and SIP is to convert the PSTN overlap signalling into SIP
en-bloc signalling using number analysis and timers. The gateway
waits until all the signalling messages carrying parts of the
callee's number arrive, and only then, it generates a SIP INVITE
request. Section 2 describes how to convert ISUP overlap signalling
into en-bloc SIP this way.
However, although it is the preferred solution, conversion of overlap
to en-bloc signalling sometimes results in unacceptable (multiple
second) call setup delays to human users. In these situations, some
form of overlap signalling has to be used in the SIP network to
minimize the call setup delay. However, introducing overlap
signalling in SIP introduces complexity and brings some issues.
Section 3 analyzes the issues related to the use of overlap
signalling in a SIP network and describe ways to deal with them in
some particular network scenarios. Section 3 also describes in which
particular network scenarios those issues make the use of overlap
signalling in the SIP network unacceptable.
2. Conversion of ISUP Overlap Signalling into SIP en-bloc Signalling
In this scenario, the gateway receives an IAM (Initial Address
Message) that contains only a portion of the called number. The rest
of the digits dialed arrive later in one or more SAMs (Subsequent
Address Message).
Camarillo, et al. Standards Track [Page 3]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
2.1. Waiting for the Minimum Amount of Digits
If the IAM contains less than the minimum amount of digits to route a
call, the gateway starts T35 and waits until the minimum amount of
digits that can represent a telephone number is received (or a stop
digit is received). If T35 expires before the minimum amount of
digits (or a stop digit) has been received, a REL with cause value 28
is sent to the ISUP side. T35 is defined in Q.764 [4] as 15-20
seconds.
If a stop digit is received, the gateway can already generate an
INVITE request with the complete called number. Therefore, the call
proceeds as usual.
2.2. The Minimum Amount of Digits has been Received
Once the minimum amount of digits that can represent a telephone
number has been received, the gateway should use number analysis to
decide if the number that has been received so far is a complete
number. If it is, the gateway can generate an INVITE request with
the complete called number. Therefore, the call proceeds as usual.
However, there are cases when the gateway cannot know whether the
number received is a complete number or not. In this case, the
gateway should collect digits until a timer (T10) expires or a stop
digit (such as, #) is entered by the user (note that T10 is refreshed
every time a new digit is received).
When T10 expires, an INVITE with the digits collected so far is sent
to the SIP side. After this, any SAM received is ignored.
PSTN MGC/MG SIP
| | |
|-----------IAM----------->| Starts T10 |
| | |
|-----------SAM----------->| Starts T10 |
| | |
|-----------SAM----------->| Starts T10 |
| | |
| | |
| T10 expires |---------INVITE---------->|
| | |
Figure 1: Use of T10 to convert overlap signalling to en-bloc
Camarillo, et al. Standards Track [Page 4]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
Note that T10 is defined for conversion between overlap signalling
(e.g., CAS) and en-bloc ISUP. PSTN switches usually implement a
locally defined value of timer T10 -- which may not be within the 4-6
second range recommended by Q.764 [4] -- to convert overlap ISUP to
en-bloc ISUP. This document uses T10 and recommends the range of
values defined in Q.764 [4], which seems suitable for conversion from
overlap to en-bloc SIP operation. The actual choice of the timer
value is a matter of local policy.
3. Sending Overlap Signalling to a SIP Network
This section analyzes the issues related to the use of overlap
signalling in a SIP network and describes a possible solution and its
applicability scope. It is important to note that, if used outside
its applicability scope, this solution could cause a set of problems,
which are identified in this section.
3.1. One vs. Several Transactions
An ingress gateway receiving ISUP overlap signalling (i.e., one IAM
and one or more SAMs) needs to map it into SIP signalling. One
possible approach would consists of sending an INVITE with the digits
received in the IAM, and once an early dialog is established, sending
the digits received in SAMs in a SIP request (e.g., INFO) within that
early dialog.
This approach has several problems. It requires that the remote SIP
user agent (which might be a gateway) sends a non-100 provisional
response as soon as it receives the initial INVITE to establish the
early dialog. Current gateways, following the procedures in RFC 3398
[3], do not generate such a provisional response. Having gateways
generate such a response (e.g., 183 Session Progress) would cause
ingress gateways to generate early ACMs, confusing the PSTN state
machine even in calls that do not use overlap signalling.
In this approach, once the initial INVITE request is routed, all the
subsequent requests sent within the early dialog follow the same
path. That is, they cannot be re-routed to take advantage of SIP-
based services. Therefore, we do not recommend using this approach.
An alternative approach consists of sending a new INVITE that
contains all the digits received so far every time a new SAM is
received. Since every new INVITE sent represents a new transaction,
they can be routed in different ways. This way, every new INVITE can
take advantage of any SIP service that the network may provide.
Camarillo, et al. Standards Track [Page 5]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
However, having subsequent INVITEs routed in different ways brings
some problems as well. The first INVITE, for instance, might be
routed to a particular gateway, and a subsequent INVITE, to another.
The result is that both gateways generate an IAM. Since one of the
IAMs (or both) has an incomplete number, it would fail, having
already consumed PSTN resources. It could even happen that both IAMs
contained complete, but different numbers (i.e., one number is the
prefix of the other one).
Routing in SIP can be controlled by the administrator of the network.
Therefore, a gateway can be configured to generate SIP overlap
signalling in the way described below only if the SIP routing
infrastructure ensures that INVITEs will only reach one gateway.
When the routing infrastructure is not under the control of the
administrator of the gateway, the procedures of Section 2 have to be
used instead.
Within some dialing plans in the PSTN, a phone number might be a
prefix of another one. This situation is not common, but it can
occur. Where en-bloc signalling is used, this ambiguity is resolved
before the digits are placed in the en-bloc signalling. If overlap
signaling was used in this situation, a different user than the one
the caller intended to call might be contacted. That is why in the
parts of the PSTN where overlap is used, a prefix of a telephone
number never identifies another valid number. Therefore, SIP overlap
signalling should not be used when attempting to reach parts of the
PSTN where it is possible for a number and some shorter prefix of the
same number to both be valid addresses of different terminals.
3.2. Generating Multiple INVITEs
In this scenario, the gateway receives an IAM (Initial Address
Message) and possibly one or more SAMs (Subsequent Address Message)
that provide more than the minimum amount of digits that can
represent a phone number.
As soon as the minimum amount of digits is received, the gateway
sends an INVITE and starts T10. This INVITE is built following the
procedures described in RFC 3398 [3].
If a SAM arrives to the gateway, T10 is refreshed and a new INVITE
with the new digits received is sent. The new INVITE has the same
Call-ID and the same From header field including the tag as the first
INVITE sent, but has an updated Request-URI. The new Request-URI
contains all the digits received so far. The To header field of the
new INVITE contains all the digits as well, but has no tag.
Camarillo, et al. Standards Track [Page 6]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
Note that it is possible to receive a response to the first INVITE
before having sent the second INVITE. In this case, the response
received would contain a To tag and information (Record-Route and
Contact) to build a Route header field. The new INVITE to be sent
(containing new digits) should not use any of these headers. That
is, the new INVITE does not contain neither To tag nor Route
header field. This way, this new INVITE can be routed dynamically
by the network providing services.
The new INVITE should, of course, contain a Cseq field. It is
recommended that the Cseq of the new INVITE is higher than any of the
previous Cseq that the gateway has generated for this Call-ID (no
matter for which dialog the Cseq was generated).
When an INVITE forks, responses from different locations might
arrive establishing one or more early dialogs. New requests such
as, PRACK or UPDATE can be sent within every particular early
dialog. This implies that the Cseq number spaces of different
early dialogs are different. Sending a new INVITE with a Cseq
that is still unused by any of the remote destinations avoids
confusion at the destination.
If the gateway is encapsulating ISUP messages as SIP bodies, it
should place the IAM and all the SAMs received so far in this INVITE.
PSTN MGC/MG SIP
| | |
|-----------IAM----------->| Starts T10 |
| |---------INVITE---------->|
| | |
|-----------SAM----------->| Starts T10 |
| |---------INVITE---------->|
| | |
|-----------SAM----------->| Starts T10 |
| |---------INVITE---------->|
| | |
Figure 2: Overlap signalling in SIP
Camarillo, et al. Standards Track [Page 7]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
If 4xx, 5xx or 6xx final responses arrive (e.g., 484 address
incomplete) for the pending INVITE transactions before T10 has
expired, the gateway should not send any REL. A REL is sent only if
no more SAMs arrive, T10 expires, and all the INVITEs sent have been
answered with a final response (different than 200 OK).
PSTN MGC/MG SIP
| | |
|-----------IAM----------->| Starts T10 |
| |---------INVITE---------->|
| |<---------484-------------|
| |----------ACK------------>|
| | |
| | |
| T10 expires | |
|<----------REL------------| |
Figure 3: REL generation when overlap signalling is used
The best status code among all the responses received for all the
INVITEs that were generated is used to calculate the cause value of
the REL as described in RFC 3398 [3].
The computation of the best response is done in the same way as
forking proxies compute the best response to be returned to the
client for a particular INVITE. Note that the best response is
not always the response to the INVITE that contained more digits.
If the user dials a particular number and then types an extra
digit by mistake, a 486 (Busy Here) could be received for the
first INVITE and a 484 (Address Incomplete) for the second one
(which contained more digits).
3.3. Receiving Multiple Responses
When overlap signalling in SIP is used, the ingress gateway sends
multiple INVITEs. Accordingly, it will receive multiple responses.
The responses to all the INVITEs sent, except for one (normally, but
not necessarily the last one), are typically 400 class responses
(e.g., 484 Address Incomplete) that terminate the INVITE transaction.
However, a 183 Session Progress response with a media description can
also be received. The media stream will typically contain a message
such as, "The number you have just dialed does not exist".
Camarillo, et al. Standards Track [Page 8]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
The issue of receiving different 183 Session Progress responses with
media descriptions does not only apply to overlap signalling. When
vanilla SIP is used, several responses can also arrive to a gateway
if the INVITE forked. It is then up to the gateway to decide which
media stream should be played to the user.
However, overlap signalling adds a requirement to this process. As a
general rule, a media stream corresponding to the response to an
INVITE with a greater number of digits should be given more priority
than media streams from responses with less digits.
3.4. Canceling Pending INVITE Transactions
When a gateway sends a new INVITE containing new digits, it should
not CANCEL the previous INVITE transaction. This CANCEL could arrive
before the new INVITE to an egress gateway and trigger a REL before
the new INVITE arrived. INVITE transactions are typically terminated
by the reception of 4xx responses.
However, once a 200 OK response has been received, the gateway should
CANCEL all the other INVITE transactions were generated. A
particular gateway might implement a timer to wait for some time
before sending any CANCEL. This gives time to all the previous
INVITE transactions to terminate smoothly without generating more
signalling traffic (CANCEL messages).
3.5. SIP to ISUP
In this scenario (the call originates in the SIP network), the
gateway receives multiple INVITEs that have the same Call-ID but have
different Request-URIs. Upon reception of the first INVITE, the
gateway generates an IAM following the procedures described in RFC
3398 [3].
When a gateway receives a subsequent INVITE with the same Call-ID and
From tag as the previous one, and an updated Request-URI, a SAM
should be generated as opposed to a new IAM. Upon reception of a
subsequent INVITE, the INVITE received previously is answered with
484 Address Incomplete.
If the gateway is attached to the PSTN in an area where en-bloc
signalling is used, a REL for the previous IAM and a new IAM should
be generated.
Camarillo, et al. Standards Track [Page 9]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
4. Security Considerations
When overlap signaling is employed, it is possible that an attacker
could send multiple INVITEs containing an incomplete address to the
same gateway in an attempt to occupy all available ports and thereby
deny service to legitimate callers. Since none of these partially
addressed calls would ever complete, in a traditional billing scheme,
the sender of the INVITEs might never be charged. To address this
threat, the authors recommend that gateway operators authenticate the
senders of INVITE requests, first, in order to have some
accountability for the source of calls (it is very imprudent to give
gateway access to unknown users on the Internet), but second, so that
the gateway can determine when multiple calls are originating from
the same source in a short period of time. Some sort of threshold of
hanging overlap calls should be tracked by the gateway, and after the
limit is exceeded, the further similar calls should be rejected to
prevent the saturation of gateway trunking resources.
5. Acknowledgments
Jonathan Rosenberg, Olli Hynonen, and Mike Pierce provided useful
feedback on this document.
6. Normative References
[1] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A.,
Peterson, J., Sparks, R., Handley, M. and E. Schooler, "SIP:
Session Initiation Protocol", RFC 3261, June 2002.
[2] "Application of the ISDN user part of CCITT signaling system no.
7 for international ISDN interconnections", ITU-T Q.767,
February 1991.
[3] Camarillo, G., Roach, A. B., Peterson, J. and L. Ong,
"Integrated Services Digital Network (ISDN) User Part (ISUP) to
Session Initiation Protocol (SIP) Mapping", RFC 3398, December
2002.
[4] "Signalling system no. 7 - ISDN user part signalling
procedures," ITU-T Q.764, December 1999.
Camarillo, et al. Standards Track [Page 10]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
7. Intellectual Property Statement
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in BCP-11. Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
Camarillo, et al. Standards Track [Page 11]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
8. Authors' Addresses
Gonzalo Camarillo
Ericsson
Advanced Signalling Research Lab.
FIN-02420 Jorvas
Finland
EMail: Gonzalo.Camarillo@ericsson.com
Adam Roach
dynamicsoft
5100 Tennyson Parkway
Suite 1200
Plano, TX 75024
USA
EMail: adam@dynamicsoft.com
Jon Peterson
NeuStar, Inc.
1800 Sutter St
Suite 570
Concord, CA 94520
USA
EMail: jon.peterson@neustar.biz
Lyndon Ong
Ciena
5965 Silver Creek Valley Road
San Jose, CA 95138
USA
EMail: lyong@ciena.com
Camarillo, et al. Standards Track [Page 12]
^L
RFC 3578 ISUP Overlap Signalling to SIP August 2003
9. Full Copyright Statement
Copyright (C) The Internet Society (2003). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assignees.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Camarillo, et al. Standards Track [Page 13]
^L
|