Уважаемые дамы и господа! Для вас сохранен старый форум по адресу http://forum.intersyst.ru

Страницы: 1
RSS
ОХО как транзитная станция
 
Так уж сложилось - есть две станции ОХО и ОХЕ объединенные потоком ISDN PRI. ОХО имеет выход по SIP к оператору IP телефонии.
Нужно отправить вызовы с ОХЕ на IP оператора   через ОХО.
Если у кого реализована подобная схема - поделитесь базой.
 
через паблик/приват план заруливаете в ars набор через префикс и далее в сип
Пути IP-пакета неисповедимы
 
Вызовы настроил. Возникла другая проблема - отсутствие КПВ при транзите через SIP OXO. Кто должен "Дудеть"?
 
Можно попробовать попросить ОХО это делать - поставить галку:
External Lines/ Protocols/ ISDN (EDSS1)/ Parameters/ Send ringback tone for incoming calls
 
Думаю что эта галка не прокатит, в транзите другие правила
у мтт с "дуденьем" всегда проблемы
Смотрите трассировку звонка на охе и sip на охо, возможно охо не правильно трактует sip 183 в isdn
Пути IP-пакета неисповедимы
 
а Alert в ОХЕ приходит?
 
Ниже приведены трассировки с ОХЕ и ОХО.
Вызов с номера 499 ОХЕ делается на внешний номер 300 через поток и SIP ОХО.
Alert в трассировке ОХЕ отсутствует.

mtracer started ...
____________________________________________________________­__________________
| (349184:000208) 86: Send_IO1 (link-nbr=6, sapi=0, tei=0) :
| long: 51  desti: 0  source: 15  cryst: 0  cpl: 6  us: 8  term: 0  type a5
| tei: 0  <<<<  message sent : SETUP [05] Call ref : 00 20
|____________________________________________________________­__________________
|
| IE:[04] BEARER_CAPABILITY (l=3) 80 90 a3
| IE:[18] CHANNEL (l=3) a9 83 85 -> T2 : B channel 5 exclusive
| IE:[28] DISPLAY (l=3) `499`
| IE:[6c] CALLING_NUMBER (l=5) -> 00 81 Num : 499
| IE:[70] CALLED_NUMBER (l=4) -> 80 Num : 300
| IE:[7d] HLC (l=2) 91 81
| [a1] Sending complete
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349184:000209) Physical-Event :
| long: 23  desti: 0  source: 0  cryst: 0  cpl: 6  us: 0  term: 0  type a5
| tei: 0  >>>>  message received : CALL PROC (02)  Call ref :  80 20
|____________________________________________________________­__________________
|
| IE:[18] CHANNEL (l=3) a9 83 85 -> T2 : B channel 5 exclusive
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349185:000210) Physical-Event :
| long: 22  desti: 0  source: 0  cryst: 0  cpl: 6  us: 0  term: 0  type a5
| tei: 0  >>>>  message received : PROGRESS (03)  Call ref :  80 20
|____________________________________________________________­__________________
|
| IE:[1e] PROGRESS_ID (l=2) 85 81
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349220:000211) Physical-Event :
| long: 29  desti: 0  source: 0  cryst: 0  cpl: 6  us: 0  term: 0  type a5
| tei: 0  >>>>  message received : CONNECT (07)  Call ref :  80 20
|____________________________________________________________­__________________
|
| IE:[1e] PROGRESS_ID (l=2) 85 81
| IE:[4c] CONNECTED_NUMBER (l=5) -> 21 80 Num : 300
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349220:000212) 86: Send_IO1 (link-nbr=6, sapi=0, tei=0) :
| long: 23  desti: 0  source: 15  cryst: 0  cpl: 6  us: 8  term: 0  type a5
| tei: 0  <<<<  message sent : CONNECT ACK (0f)  Call ref :  00 20
|____________________________________________________________­__________________
|
| IE:[18] CHANNEL (l=3) a9 83 85 -> T2 : B channel 5 exclusive
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349253:000213) Physical-Event :
| long: 22  desti: 0  source: 0  cryst: 0  cpl: 6  us: 0  term: 0  type a5
| tei: 0  >>>>  message received : DISCONNECT [45] Call ref : 80 20
|____________________________________________________________­__________________
|
| IE:[08] CAUSE (l=2) 85 90 -> [90] NORMAL CALL CLEARING
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349253:000214) 86: Send_IO1 (link-nbr=6, sapi=0, tei=0) :
| long: 22  desti: 0  source: 15  cryst: 0  cpl: 6  us: 8  term: 0  type a5
| tei: 0  <<<<  message sent : RELEASE [4d] Call ref : 00 20
|____________________________________________________________­__________________
|
| IE:[08] CAUSE (l=2) 81 90 -> [90] NORMAL CALL CLEARING
|____________________________________________________________­__________________

____________________________________________________________­__________________
| (349253:000215) Physical-Event :
| long: 18  desti: 0  source: 0  cryst: 0  cpl: 6  us: 0  term: 0  type a5
| tei: 0  >>>>  message received : REL COMP [5a] Call ref : 80 20
|____________________________________________________________­__________________

