Last active
November 6, 2019 16:32
-
-
Save davehorton/e8345d0fd5b286c718076867df99c952 to your computer and use it in GitHub Desktop.
rtpengine commands -- trying to transcoding RFC 2833 => PCMU with audio tones and back again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [1573055112.558183] INFO: [[email protected]]: Received command 'offer' from 10.11.3.48:45637 | |
| [1573055112.558298] DEBUG: [[email protected]]: Dump for 'offer' from 10.11.3.48:45637: { "ICE": "remove", "call-id": "[email protected]", "codec": { "offer": [ "PCMU" ], "strip": [ "all" ] }, "command": "offer", "flags": [ "asymmetric", "always transcode" ], "from-tag": "gK0d45e2f1", "sdp": "v=0^M | |
| o=- 26743 31458 IN IP4 23.29.25.59^M | |
| s=-^M | |
| c=IN IP4 23.29.25.59^M | |
| t=0 0^M | |
| m=audio 24768 RTP/AVP 0 18 101^M | |
| a=rtpmap:18 G729/8000^M | |
| a=fmtp:18 annexb=no^M | |
| a=rtpmap:101 telephone-event/8000^M | |
| a=fmtp:101 0-15^M | |
| a=maxptime:20^M | |
| ", "via-branch": "z9hG4bK7644.56824a70bd3d5731fa063bc65f93f903.0" } | |
| [1573055112.558406] NOTICE: [[email protected]]: Creating new call | |
| [1573055112.559061] DEBUG: [[email protected]]: Stripping codec 'PCMU/8000' | |
| [1573055112.559086] DEBUG: [[email protected]]: Stripping codec 'G729/8000' | |
| [1573055112.559091] DEBUG: [[email protected]]: Stripping codec 'telephone-event/8000' | |
| [1573055112.559100] DEBUG: [[email protected]]: Restoring codec 'PCMU' from stripped codecs (1 payload types) | |
| [1573055112.559118] DEBUG: [[email protected]]: Default sink codec is PCMU/8000 | |
| [1573055112.559126] DEBUG: [[email protected]]: 0 DTMF sink entries | |
| [1573055112.559131] DEBUG: [[email protected]]: Creating codec handler for PCMU/8000 | |
| [1573055112.559135] DEBUG: [[email protected]]: Sink does not support codec PCMU/8000 | |
| [1573055112.559140] DEBUG: [[email protected]]: Created transcode context for PCMU/8000 -> PCMU/8000 with DTMF output -1 | |
| [1573055112.559147] DEBUG: [[email protected]]: Creating SSRC transcoder from PCMU/8000/1 to PCMU/8000/1 | |
| [1573055112.559226] DEBUG: [[email protected]]: Initialized encoder with frame size 160 samples | |
| [1573055112.559251] DEBUG: [[email protected]]: Encoder created with clockrate 8000, 1 channels, using sample format 1 (ptime 20 for 160 samples per frame and 160 samples (160 bytes) per packet, bitrate 0) | |
| [1573055112.559256] INFO: [[email protected]]: Enabling transcoding engine | |
| [1573055112.559369] DEBUG: [[email protected]]: creating send_timer | |
| [1573055112.559385] DEBUG: [[email protected]]: creating send_timer | |
| [1573055112.559394] DEBUG: [[email protected]]: creating send_timer | |
| [1573055112.559399] DEBUG: [[email protected]]: creating send_timer | |
| [1573055112.559444] DEBUG: [[email protected]]: set FILLED flag for stream 23.29.25.59:24768 | |
| [1573055112.559454] DEBUG: [[email protected]]: set FILLED flag for stream 23.29.25.59:24769 | |
| [1573055112.559482] INFO: [[email protected]]: Replying to 'offer' from 10.11.3.48:45637 (elapsed time 0.001168 sec) | |
| [1573055112.559497] DEBUG: [[email protected]]: Response dump for 'offer' to 10.11.3.48:45637: { "sdp": "v=0^M | |
| o=- 26743 31458 IN IP4 23.29.25.59^M | |
| s=-^M | |
| c=IN IP4 104.198.72.91^M | |
| t=0 0^M | |
| m=audio 24116 RTP/AVP 0^M | |
| a=maxptime:20^M | |
| a=rtpmap:0 PCMU/8000^M | |
| a=sendrecv^M | |
| a=rtcp:24117^M | |
| ", "result": "ok" } | |
| [1573055112.703138] INFO: [[email protected]]: Received command 'answer' from 10.11.3.48:45637 | |
| [1573055112.703208] DEBUG: [[email protected]]: Dump for 'answer' from 10.11.3.48:45637: { "ICE": "remove", "call-id": "[email protected]", "codec": { "offer": [ "PCMU", "telephone-event" ], "transcode": [ "telephone-event" ] }, "command": "answer", "flags": [ "asymmetric" ], "from-tag": "gK0d45e2f1", "sdp": "v=0^M | |
| o=FreeSWITCH 1573028396 1573028397 IN IP4 10.11.3.45^M | |
| s=FreeSWITCH^M | |
| c=IN IP4 10.11.3.45^M | |
| t=0 0^M | |
| m=audio 26716 RTP/AVP 0^M | |
| a=rtpmap:0 PCMU/8000^M | |
| a=ptime:20^M | |
| a=sendrecv^M | |
| a=rtcp:26717 IN IP4 10.11.3.45^M | |
| ", "to-tag": "U44DSXN546vKe", "via-branch": "z9hG4bK7644.56824a70bd3d5731fa063bc65f93f903.0" } | |
| [1573055112.703282] DEBUG: [[email protected]]: Default sink codec is PCMU/8000 | |
| [1573055112.703295] DEBUG: [[email protected]]: 0 DTMF sink entries | |
| [1573055112.703375] DEBUG: [[email protected]]: Creating codec handler for PCMU/8000 | |
| [1573055112.703761] DEBUG: [[email protected]]: Sink supports codec PCMU/8000 | |
| [1573055112.703847] DEBUG: [[email protected]]: Using passthrough handler for PCMU/8000 | |
| [1573055112.703947] DEBUG: [[email protected]]: set FILLED flag for stream 10.11.3.45:26716 | |
| [1573055112.704045] DEBUG: [[email protected]]: set FILLED flag for stream 10.11.3.45:26717 | |
| [1573055112.704243] INFO: [[email protected]]: Replying to 'answer' from 10.11.3.48:45637 (elapsed time 0.001017 sec) | |
| [1573055112.704372] DEBUG: [[email protected]]: Response dump for 'answer' to 10.11.3.48:45637: { "sdp": "v=0^M | |
| o=FreeSWITCH 1573028396 1573028397 IN IP4 10.11.3.45^M | |
| s=FreeSWITCH^M | |
| c=IN IP4 104.198.72.91^M | |
| t=0 0^M | |
| m=audio 24128 RTP/AVP 0^M | |
| a=rtpmap:0 PCMU/8000^M | |
| a=sendrecv^M | |
| a=rtcp:24129^M | |
| a=ptime:20^M | |
| ", "result": "ok" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1573057776.464135] INFO: [[email protected]]: Received command 'offer' from 10.11.4.48:56755 | |
| [1573057776.464189] DEBUG: [[email protected]]: Dump for 'offer' from 10.11.4.48:56755: { "ICE": "remove", "call-id": "[email protected]", "codec": { "mask": [ "all" ], "offer": [ "PCMU" ] }, "command": "offer", "flags": [ "asymmetric", "always transcode" ], "from-tag": "gK06682d28", "sdp": "v=0^M | |
| o=- 15946 3647 IN IP4 23.29.25.59^M | |
| s=-^M | |
| c=IN IP4 23.29.25.59^M | |
| t=0 0^M | |
| m=audio 32868 RTP/AVP 0 18 101^M | |
| a=rtpmap:18 G729/8000^M | |
| a=fmtp:18 annexb=no^M | |
| a=rtpmap:101 telephone-event/8000^M | |
| a=fmtp:101 0-15^M | |
| a=maxptime:20^M | |
| ", "via-branch": "z9hG4bKca03.69c5e5432a2584539b9101257c2f32e6.0" } | |
| [1573057776.464253] NOTICE: [[email protected]]: Creating new call | |
| [1573057776.464329] DEBUG: [[email protected]]: Default sink codec is PCMU/8000 | |
| [1573057776.464337] DEBUG: [[email protected]]: 1 DTMF sink entries | |
| [1573057776.464340] DEBUG: [[email protected]]: Output DTMF payload type is 101 | |
| [1573057776.464449] DEBUG: [[email protected]]: creating send_timer | |
| [1573057776.464456] DEBUG: [[email protected]]: creating send_timer | |
| [1573057776.464462] DEBUG: [[email protected]]: creating send_timer | |
| [1573057776.464466] DEBUG: [[email protected]]: creating send_timer | |
| [1573057776.464507] DEBUG: [[email protected]]: set FILLED flag for stream 23.29.25.59:32868 | |
| [1573057776.464511] DEBUG: [[email protected]]: set FILLED flag for stream 23.29.25.59:32869 | |
| [1573057776.464534] INFO: [[email protected]]: Replying to 'offer' from 10.11.4.48:56755 (elapsed time 0.000335 sec) | |
| [1573057776.464544] DEBUG: [[email protected]]: Response dump for 'offer' to 10.11.4.48:56755: { "sdp": "v=0^M | |
| o=- 15946 3647 IN IP4 23.29.25.59^M | |
| s=-^M | |
| c=IN IP4 104.198.72.91^M | |
| t=0 0^M | |
| m=audio 24420 RTP/AVP 0 18 101^M | |
| a=rtpmap:18 G729/8000^M | |
| a=fmtp:18 annexb=no^M | |
| a=rtpmap:101 telephone-event/8000^M | |
| a=fmtp:101 0-15^M | |
| a=maxptime:20^M | |
| a=sendrecv^M | |
| a=rtcp:24421^M | |
| ", "result": "ok" } | |
| [1573057776.606243] INFO: [[email protected]]: Received command 'answer' from 10.11.4.48:56755 | |
| [1573057776.606359] DEBUG: [[email protected]]: Dump for 'answer' from 10.11.4.48:56755: { "ICE": "remove", "call-id": "[email protected]", "codec": { "offer": [ "PCMU", "telephone-event" ], "transcode": [ "telephone-event" ] }, "command": "answer", "flags": [ "asymmetric" ], "from-tag": "gK06682d28", "sdp": "v=0^M | |
| o=FreeSWITCH 1573030224 1573030225 IN IP4 10.11.4.44^M | |
| s=FreeSWITCH^M | |
| c=IN IP4 10.11.4.44^M | |
| t=0 0^M | |
| m=audio 27552 RTP/AVP 0^M | |
| a=rtpmap:0 PCMU/8000^M | |
| a=ptime:20^M | |
| a=sendrecv^M | |
| a=rtcp:27553 IN IP4 10.11.4.44^M | |
| ", "to-tag": "eFFH5FF6y0y3H", "via-branch": "z9hG4bKca03.69c5e5432a2584539b9101257c2f32e6.0" } | |
| [1573057776.606433] DEBUG: [[email protected]]: Default sink codec is PCMU/8000 | |
| [1573057776.606442] DEBUG: [[email protected]]: 0 DTMF sink entries | |
| [1573057776.606447] DEBUG: [[email protected]]: Eliminating asymmetric outbound codec G729/8000 | |
| [1573057776.606454] DEBUG: [[email protected]]: Eliminating asymmetric outbound codec telephone-event/8000 | |
| [1573057776.606463] DEBUG: [[email protected]]: Creating codec handler for PCMU/8000 | |
| [1573057776.606474] DEBUG: [[email protected]]: Sink supports codec PCMU/8000 | |
| [1573057776.606478] DEBUG: [[email protected]]: Using passthrough handler for PCMU/8000 | |
| [1573057776.606491] DEBUG: [[email protected]]: set FILLED flag for stream 10.11.4.44:27552 | |
| [1573057776.606499] DEBUG: [[email protected]]: set FILLED flag for stream 10.11.4.44:27553 | |
| [1573057776.606521] INFO: [[email protected]]: Replying to 'answer' from 10.11.4.48:56755 (elapsed time 0.000147 sec) | |
| [1573057776.606532] DEBUG: [[email protected]]: Response dump for 'answer' to 10.11.4.48:56755: { "sdp": "v=0^M | |
| o=FreeSWITCH 1573030224 1573030225 IN IP4 10.11.4.44^M | |
| s=FreeSWITCH^M | |
| c=IN IP4 104.198.72.91^M | |
| t=0 0^M | |
| m=audio 24436 RTP/AVP 0^M | |
| a=rtpmap:0 PCMU/8000^M | |
| a=sendrecv^M | |
| a=rtcp:24437^M | |
| a=ptime:20^M | |
| ", "result": "ok" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment