Project

General

Profile

RFC4040 experiments » History » Version 3

manawyrm, 05/14/2022 11:59 PM

1 1 manawyrm
h1. RFC4040 experiments
2
3
@Manawyrm is playing with getting a Yate PBX to signal SIP CLEARMODE ISDN traffic over to a DAHDI ISDN line...
4
5
{{graphviz_link()
6
graph G {
7
  newrank=true;
8
  subgraph cluster_2 {
9
    label="@manawyrm / Main";
10
    divo [shape=house,label="yate \n(with CLEARMODE patches)"];
11
12
    ue2a [label="Windows XP with \nFritz!Card PCI\n"];
13
    pbx2 [label="Auerswald COMmander\nBasic 2 PBX"];
14
    ice2 [shape=box3d,label="icE1usb\nGPS-DO\nDAHDI kernel driver\n"];
15
    ue2a -- pbx2 [label="ISDN\nBRI"];
16
    pbx2 -- ice2 [label="ISDN\nPRI"];
17
  }
18
19
  subgraph cluster_1 {
20
    label="@manawyrm / Secondary";
21
    pbx1a [label="FritzBox 7270\n PBX"];
22
    pbx1a -- ue1a [label="ISDN\nBRI"];
23
    ue1a [label="Windows 2000 with \nFritz!Card PCMCIA\n"];
24
  }
25
26
  divo -- pbx1a [label="SIP with\nCLEARMODE/8000"];
27
  ice2 -- divo  [label="ISDN PRI\nover DAHDI"];
28
}
29
}}
30
31
!{width:50%}epzhvtrjqnu.png!
32
!{width:40%}pjcyegwsukt.jpg!
33 2 manawyrm
34
Data calls (file transfers, G4 Fax, etc.) work perfectly.
35
H.320 video telephony doesn't negotiate properly?
36
37
<pre><code class="shell">
38
------
39
SIP/2.0 200 OK
40
Via: SIP/2.0/UDP 192.168.2.164:5060;rport=5060;branch=z9hG4bK4BC8EE0F2510B5C3;received=192.168.2.164
41
From: <sip:manawyrm@192.168.2.6>;tag=9F3EF198F09C9620
42
To: <sip:2141@192.168.2.6>;tag=239506925
43
Call-ID: 9C3E4DA178024859@192.168.2.164
44
CSeq: 128 INVITE
45
Server: YATE/6.4.1
46
Contact: <sip:2141@192.168.2.6:5060>
47
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
48
Content-Type: application/sdp
49
Content-Length: 190
50
51
v=0
52
o=yate 1647142315 1647142315 IN IP4 192.168.2.6
53
s=SIP Call
54
c=IN IP4 192.168.2.6
55
t=0 0
56
m=audio 28714 RTP/AVP 106 101
57
a=rtpmap:106 CLEARMODE/8000
58
a=rtpmap:101 telephone-event/8000
59
------
60
2022-03-13_04:31:55.599022 <sip:INFO> 'udp:0.0.0.0:5060' received 440 bytes SIP message from 192.168.2.164:5060 [0x5628da894fa0]
61
------
62
ACK sip:2141@192.168.2.6:5060 SIP/2.0
63
Via: SIP/2.0/UDP 192.168.2.164:5060;branch=z9hG4bKDA14F57E9A4181C0
64
From: <sip:manawyrm@192.168.2.6>;tag=9F3EF198F09C9620
65
To: <sip:2141@192.168.2.6>;tag=239506925
66
Call-ID: 9C3E4DA178024859@192.168.2.164
67
CSeq: 128 ACK
68
Contact: <sip:manawyrm@192.168.2.164;uniq=3978329675728992ECBC5E9B1C932>
69
Max-Forwards: 70
70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 v3 74.06.06 (Sep 24 2015)
71
Content-Length: 0
72
73
------
74
2022-03-13_04:31:55.603203 <yrtp:ALL> RTP/AVP message received
75
2022-03-13_04:31:55.603238 <yrtp:ALL> Wrapper 0x7fcce00040b0 found by CallEndpoint 0x7fccd000e040
76
2022-03-13_04:31:55.603264 <yrtp:ALL> YRTPWrapper::startRTP("192.168.2.164",7078) [0x7fcce00040b0]
77
2022-03-13_04:31:55.603300 <yrtp:INFO> RTP starting format 'alaw' payload 106 [0x7fcce00040b0]
78
2022-03-13_04:31:55.603342 >>> DataTranslator::detachChain(0x7fcce000b6e0,0x7fccc8005870)
79
2022-03-13_04:31:55.603358 <<< DataTranslator::detachChain
80
2022-03-13_04:31:55.603390 <ALL> DataTranslator::attachChain [0x7fcce000b6e0] 'alaw' -> [0x7fccc8005870] 'alaw' succeeded
81
2022-03-13_04:31:55.603407 >>> DataTranslator::detachChain(0x7fccc8005c30,0x7fcce0001290)
82
2022-03-13_04:31:55.603428 <<< DataTranslator::detachChain
83
2022-03-13_04:31:55.603454 <ALL> DataTranslator::attachChain [0x7fccc8005c30] 'alaw' -> [0x7fcce0001290] 'alaw' succeeded
84
2022-03-13_04:31:56.367358 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
85
2022-03-13_04:31:56.964530 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
86
2022-03-13_04:31:57.688357 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
87
2022-03-13_04:31:58.526718 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
88
2022-03-13_04:31:59.125424 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
89
2022-03-13_04:31:59.967665 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
90
2022-03-13_04:32:00.566247 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
91
2022-03-13_04:32:01.286157 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
92
2022-03-13_04:32:02.127759 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
93
2022-03-13_04:32:02.726366 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
94
2022-03-13_04:32:03.326702 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
95
2022-03-13_04:32:04.046557 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
96
2022-03-13_04:32:04.766334 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
97
2022-03-13_04:32:05.486990 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
98
2022-03-13_04:32:06.207850 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
99
2022-03-13_04:32:06.927868 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
100
2022-03-13_04:32:07.766819 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
101
2022-03-13_04:32:08.364029 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
102
2022-03-13_04:32:09.204817 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
103
2022-03-13_04:32:10.047558 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
104
2022-03-13_04:32:10.647924 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0]
105
</code></pre>
106
107
The origin of the "Buffer overruns" is currently unknown, it also occurs with regular alaw voice calls, so this is unrelated to these experiments.
108 3 manawyrm
-Further investigation needed.- ... it turns out, DAHDI was running the TE820 in clock master mode (generating it's own clock from the crystal oscillator) instead of using the incoming E1 clock.
109
This was a misconfiguration of course. Buffer overruns and audible clicking in voice calls is gone now, data calls still work fine, H.320 video telephony still doesn't work.
Add picture from clipboard (Maximum size: 48.8 MB)