Any ideas, anyone? [cid:imagefb5387.PNG@ca5d49be.4fa92b00] Daniel Knaggs Software Developer Reality Solutions Ltd, 1 Global Business Park, Hamburg Road, Kingston upon Hull, East Yorkshire, HU7 0AE Tel: 01482 828000 / Fax: 01482 373100 Daniel.Knaggs@realitysolutions.co.uk<mailto:Daniel.Knaggs@realitysolutions.co.uk> www.realitysolutions.co.uk<http://www.realitysolutions.co.uk/> ________________________________ Sage Accredited Business Partner serving businesses in Yorkshire & Lincolnshire [cid:image19a0f2.PNG@39ea781d.48900adc] From: Daniel Knaggs Sent: 27 March 2012 10:22 To: 'FreeSWITCH Users Help' Subject: RE: [Freeswitch-users] Strange DTMF Tones On Inbound Calls OK, it does NOT appear in the recordings. Here is a spectrum analysis of the call when it happened: - Frequency (Hz) Level (dB) 15.625000 -59.445583 31.250000 -69.136353 46.875000 -71.569084 62.500000 -72.445877 78.125000 -67.142319 93.750000 -63.964447 109.375000 -61.157677 125.000000 -58.849174 140.625000 -62.083492 156.250000 -51.071819 171.875000 -48.957565 187.500000 -48.156109 203.125000 -48.908588 218.750000 -47.891460 234.375000 -46.257698 250.000000 -43.011139 265.625000 -48.706509 281.250000 -53.241238 296.875000 -52.513802 312.500000 -50.387054 328.125000 -53.275459 343.750000 -56.096489 359.375000 -54.788857 375.000000 -52.283993 390.625000 -50.975601 406.250000 -49.737530 421.875000 -49.870571 437.500000 -50.445431 453.125000 -50.647591 468.750000 -49.450035 484.375000 -48.767914 500.000000 -48.281902 515.625000 -49.419975 531.250000 -52.635048 546.875000 -52.856857 562.500000 -51.675240 578.125000 -50.667599 593.750000 -51.584862 609.375000 -48.992435 625.000000 -48.492191 640.625000 -49.701382 656.250000 -53.005512 671.875000 -54.269699 687.500000 -54.937397 703.125000 -53.922794 718.750000 -51.949009 734.375000 -52.763660 750.000000 -53.731155 765.625000 -54.977795 781.250000 -54.029835 796.875000 -54.375313 812.500000 -54.419693 828.125000 -54.796967 843.750000 -55.052872 859.375000 -53.625359 875.000000 -54.649513 890.625000 -56.736855 906.250000 -57.202946 921.875000 -56.587177 937.500000 -57.263260 953.125000 -56.744713 968.750000 -57.710808 984.375000 -58.118694 1000.000000 -60.595867 1015.625000 -60.736752 1031.250000 -57.966949 1046.875000 -58.101311 1062.500000 -59.093056 1078.125000 -59.889881 1093.750000 -59.972092 1109.375000 -59.728626 1125.000000 -58.060120 1140.625000 -56.506371 1156.250000 -55.109329 1171.875000 -54.278183 1187.500000 -56.115913 1203.125000 -57.535069 1218.750000 -58.304485 1234.375000 -58.614723 1250.000000 -58.873520 1265.625000 -61.268688 1281.250000 -62.702538 1296.875000 -63.828163 1312.500000 -63.712082 1328.125000 -65.020050 1343.750000 -64.481941 1359.375000 -62.652424 1375.000000 -61.640785 1390.625000 -61.719952 1406.250000 -61.451962 1421.875000 -58.490433 1437.500000 -57.193993 1453.125000 -56.973965 1468.750000 -57.940182 1484.375000 -59.935654 1500.000000 -61.829227 1515.625000 -63.259266 1531.250000 -62.169945 1546.875000 -61.958508 1562.500000 -62.018082 1578.125000 -60.562317 1593.750000 -59.146374 1609.375000 -58.868763 1625.000000 -60.028801 1640.625000 -59.241119 1656.250000 -60.101322 1671.875000 -60.429554 1687.500000 -60.538834 1703.125000 -61.073635 1718.750000 -60.375114 1734.375000 -60.152672 1750.000000 -59.529144 1765.625000 -59.783649 1781.250000 -61.850414 1796.875000 -63.506111 1812.500000 -63.869320 1828.125000 -62.442127 1843.750000 -62.519482 1859.375000 -63.814472 1875.000000 -63.300858 1890.625000 -61.998482 1906.250000 -62.199738 1921.875000 -61.745621 1937.500000 -61.611210 1953.125000 -61.174740 1968.750000 -60.504318 1984.375000 -60.277737 2000.000000 -61.696060 2015.625000 -61.693054 2031.250000 -62.755184 2046.875000 -63.983723 2062.500000 -63.584675 2078.125000 -62.943420 2093.750000 -63.238541 2109.375000 -62.929970 2125.000000 -62.243599 2140.625000 -60.967789 2156.250000 -60.915421 2171.875000 -61.997654 2187.500000 -63.702518 2203.125000 -64.316109 2218.750000 -63.577995 2234.375000 -63.250530 2250.000000 -63.107010 2265.625000 -62.953743 2281.250000 -62.933647 2296.875000 -61.956242 2312.500000 -62.948036 2328.125000 -64.375603 2343.750000 -64.296860 2359.375000 -63.552139 2375.000000 -62.556362 2390.625000 -62.979954 2406.250000 -64.505875 2421.875000 -65.626236 2437.500000 -65.732819 2453.125000 -66.130798 2468.750000 -65.920502 2484.375000 -64.183731 2500.000000 -63.387459 2515.625000 -63.110027 2531.250000 -64.085106 2546.875000 -64.269905 2562.500000 -64.181808 2578.125000 -64.600060 2593.750000 -63.998692 2609.375000 -63.854473 2625.000000 -65.015961 2640.625000 -65.751480 2656.250000 -66.293800 2671.875000 -66.494102 2687.500000 -66.300240 2703.125000 -66.383118 2718.750000 -66.466385 2734.375000 -65.733604 2750.000000 -65.110283 2765.625000 -65.537567 2781.250000 -66.125465 2796.875000 -65.979088 2812.500000 -64.833984 2828.125000 -63.773678 2843.750000 -64.419113 2859.375000 -64.800369 2875.000000 -64.710480 2890.625000 -64.088387 2906.250000 -64.790306 2921.875000 -65.160469 2937.500000 -65.285408 2953.125000 -66.030342 2968.750000 -65.027481 2984.375000 -64.623558 3000.000000 -65.082748 3015.625000 -63.680820 3031.250000 -62.836716 3046.875000 -62.210663 3062.500000 -61.578278 3078.125000 -62.397720 3093.750000 -63.185940 3109.375000 -62.439983 3125.000000 -62.382778 3140.625000 -63.123928 3156.250000 -64.276588 3171.875000 -65.444725 3187.500000 -65.891289 3203.125000 -65.480240 3218.750000 -64.761063 3234.375000 -65.140015 3250.000000 -66.010643 3265.625000 -66.964401 3281.250000 -67.296051 3296.875000 -66.430000 3312.500000 -66.564758 3328.125000 -67.878830 3343.750000 -67.748436 3359.375000 -68.965981 3375.000000 -70.426888 3390.625000 -71.400375 3406.250000 -72.067627 3421.875000 -71.944176 3437.500000 -72.285637 3453.125000 -71.983047 3468.750000 -72.565109 3484.375000 -72.350845 3500.000000 -72.335533 3515.625000 -72.608849 3531.250000 -72.417786 3546.875000 -73.100441 3562.500000 -73.461548 3578.125000 -73.558250 3593.750000 -73.218422 3609.375000 -73.994888 3625.000000 -74.379204 3640.625000 -74.896202 3656.250000 -74.944405 3671.875000 -74.958710 3687.500000 -75.029655 3703.125000 -74.314133 3718.750000 -74.855209 3734.375000 -76.021591 3750.000000 -76.441444 3765.625000 -77.122787 3781.250000 -77.733589 3796.875000 -79.138847 3812.500000 -80.206360 3828.125000 -80.391960 3843.750000 -81.214249 3859.375000 -81.434105 3875.000000 -82.234749 3890.625000 -82.529884 3906.250000 -82.929169 3921.875000 -83.735237 3937.500000 -84.770660 3953.125000 -84.203438 3968.750000 -84.455025 3984.375000 -85.116302 2012-03-27 09:50:40.412101 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=320/320/2000 seq=38825 lw=28160 2012-03-27 09:50:40.433101 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=480/480/2000 seq=38826 lw=28320 2012-03-27 09:50:40.454100 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=640/640/2000 seq=38827 lw=28480 2012-03-27 09:50:40.475100 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=800/800/2000 seq=38828 lw=28640 2012-03-27 09:50:40.496100 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=960/960/2000 seq=38829 lw=28800 2012-03-27 09:50:40.517100 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=1120/1120/2000 seq=38830 lw=28960 2012-03-27 09:50:40.538100 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=1280/1280/2000 seq=38831 lw=29120 2012-03-27 09:50:40.559099 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=1440/1440/2000 seq=38832 lw=29280 2012-03-27 09:50:40.580099 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=1600/1600/2000 seq=38833 lw=29440 2012-03-27 09:50:40.601099 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=1760/1760/2000 seq=38834 lw=29600 2012-03-27 09:50:40.622098 [DEBUG] switch_rtp.c:2323 Send middle packet for [B] ts=28000 dur=1920/1920/2000 seq=38835 lw=29760 2012-03-27 09:50:40.643098 [DEBUG] switch_rtp.c:2323 Send end packet for [B] ts=28000 dur=2080/2080/2000 seq=38836 lw=29760 2012-03-27 09:50:40.643098 [DEBUG] switch_rtp.c:2323 Send end packet for [B] ts=28000 dur=2080/2080/2000 seq=38837 lw=29760 2012-03-27 09:50:40.643098 [DEBUG] switch_rtp.c:2323 Send end packet for [B] ts=28000 dur=2080/2080/2000 seq=38838 lw=29760 Any ideas? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 26 March 2012 18:39 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Strange DTMF Tones On Inbound Calls On Mon, Mar 26, 2012 at 3:01 AM, Daniel Knaggs <Daniel.Knaggs@realitysolutions.co.uk<mailto:Daniel.Knaggs@realitysolutions.co.uk>> wrote: OK, call recording has been setup – waiting for it to happen now. Interestingly, before I issue the “record_session” application (and of course the “RECORD_*” variables) I had to execute “ring_ready” then “pre_answer” otherwise the caller gets silence (changing the order of those two commands results in silence). I find it odd that just doing a pre_answer wouldn't be sufficient. A pre_answer will send a 183 w/SDP whereas ring_ready simply sends a 180. In any case, I'm glad you got your recordings. I also find it curious that only the "letter" DTMFs are being detected. Let us know if you actually hear those tones in the audio stream. -MC