Project

General

Profile

Actions

RFC4040 experiments

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


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

------
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]

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. ... 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.
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.

Updated by manawyrm 7 months ago · 3 revisions

Add picture from clipboard (Maximum size: 48.8 MB)