ISUP — SIP: соответствие причин отбоя (CV)
Материал из M-200 WIKI
Перейти к: навигация,
поиск
Содержание
- 1 RFC 3398, ISUP to SIP Mapping, December 2002
- 1.1 Прямое направление
- 1.1.1 Normal event
- 1.1.2 Resource unavailable
- 1.1.3 Service or option not available
- 1.1.4 Service or option not available
- 1.1.5 Invalid message
- 1.1.6 Protocol error
- 1.1.7 Interworking
- 1.2 Обратное направление
- 1.1 Прямое направление
RFC 3398, ISUP to SIP Mapping, December 2002
Прямое направление
If a cause value other than those listed below is received, the default response '500 Server internal error' SHOULD be used.
Normal event
ISUP Cause value SIP response ---------------- ------------ 1 unallocated number 404 Not Found 2 no route to network 404 Not found 3 no route to destination 404 Not found 16 normal call clearing --- (*) 17 user busy 486 Busy here 18 no user responding 408 Request Timeout 19 no answer from the user 480 Temporarily unavailable 20 subscriber absent 480 Temporarily unavailable 21 call rejected 403 Forbidden (+) 22 number changed (w/o diagnostic) 410 Gone 22 number changed (w/ diagnostic) 301 Moved Permanently 23 redirection to new destination 410 Gone 26 non-selected user clearing 404 Not Found (=) 27 destination out of order 502 Bad Gateway 28 address incomplete 484 Address incomplete 29 facility rejected 501 Not implemented 31 normal unspecified 480 Temporarily unavailable (*) ISDN Cause 16 will usually result in a BYE or CANCEL (+) If the cause location is 'user' than the 6xx code could be given rather than the 4xx code (i.e., 403 becomes 603) (=) ANSI procedure - in ANSI networks, 26 is overloaded to signify 'misrouted ported number'. Presumably, a number portability dip should have been performed by a prior network. Otherwise cause 26 is usually not used in ISUP procedures. A REL with ISDN cause 22 (number changed) might contain information about a new number where the callee might be reachable in the diagnostic field. If the MGC is able to process this information it SHOULD be added to the SIP response (301) in a Contact header.
Resource unavailable
This kind of cause value indicates a temporary failure. A 'Retry- After' header MAY be added to the response if appropriate. ISUP Cause value SIP response ---------------- ------------ 34 no circuit available 503 Service unavailable 38 network out of order 503 Service unavailable 41 temporary failure 503 Service unavailable 42 switching equipment congestion 503 Service unavailable 47 resource unavailable 503 Service unavailable
Service or option not available
This kind of cause value indicates that there is a problem with the request, rather than something that will resolve itself over time. ISUP Cause value SIP response ---------------- ------------ 55 incoming calls barred within CUG 403 Forbidden 57 bearer capability not authorized 403 Forbidden 58 bearer capability not presently 503 Service unavailable available
Service or option not available
ISUP Cause value SIP response ---------------- ------------ 65 bearer capability not implemented 488 Not Acceptable Here 70 only restricted digital avail 488 Not Acceptable Here 79 service or option not implemented 501 Not implemented
Invalid message
ISUP Cause value SIP response ---------------- ------------ 87 user not member of CUG 403 Forbidden 88 incompatible destination 503 Service unavailable
Protocol error
ISUP Cause value SIP response ---------------- ------------ 102 recovery of timer expiry 504 Gateway timeout 111 protocol error 500 Server internal error
Interworking
ISUP Cause value SIP response ---------------- ------------ 127 interworking unspecified 500 Server internal error
Обратное направление
Just as there are certain ISDN cause codes that are ISUP-specific and have no corollary SIP action, so there are SIP status codes that should not simply be translated to ISUP - some SIP-specific action should be attempted first. See the note on the (+) tag below. Response received Cause value in the REL ----------------- ---------------------- 400 Bad Request 41 Temporary Failure 401 Unauthorized 21 Call rejected (*) 402 Payment required 21 Call rejected 403 Forbidden 21 Call rejected 404 Not found 1 Unallocated number 405 Method not allowed 63 Service or option unavailable 406 Not acceptable 79 Service/option not implemented (+) 407 Proxy authentication required 21 Call rejected (*) 408 Request timeout 102 Recovery on timer expiry 410 Gone 22 Number changed (w/o diagnostic) 413 Request Entity too long 127 Interworking (+) 414 Request-URI too long 127 Interworking (+) 415 Unsupported media type 79 Service/option not implemented (+) 416 Unsupported URI Scheme 127 Interworking (+) 420 Bad extension 127 Interworking (+) 421 Extension Required 127 Interworking (+) 423 Interval Too Brief 127 Interworking (+) 480 Temporarily unavailable 18 No user responding 481 Call/Transaction Does not Exist 41 Temporary Failure 482 Loop Detected 25 Exchange - routing error 483 Too many hops 25 Exchange - routing error 484 Address incomplete 28 Invalid Number Format (+) 485 Ambiguous 1 Unallocated number 486 Busy here 17 User busy 487 Request Terminated --- (no mapping) 488 Not Acceptable here --- by Warning header 500 Server internal error 41 Temporary failure 501 Not implemented 79 Not implemented, unspecified 502 Bad gateway 38 Network out of order 503 Service unavailable 41 Temporary failure 504 Server time-out 102 Recovery on timer expiry 504 Version Not Supported 127 Interworking (+) 513 Message Too Large 127 Interworking (+) 600 Busy everywhere 17 User busy 603 Decline 21 Call rejected 604 Does not exist anywhere 1 Unallocated number 606 Not acceptable --- by Warning header
ISUP Cause Value |
SIP Response |
---|---|
Normal event |
|
1 – unallocated number |
404 Not Found |
2 – no route to network |
404 Not Found |
3 – no route to destination |
404 Not Found |
16 – normal call clearing |
— (*) |
17 – user busy |
486 Busy here |
18 – no user responding |
408 Request Timeout |
19 – no answer from the user |
480 Temporarily unavailable |
20 – subscriber absent |
480 Temporarily unavailable |
21 – call rejected |
403 Forbidden (+) |
22 – number changed (s/o diagnostic) |
410 Gone |
23 – redirection to new destination |
410 Gone |
26 – non-selected user clearing |
404 Not Found (=) |
27 – destination out of order |
502 Bad Gateway |
28 – address incomplete |
484 Address incomplete |
29 – facility rejected |
510 Not implemented |
31 – normal unspecified |
480 Temporarily unavailable Resource unavailable |
34 – no circuit available |
503 Service unavailable |
38 – network out of order |
503 Service unavailable |
41 – temporary failure |
503 Service unavailable |
42 – switching equipment congestion |
503 Service unavailable |
47 – resource unavailable |
503 Service unavailable Service or option not available |
55 – incoming calls barred within CUG |
403 Forbidden |
57 – bearer capability not authorized |
403 Forbidden |
58 – bearer capability not presently available |
503 Service unavailable |
65 – bearer capability not implemented |
488 Not Acceptable here |
70 – Only restricted digital information bearer capability is available (National use) |
488 Not Acceptable here |
79 – service or option not implemented |
501 Not implemented |
Invalid message |
|
87 – user not member of CUG |
403 Forbidden |
88 – incompatible destination |
503 Service unavailable |
102 – Call Setup Time-out Failure |
504 Gateway timeout |
111 – Protocol Error Unspecified |
500 Server internal error Interworking |
127 – Internal Error — interworking unspecified |
500 Server internal error |
(*) ISDN Cause 16 will usually result in a BYE or CANCEL
(+) If the cause location is user then the 6xx code could be given rather than the 4xx code. the cause value received in the H.225.0 message is unknown in ISUP, the unspecified cause value of the class is sent.
(=) ANSI procedure
SIP Status Code to ISDN Cause Code Mapping
Response received Cause value in the REL.
SIP Status Code |
ISDN Map |
---|---|
400 |
Bad Request 41 – Temporary failure |
401 |
Unauthorized 21 – Call rejected (*) |
402 |
Payment required 21 – Call rejected |
403 |
Forbidden 21 – Call rejected |
404 |
Not Found 1 – Unallocated number |
405 |
Method not allowed 63 – Service or option unavailable |
406 |
Not acceptable 79 – Service/option not implemented (+) |
407 |
Proxy authentication required 21 – Call rejected (*) |
408 |
Request timeout 102 – Recovery on timer expiry |
410 |
Gone 22 – Number changed (w/o diagnostic) |
413 |
Request Entity too long 127 – Interworking (+) |
414 |
Request –URI too long 127 – Interworking (+) |
415 |
Unsupported media type 79 – Service/option not implemented (+) |
416 |
Unsupported URI Scheme 127 – Interworking (+) |
402 |
Bad extension 127 – Interworking (+) |
421 |
Extension Required 127 – Interworking (+) |
423 |
Interval Too Brief 127 – Interworking (+) |
480 |
Temporarily unavailable 18 – No user responding |
481 |
Call/Transaction Does not Exist 41 – Temporary Failure |
482 |
Loop Detected 25 – Exchange – routing error |
483 |
Too many hops 25 – Exchange – routing error |
484 |
Address incomplete 28 – Invalid Number Format (+) |
485 |
Ambiguous 1 – Unallocated number |
486 |
Busy here 17 – User Busy |
487 |
Request Terminated — (no mapping) |
488 |
Not Acceptable here — by warning header |
500 |
Server internal error 41 – Temporary Failure |
501 |
Not implemented 79 – Not implemented, unspecified |
502 |
Bad gateway 38 – Network out of order |
503 |
Service unavailable 41 – Temporary Failure |
504 |
Service time-out 102 – Recovery on timer expiry |
505 |
Version Not supported 127 – Interworking (+) |
513 |
Message Too Large 127 – Interworking (+) |
600 |
Busy everywhere 17 – User busy |
603 |
Decline 21 – Call rejected |
604 |
Does not exist anywhere 1 – Unallocated number |
606 |
Not acceptable — by warning header |
H.225 Release Reason to Q.931 Cause Code Mapping
The following table shows the mapping of H.225 Release reason to Q.931 Cause Codes in the IMG 2020. If the cause value received in the H.225.0 message is unknown in ISUP, the unspecified cause value of the class is sent.
H.323 |
SS7 |
---|---|
noBandwidth |
34 – no circuit/channel available |
gatekeeperResources |
47 – Resource unavailable, unspecified |
unreachableDestination |
3 – No route to destination |
destinationRejection |
16 – Normal call clearing |
invalidRevision |
88 – Incompatible destination |
noPermission |
127 – Interworking, unspecified |
unreachableGatekeeper |
38 – Network out of order |
gatewayResources |
42 – Switching equipment congestion |
badFormatAddress |
28 – Invalid number format |
adaptiveBusy |
41 – Temporary failure |
inConf |
17 – User busy |
undefinedReason |
31 – Normal, unspecified |
facilityCallDetection |
16 – Normal call clearing |
securityDenied |
31 – Normal, unspecified |
calledPartyNotRegistered |
20 – Subscriber absent |
callerNotRegistered |
31 – Normal, unspecified |
newConnectionNeeded |
47 – Resource unavailable, unspecified |
nonStandardReason |
127 – Interworking, unspecified |
replaceWithConferenceInvite |
31 – Normal, unspecified |
genericDataReason |
31 – Normal, unspecified |
neededFeatureNotSupported |
31 – Normal, unspecified |
tunnelledSignallingRejected |
127 – Interworking, unspecified |
invalidCID |
3 – No route to destination |
Q.850 cause – рекомендация ITU-T, также описывающая коды ответов узлов телефонной сети стандарта ОКС-7 (ISUP).
Один из узлов, принимающий участие в обработке вызова (оконечное устройство или транзитный коммутатор), завершая соединение (в конце разговора или на этапе попыток установить соединение, найти подходящий маршрут для отправки вызова) указывает причину такой операции в соответствующем поле сообщения, передаваемого другим узлам. Причины завершения рекомендации Q.850 практически полностью соответствуют Q.931 для ISDN.
Обычно на коммутаторе можно настроить, какой звук будет проигрываться абоненту для каждого кода завершения (абонент недоступен, абонент занят, сеть перегружена и т.п.).
Таблица соответствия Q.850 cause codes
Q.850 код | Q.850 описание | SIP код | SIP описание | Комментарий |
---|---|---|---|---|
1 | Unallocated number | 404 | Not found | N/A |
2 | No route to specified transit network | 404 | Not found | N/A |
3 | No route destination | 404 | Not found | N/A |
16 | Normal calling clearing | N/A | BYE message | A call clearing BYE message containing cause value 16 normally results in the sending of a SIP BYE or CANCEL request. However, if a SIP response is to be sent to the INVITE request, the default response code should be used. |
17 | User busy | 486 | Busy here | N/A |
18 | No user responding | 408 | Request timeout | N/A |
19 | No answer from the user | 480 | Temporarily unavailable | N/A |
20 | Subscriber absent | 480 | Temporarily unavailable | N/A |
21 | Call rejected | 603 | Decline (if location filed in Cause information element indicates user; otherwise 403 Forbidden is used) |
N/A |
22 | Number changed | 301 | Moved permanently (if information in diagnostic field of Cause information element is suitable for generating SIP Contact header; otherwise 410 Gone is used) |
N/A |
23 | Redirection to new destination | 410 | Gone | N/A |
25 | Exchange routing error | 483 | Too many hops | N/A |
27 | Destination out of order | 502 | Bad gateway | N/A |
28 | Address incomplete | 484 | Address incomplete | N/A |
29 | Facility rejected | 501 | Not implemented | N/A |
31 | Normal, unspecified | 480 | Temporarily unavailable | N/A |
34 | No circuit, channel unavailable | 503 | Service unavailable | N/A |
38 | Network out of order | 503 | Service unavailable | N/A |
41 | Temporary failure | 503 | Service unavailable | N/A |
42 | Switching equipment congestion | 503 | Service unavailable | N/A |
47 | Resource unavailable unspecified | 503 | Service unavailable | N/A |
55 | Incoming calls barred with CUG | 403 | Forbidden | N/A |
57 | Bearer capability not authorized | 403 | Forbidden | N/A |
58 | Bearer capability not presently available | 503 | Service unavailable | N/A |
65 | Bearer capability not implemented | 488 | Not acceptable here | N/A |
69 | Requested facility not implemented | 501 | Not implemented | N/A |
70 | Only restricted digital information available | 488 | Not acceptable here | N/A |
79 | Service or option not implemented, unspecified | 501 | Not implemented | N/A |
87 | User not member of CUG | 403 | Forbidden | N/A |
88 | Incompatible destination | 503 | Service unavailable | N/A |
102 | Recovery on timer expiry | 504 | Server time-out | N/A |
Дополнительная информация:
- Причины разъединения в Asterisk
- SIP ответы и их значения
Любое использование материалов сайта возможно только с разрешения автора и с обязательным указанием источника.
ISUP release cause list
REL Cause Value |
Meaning |
NORMAL EVENT CLASS |
|
1 |
Unallocated number |
2 |
No route to specified transit network |
3 |
No route to destination |
4 |
Send special information tone |
5 |
Misdialled trunk prefix |
6 |
Channel unacceptable |
7 |
Call awarded and being delivered in an established channel |
16 |
Normal call clearing |
17 |
User busy |
18 |
No user responding |
19 |
No answer from user (user alerted) |
20 |
Subscriber absent |
21 |
Call rejected |
22 |
Number changed |
26 |
Non selected user clearing |
27 |
Destination out of order |
28 |
Invalid format (address incomplete) |
29 |
Facility rejected |
30 |
Response to status enquiry |
31 |
Normal, unspecified |
RESOURCE UNAVAILABLE CLASS |
|
34 |
No circuit/channel available |
38 |
Network out of order |
41 |
Temporary failure |
42 |
Switching equipment congestion |
43 |
Access information discarded |
44 |
Request circuit/channel not available |
47 |
Resource unavailable, unspecified |
SERVICE/OPTION NOT AVAILABLE CLASS |
|
49 |
Quality of service unavailable |
50 |
Requested facility not subscribed |
55 |
Incoming calls barred within CUG |
57 |
Bearer capability not authorized |
58 |
Bearer capability not presently available |
63 |
Service or option not available, unspecified |
SERVICE/OPTION NOT IMPLEMENTED CLASS |
|
65 |
Bearer capability not implemented |
69 |
Requested facility not implemented |
70 |
Only restricted digital information bearer capability is available |
79 |
Service or option not implemented, unspecified |
INVALID MESSAGE CLASS |
|
81 |
Invalid call reference value |
82 |
Identified channel does not exist |
83 |
A suspend call existing but this call identity does not |
84 |
Call identity in use |
85 |
No call suspended |
86 |
Call having the requested call identity has been cleared |
87 |
User not member of CUG |
88 |
Incompatible destination |
91 |
Invalid transit network selection |
95 |
Invalid message, unspecified |
PROTOCOL ERROR CLASS |
|
96 |
Mandatory information element is missing |
97 |
Message type non-existing or not implemented |
98 |
Message not compatible with call state or message type non-existing or not implemented |
99 |
Information element non-existing or not implemented |
100 |
Invalid information element contents |
101 |
Message not compatible call state |
102 |
Recovery on timer expiry |
103 |
Parameter non-existent or not implemented |
109 |
Unrecognized message has been passed on |
110 |
Message with unrecognized parameter discarded |
111 |
Protocol error, unspecified |
INTERWORK CLASS |
|
127 |
Interworking, unspecified |
Для ISUP специфицировано около 40 типов сообщений и около 80 параметров. Вот некоторые примеры типов сообщений:
- начальное адресное сообщение (IAM),
- запрос информации (INR),
- информация (INF),
- сообщение о приеме всего адреса (АСМ),
- сообщение ответа (ANM),
- запрос модификации соединения (CMR),
- подтверждение выполнения модификации соединения (CMC),
- отказ модифицировать соединение (CMRJ),
- запрос разъединения (REL),
- подтверждение разъединения (RLC).
Перечень параметров сообщений ISUP приведен в таблицах П. 2.1 и П. 2.2.
Таблица П. 2.1
Параметры сигнальных сообщений ISUP
Имя параметра |
Код |
Числобайт |
Транспорт доступа (Access transport) |
00000011 |
N×3 |
Уровень автоматической перегрузки (Automatic congestion level) |
00100111 |
1 |
Индикаторы, передаваемые в обратном направлении (Backward call indicators) |
00010001 |
2 |
Информация отклонения вызова (Call diversion information) |
00110110 |
1 |
Номер вызываемого пользователя (Called party number) |
00000100 |
4–11 |
Номер вызывающего пользователя (Calling party number) |
00001010 |
4–12 |
Категория вызывающего пользователя (Calling party’s category) |
00001001 |
1 |
Индикатор причины (Cause indicators) |
00010010 |
2 |
Номер интервала оплаты (Charge band number) |
11111111 |
1 |
Индикатор типа сообщения наблюдения за группой каналов (Circuit group supervision message type indicator) |
00010101 |
1 |
Код ключа замкнутой группы пользователей (Closed user interlock code) |
00011010 |
4 |
Подключённый номер (Connected number) |
00100001 |
4–12 |
Индикаторы шлейфной проверки (Continuity indicators) |
00010000 |
1 |
Конец необязательных параметров (End of optional parameters) |
00000000 |
1 |
Информация о событии (Event information) |
00100100 |
1 |
Индикаторы вызова прямого направления (Forward call indicators) |
00000111 |
2 |
Индикатор общего уведомления (Generic notification indicator) |
00101100 |
3 |
Общий номер (Generic number) |
11000000 |
4–13 |
Индикаторы информации (Information indicators) |
00001111 |
2 |
Индикаторы запроса информации (Information request indicators) |
00001110 |
2 |
Номер размещения (Location number) |
00111111 |
4–12 |
Индикаторы типа соединения (Nature of connection indicators) |
00000110 |
1 |
Необязательные индикаторы обратного направления (Optional backward call indicators) |
00101001 |
1 |
Необязательные индикаторы прямого направления (Optional forward call indicators) |
00001000 |
1 |
Исходный вызываемый номер (Original called number) |
00101000 |
4–12 |
Диапазон и состояние (Range and status) |
00010110 |
3–34 |
Переадресующий номер (Redirecting number) |
00001011 |
4–12 |
Информация переадресации (Redirecting information) |
00010011 |
2 |
Переадресуемый номер (Redirecting number) |
00001100 |
4–12 |
Ограничение переадресации номера (Redirection number restriction) |
01000000 |
1 |
Последующий номер (Subsequent number) | 00000101 |
3–10 |
Индикаторы приостановки/возобновления (Suspend/resume indicators) |
00100010 |
1 |
Требования к среде передачи (Transmission medium requirement) |
00000010 |
1 |
Информация об услуге пользователя (User service information) |
00011101 |
29 |
Индикаторы от пользователя к пользователю (Usertouser indicators) |
00101010 |
1 |
Информация от пользователя к пользователю (Usertouser information) |
00100000 |
3131 |
Таблица П. 2.2.
Свойства основных параметров сообщений ISUP
Сообщения Параметры |
IAM |
SAM |
COT |
ACM |
CON |
CPG |
ANM |
FOT |
REL |
RLC |
CCR |
UBL |
UBA |
RES |
CGU |
CGUA |
GRA |
Тип сообщения |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
О |
Транспорт доступа |
Н |
Н |
Н |
Н |
Н |
||||||||||||
Автоматический уровень перегрузки |
Н |
||||||||||||||||
Индикаторы обратного направления |
О |
О |
Н |
Н |
|||||||||||||
Номер вызываемого абонента |
О |
||||||||||||||||
Номер вызывающего абонента |
Н |
||||||||||||||||
Категория вызывающего абонента |
О |
||||||||||||||||
Индикаторы причины |
Н |
О |
|||||||||||||||
Подключенный номер |
Н |
Н |
|||||||||||||||
Индикатор шлейфной проверки |
О |
||||||||||||||||
Индикаторы события |
О |
||||||||||||||||
Индикаторы вызова прямого направления |
О |
||||||||||||||||
Необязательные индикаторы обратного направления |
Н |
Н |
О |
||||||||||||||
Необязательные индикаторы прямого направления |
Н |
||||||||||||||||
Последующий номер |
О |
||||||||||||||||
Индикаторы приостановки/возобновления |
О |
||||||||||||||||
Требования к среде передачи |
О |
||||||||||||||||
Информация об услуге пользователя |
Н |
||||||||||||||||
Индикаторы от пользователя к пользователю |
Н |
Н |
|||||||||||||||
Информация от пользователя к пользователю |
Н |
Н |
Н |
Н |
Н |
Н |
|||||||||||
Примечание. О – обязательный параметр; Н – необязательный параметр |