Project

General

Profile

RFC4040 experiments » History » Revision 2

Revision 1 (manawyrm, 03/13/2022 02:37 AM) → Revision 2/3 (manawyrm, 03/13/2022 03:34 AM)

h1. RFC4040 experiments 

 @Manawyrm is playing with getting a Yate PBX to signal SIP CLEARMODE ISDN traffic over to a DAHDI ISDN line... 

 {{graphviz_link() 
 graph G { 
   newrank=true; 
   subgraph cluster_2 { 
     label="@manawyrm / Main"; 
     divo [shape=house,label="yate \n(with CLEARMODE patches)"]; 

     ue2a [label="Windows XP with \nFritz!Card PCI\n"]; 
     pbx2 [label="Auerswald COMmander\nBasic 2 PBX"]; 
     ice2 [shape=box3d,label="icE1usb\nGPS-DO\nDAHDI kernel driver\n"]; 
     ue2a -- pbx2 [label="ISDN\nBRI"]; 
     pbx2 -- ice2 [label="ISDN\nPRI"]; 
   } 

   subgraph cluster_1 { 
     label="@manawyrm / Secondary"; 
     pbx1a [label="FritzBox 7270\n PBX"]; 
     pbx1a -- ue1a [label="ISDN\nBRI"]; 
     ue1a [label="Windows 2000 with \nFritz!Card PCMCIA\n"]; 
   } 

   divo -- pbx1a [label="SIP with\nCLEARMODE/8000"]; 
   ice2 -- divo    [label="ISDN PRI\nover DAHDI"]; 
 } 
 }} 

 !{width:50%}epzhvtrjqnu.png! 
 !{width:40%}pjcyegwsukt.jpg! 

 Data calls (file transfers, G4 Fax, etc.) work perfectly. 
 H.320 video telephony doesn't negotiate properly? 

 <pre><code class="shell"> 
 ------ 
 SIP/2.0 200 OK 
 Via: SIP/2.0/UDP 192.168.2.164:5060;rport=5060;branch=z9hG4bK4BC8EE0F2510B5C3;received=192.168.2.164 
 From: <sip:manawyrm@192.168.2.6>;tag=9F3EF198F09C9620 
 To: <sip:2141@192.168.2.6>;tag=239506925 
 Call-ID: 9C3E4DA178024859@192.168.2.164 
 CSeq: 128 INVITE 
 Server: YATE/6.4.1 
 Contact: <sip:2141@192.168.2.6:5060> 
 Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO 
 Content-Type: application/sdp 
 Content-Length: 190 

 v=0 
 o=yate 1647142315 1647142315 IN IP4 192.168.2.6 
 s=SIP Call 
 c=IN IP4 192.168.2.6 
 t=0 0 
 m=audio 28714 RTP/AVP 106 101 
 a=rtpmap:106 CLEARMODE/8000 
 a=rtpmap:101 telephone-event/8000 
 ------ 
 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] 
 ------ 
 ACK sip:2141@192.168.2.6:5060 SIP/2.0 
 Via: SIP/2.0/UDP 192.168.2.164:5060;branch=z9hG4bKDA14F57E9A4181C0 
 From: <sip:manawyrm@192.168.2.6>;tag=9F3EF198F09C9620 
 To: <sip:2141@192.168.2.6>;tag=239506925 
 Call-ID: 9C3E4DA178024859@192.168.2.164 
 CSeq: 128 ACK 
 Contact: <sip:manawyrm@192.168.2.164;uniq=3978329675728992ECBC5E9B1C932> 
 Max-Forwards: 70 
 User-Agent: AVM FRITZ!Box Fon WLAN 7270 v3 74.06.06 (Sep 24 2015) 
 Content-Length: 0 

 ------ 
 2022-03-13_04:31:55.603203 <yrtp:ALL> RTP/AVP message received 
 2022-03-13_04:31:55.603238 <yrtp:ALL> Wrapper 0x7fcce00040b0 found by CallEndpoint 0x7fccd000e040 
 2022-03-13_04:31:55.603264 <yrtp:ALL> YRTPWrapper::startRTP("192.168.2.164",7078) [0x7fcce00040b0] 
 2022-03-13_04:31:55.603300 <yrtp:INFO> RTP starting format 'alaw' payload 106 [0x7fcce00040b0] 
 2022-03-13_04:31:55.603342 >>> DataTranslator::detachChain(0x7fcce000b6e0,0x7fccc8005870) 
 2022-03-13_04:31:55.603358 <<< DataTranslator::detachChain 
 2022-03-13_04:31:55.603390 <ALL> DataTranslator::attachChain [0x7fcce000b6e0] 'alaw' -> [0x7fccc8005870] 'alaw' succeeded 
 2022-03-13_04:31:55.603407 >>> DataTranslator::detachChain(0x7fccc8005c30,0x7fcce0001290) 
 2022-03-13_04:31:55.603428 <<< DataTranslator::detachChain 
 2022-03-13_04:31:55.603454 <ALL> DataTranslator::attachChain [0x7fccc8005c30] 'alaw' -> [0x7fcce0001290] 'alaw' succeeded 
 2022-03-13_04:31:56.367358 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:31:56.964530 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:31:57.688357 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:31:58.526718 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:31:59.125424 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:31:59.967665 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:00.566247 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:01.286157 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:02.127759 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:02.726366 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:03.326702 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:04.046557 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:04.766334 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:05.486990 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:06.207850 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:06.927868 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:07.766819 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:08.364029 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:09.204817 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:10.047558 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 2022-03-13_04:32:10.647924 <auerswald/B:ALL> ZapCircuit(2). Buffer overrun old=480 channel=2 (11: Resource temporarily unavailable) [0x5628da8a89a0] 
 </code></pre> 

 The origin of the "Buffer overruns" is currently unknown, it also occurs with regular alaw voice calls, so this is unrelated to these experiments. 
 Further investigation needed. 
Add picture from clipboard (Maximum size: 48.8 MB)