1.通话–>保留
[DEBUG] sofia.c:6760 Channel sofia/internal/10085467@10.6.1.21:46251 entering state [received][100][DEBUG] sofia.c:6770 Remote SDP:v=0o=- 3694465498 3694465500 IN IP4 10.6.1.21s=pjmediac=IN IP4 10.6.1.21t=0 0m=audio 4000 RTP/AVP 99 0 8 101c=IN IP4 10.6.1.21a=rtpmap:99 SILK/24000a=fmtp:99 useinbandfec=0a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=sendonlya=rtcp:4001 IN IP4 10.6.1.21[DEBUG] switch_channel.c:1841 (sofia/internal/10085467@10.6.1.21:46251) Callstate Change ACTIVE -> HELD[DEBUG] switch_core_media.c:4161 Audio Codec Compare [SILK:99:24000:20:0:1]/[PCMU:0:8000:20:64000:1][DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1][DEBUG] switch_core_media.c:4216 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a match[DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1][DEBUG] switch_core_media.c:4077 Set telephone-event payload to 101@8000[DEBUG] switch_core_media.c:4429 Set telephone-event payload to 101@8000[DEBUG] switch_core_media.c:4485 sofia/internal/10085467@10.6.1.21:46251 Set 2833 dtmf send payload to 101 recv payload to 101[DEBUG] switch_core_media.c:6016 Audio params are unchanged for sofia/internal/10085467@10.6.1.21:46251.[DEBUG] sofia.c:7507 Processing updated SDP[DEBUG] sofia.c:6760 Channel sofia/internal/10085467@10.6.1.21:46251 entering state [completed][200][DEBUG] sofia.c:6760 Channel sofia/internal/10085467@10.6.1.21:46251 entering state [ready][200][DEBUG] switch_ivr.c:623 sofia/internal/10085455@10.2.4.92 Command Execute playback(local_stream://moh)EXECUTE sofia/internal/10085455@10.2.4.92 playback(local_stream://moh)[DEBUG] mod_local_stream.c:733 Opening Stream [moh/8000] 8000hz[DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16@8000hz 1 channels 20ms
2.保留–>通话
[DEBUG] sofia.c:6760 Channel sofia/internal/10085467@10.6.1.21:46251 entering state [received][100][DEBUG] sofia.c:6770 Remote SDP:v=0o=- 3694465498 3694465503 IN IP4 10.6.1.21s=pjmediac=IN IP4 10.6.1.21t=0 0m=audio 4000 RTP/AVP 99 0 8 101c=IN IP4 10.6.1.21a=rtpmap:99 SILK/24000a=fmtp:99 useinbandfec=0a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=rtcp:4001 IN IP4 10.6.1.21[DEBUG] switch_ivr_play_say.c:1809 done playing file local_stream://moh[DEBUG] switch_channel.c:2026 (sofia/internal/10085467@10.6.1.21:46251) Callstate Change HELD -> UNHELD[DEBUG] switch_core_media.c:4161 Audio Codec Compare [SILK:99:24000:20:0:1]/[PCMU:0:8000:20:64000:1][DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1][DEBUG] switch_core_media.c:4216 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a match[DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1][DEBUG] switch_core_media.c:4077 Set telephone-event payload to 101@8000[DEBUG] switch_core_media.c:4429 Set telephone-event payload to 101@8000[DEBUG] switch_core_media.c:4485 sofia/internal/10085467@10.6.1.21:46251 Set 2833 dtmf send payload to 101 recv payload to 101[DEBUG] switch_core_media.c:6016 Audio params are unchanged for sofia/internal/10085467@10.6.1.21:46251.[DEBUG] sofia.c:7507 Processing updated SDP[DEBUG] switch_core_io.c:915 (sofia/internal/10085467@10.6.1.21:46251) Callstate Change UNHELD -> ACTIVE[DEBUG] sofia.c:6760 Channel sofia/internal/10085467@10.6.1.21:46251 entering state [completed][200][DEBUG] switch_rtp.c:6654 Correct audio ip/port confirmed.[DEBUG] switch_rtp.c:1826 rtcp_stats_init: audio ssrc[1228857735] base_seq[21443][DEBUG] sofia.c:6760 Channel sofia/internal/10085467@10.6.1.21:46251 entering state [ready][200]
来源张永光的博客