ISDN3_00002 10/06 13:16:41 RX d_channel: 77 (S:00 T:000) payload: (38) 08 02 00 20 05 04 03 80 90 A3 18 03 A9 83 85 28 03 34 39 39 6C 05 00 81 34 39 39 70 04 80 33 30 30 7D 02 91 81 A1
0x05 SETUP Ref: O,32
 ie 0x04 Bearer capability: 80 90 A3
   Coding: CCITT standardized
   Information transfer capability: Speech
   Transfer mode: Circuit mode
   Transfer rate: 64 Kbit/s
   User info layer 1: G.711 A-law
 ie 0x18 Channel identification: A9 83 85
   Interface identifier: Implicit
   Interface type: Primary rate
   Indicated channel: Exclusive
   D-channel identified: Yes
   Information channel selection: B1 channel
   Coding: CCITT standardized
   Channel type: B-channel units
   Channel number: 0x05
 ie 0x28 Display: 34 39 39
 ie 0x6C Calling party number: 00 81 34 39 39
   Number type: Unknown
   Numbering plan: Unknown
   Presentation: presentation allowed
   Screening: user-provided, verified and passed
   Number: 499
 ie 0x70 Called party number: 80 33 30 30
   Number type: Unknown
   Numbering plan: Unknown
   Number: 300
 ie 0x7D High layer compatibility: 91 81
 ie 0xA1 Sending complete
ISDN3_00003 10/06 13:16:41 TX d_channel: 77 (S:00 T:000) payload: (10) 08 02 80 20 02 18 03 A9 83 85
0x02 CALL_PROCEEDING Ref: D,32
 ie 0x18 Channel identification: A9 83 85
   Interface identifier: Implicit
   Interface type: Primary rate
   Indicated channel: Exclusive
   D-channel identified: Yes
   Information channel selection: B1 channel
   Coding: CCITT standardized
   Channel type: B-channel units
   Channel number: 0x05
ISDN3_00004 10/06 13:16:41 TX d_channel: 77 (S:00 T:000) payload: (9) 08 02 80 20 03 1E 02 85 81
0x03 PROGRESS Ref: D,32
 ie 0x1E Progress indicator: 85 81
   Coding: CCITT standardized
   Location: Private network serving the remote user
   Progress: Call is not end-to-end ISDN: more info may be available in-band
ISDN3_00005 10/06 13:16:45 TX d_channel: 77 (S:00 T:000) payload: (16) 08 02 80 20 07 1E 02 85 81 4C 05 21 80 33 30 30
0x07 CONNECT Ref: D,32
 ie 0x1E Progress indicator: 85 81
   Coding: CCITT standardized
   Location: Private network serving the remote user
   Progress: Call is not end-to-end ISDN: more info may be available in-band
 ie 0x4C: 21 80 33 30 30
ISDN3_00006 10/06 13:16:45 RX d_channel: 77 (S:00 T:000) payload: (10) 08 02 00 20 0F 18 03 A9 83 85
0x0F CONNECT_ACK Ref: O,32
 ie 0x18 Channel identification: A9 83 85
   Interface identifier: Implicit
   Interface type: Primary rate
   Indicated channel: Exclusive
   D-channel identified: Yes
   Information channel selection: B1 channel
   Coding: CCITT standardized
   Channel type: B-channel units
   Channel number: 0x05
ISDN3_00007 10/06 13:16:48 TX d_channel: 77 (S:00 T:000) payload: (9) 08 02 80 20 45 08 02 85 90
0x45 DISCONNECT Ref: D,32
 ie 0x08 Cause: 85 90
   Coding: CCITT standardized
   Location: Private network serving the remote user
   Class: Normal event
   Value: Normal release
ISDN3_00008 10/06 13:16:48 RX d_channel: 77 (S:00 T:000) payload: (9) 08 02 00 20 4D 08 02 81 90
0x4D RELEASE Ref: O,32
 ie 0x08 Cause: 81 90
   Coding: CCITT standardized
   Location: Private network serving the local user
   Class: Normal event
   Value: Normal release
ISDN3_00009 10/06 13:16:48 TX d_channel: 77 (S:00 T:000) payload: (5) 08 02 80 20 5A
0x5A RELEASE_COMP Ref: D,32
 
Трассировка этого же вызова в SIP

INVITE sip:300@192.168.1.51;transport=UDP;user=phone SIP/2.0
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, NOTIFY, PRACK, UPDATE
Supported: 100rel,from-change,timer,histinfo
User-Agent: OXO102/019.001 GW_102/015.001
Session-Expires: 43200
P-Asserted-Identity: <sip:499@192.168.1.51;user=phone>
History-Info: <sip:300@192.168.1.51;transport=UDP;user=phone>;index=1
To: <sip:300@192.168.1.51;user=phone>
From: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
Contact: <sip:499@192.168.1.116;transport=UDP;user=phone>
Content-Type: application/sdp
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 375083822 INVITE
Via: SIP/2.0/UDP 192.168.1.116;rport;branch=z9hG4bK5bb7dcea1639988123a9318b91bc3f3d
Max-Forwards: 70
Content-Length: 270

v=0
o=OxO 1465554727 1465554727 IN IP4 192.168.1.116
s=Alcatel-Lucent OXO102/015.001
c=IN IP4 192.168.1.116
t=0 0
m=audio 32000 RTP/AVP 8 0
a=rtcp:32001
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=maxptime:90
a=silenceSupp:off - - - -

SIP/2.0 100 Trying
To: <sip:300@192.168.1.51;user=phone>
From: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 375083822 INVITE
Via: SIP/2.0/UDP 192.168.1.116;rport;branch=z9hG4bK5bb7dcea1639988123a9318b91bc3f3d
Content-Length: 0

SIP/2.0 180 Ringing
Contact: sip:192.168.1.51
User-Agent: OmiPCX Enterprise R7.1 f5.401.36
Content-Type: application/sdp
To: <sip:300@192.168.1.51;user=phone>;tag=18ebae9694e357c356c605c2b1523f6b
From: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 375083822 INVITE
Via: SIP/2.0/UDP 192.168.1.116;rport;branch=z9hG4bK5bb7dcea1639988123a9318b91bc3f3d
Content-Length: 203

v=0
o=OXE 1465554959 1465554959 IN IP4 192.168.1.51
s=Alcatel-Lucent OXO102/015.001
c=IN IP4 192.168.1.52
t=0 0
m=audio 32656 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
a=maxptime:30
a=sendrecv

SIP/2.0 200 OK
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, SUBSCRIBE, OPTIONS
Contact: sip:192.168.1.51
Supported: replaces, timer,100rel
User-Agent: OmiPCX Enterprise R7.1 f5.401.36
Session-Expires: 43200;Refresher=uas
Content-Type: application/sdp
To: <sip:300@192.168.1.51;user=phone>;tag=18ebae9694e357c356c605c2b1523f6b
From: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 375083822 INVITE
Via: SIP/2.0/UDP 192.168.1.116;rport;branch=z9hG4bK5bb7dcea1639988123a9318b91bc3f3d
Content-Length: 203

v=0
o=OXE 1465554959 1465554960 IN IP4 192.168.1.51
s=Alcatel-Lucent OXO102/015.001
c=IN IP4 192.168.1.52
t=0 0
m=audio 32656 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
a=maxptime:30
a=sendrecv

ACK sip:192.168.1.51 SIP/2.0
Contact: <sip:499@192.168.1.116;transport=UDP;user=phone>
User-Agent: OXO102/019.001 GW_102/015.001
To: <sip:300@192.168.1.51;user=phone>;tag=18ebae9694e357c356c605c2b1523f6b
From: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 375083822 ACK
Via: SIP/2.0/UDP 192.168.1.116;rport;branch=z9hG4bKb6bef7715651904873158a89010014d8
Max-Forwards: 70
Content-Length: 0

BYE sip:499@192.168.1.116;transport=UDP;user=phone SIP/2.0
Supported: replaces, timer,100rel
User-Agent: OmiPCX Enterprise R7.1 f5.401.36
To: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
From: <sip:300@192.168.1.51;user=phone>;tag=18ebae9694e357c356c605c2b1523f6b
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 888368379 BYE
Via: SIP/2.0/UDP 192.168.1.51;branch=z9hG4bK8e894a2915f745dafb107c37bf871dcb
Max-Forwards: 70
Content-Length: 0

SIP/2.0 200 OK
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, NOTIFY, PRACK, UPDATE
Supported: 100rel
User-Agent: OXO102/019.001 GW_102/015.001
To: <sip:499@192.168.1.51;user=phone>;tag=9c0e9790488505717885aba3b36abf3b
From: <sip:300@192.168.1.51;user=phone>;tag=18ebae9694e357c356c605c2b1523f6b
Call-ID: 32ac093f5b3cc9295c02896d561b10aa@192.168.1.116
CSeq: 888368379 BYE
Via: SIP/2.0/UDP 192.168.1.51;branch=z9hG4bK8e894a2915f745dafb107c37bf871dcb
Content-Length: 0
 
Предложение поднять релиз на ОХЕ 7.1 принимаете? А то, даже неинтересно разбираться с древностью.
 
Это лабораторный стенд. В реальности вместо ОХЕ релиза 7.1  IP оператор.
Я привел трассировку SIP чтоб показать, что сообщение SIP/2.0 180 Ringing ОХО получает.
 
не согласен
Версия охе 7.1 самая шикарная в плане sip, тут проблема зарыта в охо
По всем правилам охо при получении sip 180  должна в isdn отправить alert
Пути IP-пакета неисповедимы
 
Возможно в реальных условиях всё прокатит с КПВ.
Возможно действительно проблема в ОХО - необходимо найти "Галку" для SIP аналогичную ISDN.
В реальных условиях при анализе обмена в SIP транках ОХО я заметил, что оператор дает КПВ в разговорном канале, то есть идут пакеты RTP с посылками КПВ.
 
В сторону ISDN ОХО выдала Progress: Call is not end-to-end ISDN: more info may be available in-band


Что при этом происходит между SIP и ISDN внутри ОХО - сложно сказать.
Страницы: 1
Читают тему