Hello List, I have a freeswitch server with a digium tdm wildcard. Compiled, enabled, and configured freetdm and dahdi...all seems to be working fine (can make/receive calls). My problem is with dtmf. When calling from an external pstn number to freeswitch, dtmf seems to be detected properly and consistently. But when calling from a cell phone or via another voip line, dtmf doesn't seem to be detected, or detected only occasionally. On the same system, if I call into the voip number, calls from any of the three external options (landline, cell, sip) all seem to work fine with dtmf. So the problem seems to be something I've misconfigured with the tdm card. Can anyone point me in the right direction? Thank you, Tim
14.01.2013 06:39, Tim Bock пишет:
I have a freeswitch server with a digium tdm wildcard. Compiled, enabled, and configured freetdm and dahdi...all seems to be working fine (can make/receive calls).
My problem is with dtmf. When calling from an external pstn number to freeswitch, dtmf seems to be detected properly and consistently. But when calling from a cell phone or via another voip line, dtmf doesn't seem to be detected, or detected only occasionally.
On the same system, if I call into the voip number, calls from any of the three external options (landline, cell, sip) all seem to work fine with dtmf.
So the problem seems to be something I've misconfigured with the tdm card. Can anyone point me in the right direction? Hm. Completely the same problem.
Can someone help? Here is the log http://pastebin.freeswitch.org/20447 -- WBR, Viacheslav Dubrovskyi
I can tell you how I solved the problem I was having. Don't know if this is preferred, or if there is a better way, but I'm now able to detect dtmf from all sources (pstn, cell, sip). Apparently, mod spandsp has better dtmf detection than the dtmf detection in the freeswitch core. On the wiki page for spandsp (http://wiki.freeswitch.org/wiki/Mod_spandsp), there is a section on dtmf. I added the spandsp_start_dtmf parameter before calling the ivr, and that fixed my issue. Hope this helps, Tim On 01/15/2013 09:02 AM, Viacheslav Dubrovskyi wrote:
14.01.2013 06:39, Tim Bock ?????:
I have a freeswitch server with a digium tdm wildcard. Compiled, enabled, and configured freetdm and dahdi...all seems to be working fine (can make/receive calls).
My problem is with dtmf. When calling from an external pstn number to freeswitch, dtmf seems to be detected properly and consistently. But when calling from a cell phone or via another voip line, dtmf doesn't seem to be detected, or detected only occasionally.
On the same system, if I call into the voip number, calls from any of the three external options (landline, cell, sip) all seem to work fine with dtmf.
So the problem seems to be something I've misconfigured with the tdm card. Can anyone point me in the right direction? Hm. Completely the same problem.
Can someone help?
Here is the log http://pastebin.freeswitch.org/20447
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Tim Bock Synacktics, LLC www.synacktics.com (505)795-1511
15.01.2013 21:39, Tim Bock ?????:
I can tell you how I solved the problem I was having. Don't know if this is preferred, or if there is a better way, but I'm now able to detect dtmf from all sources (pstn, cell, sip).
Apparently, mod spandsp has better dtmf detection than the dtmf detection in the freeswitch core. On the wiki page for spandsp (http://wiki.freeswitch.org/wiki/Mod_spandsp), there is a section on dtmf. I added the spandsp_start_dtmf parameter before calling the ivr, and that fixed my issue.
Hope this helps,
Thank you so much! -- WBR, Viacheslav Dubrovskyi
Hi, Thought I would update this for list posterity. Although the spandsp_start_dtmf trick seemed to work for me, I soon discovered that I now had an echo problem, previously banished with oslec. Indeed, lsmod still showed that oslec was loaded, and dahdi_cfg claimed that it was enabled for the channels in question. But when I would make or receive calls through the tdm card, I would not see the output of "cat /proc/dahdi/1" change. It remained "OSLEC - INACTIVE." I also began poring through the logs (past and present), and soon realized that freetdm does start a software dtmf detector (and in fact this had worked in the past). So, there was something else going on. I was trying various things, and looking through the list and docs, when (seemingly) all of a sudden, the echo went away and now the dtmf was detecting two keypresses for every single keypress. Ok, sure, understandable since I had turned on spandsp_dtmf in addition to freetdm's dtmf detector, but why now? And why did the echo magically disappear? Eventually, I figured out that it was related to me connecting/disconnecting the fxo port, which I do since I'm using my home line for testing. Something (freetdm or dahdi, presumably) doesn't like that. What fixes it is to have the trunk line connected when the freeswitch server is rebooted. There is undoubtedly a "smaller hammer" solution, but I haven't figured it out yet. Just stopping and restarting freeswitch doesn't do it. The upshot is that I removed the spandsp_start_dtmf from my dialplan. Rebooting with the trunk port occupied fixed all of the sins. Tim On 01/15/2013 12:39 PM, Tim Bock wrote:
I can tell you how I solved the problem I was having. Don't know if this is preferred, or if there is a better way, but I'm now able to detect dtmf from all sources (pstn, cell, sip).
Apparently, mod spandsp has better dtmf detection than the dtmf detection in the freeswitch core. On the wiki page for spandsp (http://wiki.freeswitch.org/wiki/Mod_spandsp), there is a section on dtmf. I added the spandsp_start_dtmf parameter before calling the ivr, and that fixed my issue.
Hope this helps, Tim
On 01/15/2013 09:02 AM, Viacheslav Dubrovskyi wrote:
14.01.2013 06:39, Tim Bock ?????:
I have a freeswitch server with a digium tdm wildcard. Compiled, enabled, and configured freetdm and dahdi...all seems to be working fine (can make/receive calls).
My problem is with dtmf. When calling from an external pstn number to freeswitch, dtmf seems to be detected properly and consistently. But when calling from a cell phone or via another voip line, dtmf doesn't seem to be detected, or detected only occasionally.
On the same system, if I call into the voip number, calls from any of the three external options (landline, cell, sip) all seem to work fine with dtmf.
So the problem seems to be something I've misconfigured with the tdm card. Can anyone point me in the right direction? Hm. Completely the same problem.
Can someone help?
Here is the loghttp://pastebin.freeswitch.org/20447
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Tim Bock Synacktics, LLC www.synacktics.com (505)795-1511
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
14.01.2013 06:39, Tim Bock пишет:
Hello List,
I have a freeswitch server with a digium tdm wildcard. Compiled, enabled, and configured freetdm and dahdi...all seems to be working fine (can make/receive calls).
My problem is with dtmf. When calling from an external pstn number to freeswitch, dtmf seems to be detected properly and consistently. But when calling from a cell phone or via another voip line, dtmf doesn't seem to be detected, or detected only occasionally.
On the same system, if I call into the voip number, calls from any of the three external options (landline, cell, sip) all seem to work fine with dtmf.
So the problem seems to be something I've misconfigured with the tdm card. Can anyone point me in the right direction? Found this post http://fonality.com/trixbox/forums/trixbox-forums/help/inbound-dtmf-pri-t-an...
It seems that explains. But I not sure. -- WBR, Viacheslav Dubrovskyi
Hi, Mine was a combination of things. One problem seemed to be as I described in an earlier post, that something (dahdi?) was not happy if I disconnected the trunk lines. This manifested as the dtmf problem and echo cancelling problem (and "cat /proc/dahdi/1" would show oslec as INACTIVE). Even after figuring out that shutting down the machine and restarting helped, I still had an occasional echo problem even though "cat /prod/dahdi/1" showed that oslec was active. I eventually fixed that by increasing the taps to 128 in zt.conf. As you can no doubt tell from my posts, I am a relative noob to freeswitch, but these are things which worked for me. I did a previous installation which was sip only (no analog card), and that was much easier! Best, Tim On 01/22/2013 02:16 AM, Viacheslav Dubrovskyi wrote:
14.01.2013 06:39, Tim Bock ?????:
Hello List,
I have a freeswitch server with a digium tdm wildcard. Compiled, enabled, and configured freetdm and dahdi...all seems to be working fine (can make/receive calls).
My problem is with dtmf. When calling from an external pstn number to freeswitch, dtmf seems to be detected properly and consistently. But when calling from a cell phone or via another voip line, dtmf doesn't seem to be detected, or detected only occasionally.
On the same system, if I call into the voip number, calls from any of the three external options (landline, cell, sip) all seem to work fine with dtmf.
So the problem seems to be something I've misconfigured with the tdm card. Can anyone point me in the right direction? Found this post http://fonality.com/trixbox/forums/trixbox-forums/help/inbound-dtmf-pri-t-an...
It seems that explains. But I not sure.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Tim Bock Synacktics, LLC www.synacktics.com (505)795-1511
participants (2)
-
Tim Bock
-
Viacheslav Dubrovskyi