В проблеме со шлюзом приходится заниматься чем-то вроде хакерства, так как никакая техническая документация не доступна. Нашел режим позволяющий напрямую через СОМ-порт общаться с модулем GSM Siemens.
С командной строки ATD84957238121; вызов проходит нормально. При работе через шлюз со станцией таже команда в трассировке выглядит ATD84957238121#10;. Естественно станции Оператора не нравится "Хвост" #10;и она выдает сообщение "Номер отсутствует, проверьте правильность набора". Опытным путем выяснил, что 10-ка это остаток MSN номера 110. Если назначить MSN = 119, то в трассировке появляется хвост #19. В трассировке со станции средствами ОМС эти номера полностью отсутствуют.
Ниже два варианта трассировки с DDI и без.
ISDN3_00006 21/06 20:47:43 TX d_channel: 41 (S:00 T:000) payload: (23) 08 01 58 05 04 03 90 90 A3 18 01 83 1E 02 85 83 6C 05 21 80 31 31 39
0x05 SETUP Ref: O,88
ie 0x04 Bearer capability: 90 90 A3
Coding: CCITT standardized
Information transfer capability: 3.1 kHz audio
Transfer mode: Circuit mode
Transfer rate: 64 Kbit/s
User info layer 1: G.711 A-law
ie 0x18 Channel identification: 83
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Preferred
D-channel identified: No
Information channel selection: any channel
ie 0x1E Progress indicator: 85 83
Coding: CCITT standardized
Location: Private network serving the remote user
Progress: Origination address is non-ISDN
ie 0x6C Calling party number: 21 80 31 31 39
Number type: National number
Numbering plan: ISDN/Telephony(CCITT Recommendation E.164/E.163)
Presentation: presentation allowed
Screening: user-provided, not screened
Number: 119
ISDN3_00007 21/06 20:47:43 RX d_channel: 41 (S:00 T:000) payload: (11) 08 01 D8 0D 18 01 89 1E 02 82 88
0x0D SETUP_ACK Ref: D,88
ie 0x18 Channel identification: 89
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Exclusive
D-channel identified: Yes
Information channel selection: B1 channel
ie 0x1E Progress indicator: 82 88
Coding: CCITT standardized
Location: Public network serving the local user
Progress: In-band information or appropriate pattern now available
ISDN3_00009 21/06 20:47:45 TX d_channel: 41 (S:00 T:000) payload: (8) 08 01 58 7B 70 02 81 38
0x7B INFORMATION Ref: O,88
ie 0x70 Called party number: 81 38
Number type: Unknown
Numbering plan: ISDN/Telephony(CCITT Recommendation E.164/E.163)
Number: 8
Метка RemoveCPN =01
ISDN3_00004 21/06 22:52:08 TX d_channel: 41 (S:00 T:005) payload: (16) 08 01 5A 05 04 03 90 90 A3 18 01 83 1E 02 85 83
0x05 SETUP Ref: O,90
ie 0x04 Bearer capability: 90 90 A3
Coding: CCITT standardized
Information transfer capability: 3.1 kHz audio
Transfer mode: Circuit mode
Transfer rate: 64 Kbit/s
User info layer 1: G.711 A-law
ie 0x18 Channel identification: 83
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Preferred
D-channel identified: No
Information channel selection: any channel
ie 0x1E Progress indicator: 85 83
Coding: CCITT standardized
Location: Private network serving the remote user
Progress: Origination address is non-ISDN
ISDN3_00005 21/06 22:52:08 RX d_channel: 41 (S:00 T:005) payload: (11) 08 01 DA 0D 18 01 89 1E 02 82 88
0x0D SETUP_ACK Ref: D,90
ie 0x18 Channel identification: 89
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Exclusive
D-channel identified: Yes
Information channel selection: B1 channel
ie 0x1E Progress indicator: 82 88
Coding: CCITT standardized
Location: Public network serving the local user
Progress: In-band information or appropriate pattern now available
ISDN3_00006 21/06 22:52:08 TX d_channel: 41 (S:00 T:005) payload: (8) 08 01 5A 7B 70 02 81 38
0x7B INFORMATION Ref: O,90
ie 0x70 Called party number: 81 38
Number type: Unknown
Numbering plan: ISDN/Telephony(CCITT Recommendation E.164/E.163)
Number: 8
С командной строки ATD84957238121; вызов проходит нормально. При работе через шлюз со станцией таже команда в трассировке выглядит ATD84957238121#10;. Естественно станции Оператора не нравится "Хвост" #10;и она выдает сообщение "Номер отсутствует, проверьте правильность набора". Опытным путем выяснил, что 10-ка это остаток MSN номера 110. Если назначить MSN = 119, то в трассировке появляется хвост #19. В трассировке со станции средствами ОМС эти номера полностью отсутствуют.
Ниже два варианта трассировки с DDI и без.
ISDN3_00006 21/06 20:47:43 TX d_channel: 41 (S:00 T:000) payload: (23) 08 01 58 05 04 03 90 90 A3 18 01 83 1E 02 85 83 6C 05 21 80 31 31 39
0x05 SETUP Ref: O,88
ie 0x04 Bearer capability: 90 90 A3
Coding: CCITT standardized
Information transfer capability: 3.1 kHz audio
Transfer mode: Circuit mode
Transfer rate: 64 Kbit/s
User info layer 1: G.711 A-law
ie 0x18 Channel identification: 83
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Preferred
D-channel identified: No
Information channel selection: any channel
ie 0x1E Progress indicator: 85 83
Coding: CCITT standardized
Location: Private network serving the remote user
Progress: Origination address is non-ISDN
ie 0x6C Calling party number: 21 80 31 31 39
Number type: National number
Numbering plan: ISDN/Telephony(CCITT Recommendation E.164/E.163)
Presentation: presentation allowed
Screening: user-provided, not screened
Number: 119
ISDN3_00007 21/06 20:47:43 RX d_channel: 41 (S:00 T:000) payload: (11) 08 01 D8 0D 18 01 89 1E 02 82 88
0x0D SETUP_ACK Ref: D,88
ie 0x18 Channel identification: 89
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Exclusive
D-channel identified: Yes
Information channel selection: B1 channel
ie 0x1E Progress indicator: 82 88
Coding: CCITT standardized
Location: Public network serving the local user
Progress: In-band information or appropriate pattern now available
ISDN3_00009 21/06 20:47:45 TX d_channel: 41 (S:00 T:000) payload: (8) 08 01 58 7B 70 02 81 38
0x7B INFORMATION Ref: O,88
ie 0x70 Called party number: 81 38
Number type: Unknown
Numbering plan: ISDN/Telephony(CCITT Recommendation E.164/E.163)
Number: 8
Метка RemoveCPN =01
ISDN3_00004 21/06 22:52:08 TX d_channel: 41 (S:00 T:005) payload: (16) 08 01 5A 05 04 03 90 90 A3 18 01 83 1E 02 85 83
0x05 SETUP Ref: O,90
ie 0x04 Bearer capability: 90 90 A3
Coding: CCITT standardized
Information transfer capability: 3.1 kHz audio
Transfer mode: Circuit mode
Transfer rate: 64 Kbit/s
User info layer 1: G.711 A-law
ie 0x18 Channel identification: 83
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Preferred
D-channel identified: No
Information channel selection: any channel
ie 0x1E Progress indicator: 85 83
Coding: CCITT standardized
Location: Private network serving the remote user
Progress: Origination address is non-ISDN
ISDN3_00005 21/06 22:52:08 RX d_channel: 41 (S:00 T:005) payload: (11) 08 01 DA 0D 18 01 89 1E 02 82 88
0x0D SETUP_ACK Ref: D,90
ie 0x18 Channel identification: 89
Interface identifier: Implicit
Interface type: Basic
Indicated channel: Exclusive
D-channel identified: Yes
Information channel selection: B1 channel
ie 0x1E Progress indicator: 82 88
Coding: CCITT standardized
Location: Public network serving the local user
Progress: In-band information or appropriate pattern now available
ISDN3_00006 21/06 22:52:08 TX d_channel: 41 (S:00 T:005) payload: (8) 08 01 5A 7B 70 02 81 38
0x7B INFORMATION Ref: O,90
ie 0x70 Called party number: 81 38
Number type: Unknown
Numbering plan: ISDN/Telephony(CCITT Recommendation E.164/E.163)
Number: 8
