I have the list below added at the end of acl.conf.xml, and incoming calls from 81.201.82.23, 81.201.82.25, 81.201.82.26, 81.201.82.27 gets dropped, because FreeSWITCH sends a "SIP/2.0 407 Proxy Authentication Required". But calls coming in from 81.201.82.24 and 81.201.82.28 are always successful. The range below is what Voxbone have recommended to use. Ivan <list name="voxbone" default="deny"> <node type="allow" cidr="81.201.82.0/26"/> <node type="allow" cidr="81.201.82.128/26"/> <node type="allow" cidr="81.201.83.0/26"/> <node type="allow" cidr="81.201.84.0/26"/> <node type="allow" cidr="81.201.84.128/26"/> <node type="allow" cidr="81.201.86.0/26"/> </list>
Did you add <param name="apply-inbound-acl" value="voxbone"/> to your sip profile? /b On Jul 12, 2008, at 6:40 AM, Ivan C Myrvold wrote:
I have the list below added at the end of acl.conf.xml, and incoming calls from 81.201.82.23, 81.201.82.25, 81.201.82.26, 81.201.82.27 gets dropped, because FreeSWITCH sends a "SIP/2.0 407 Proxy Authentication Required".
But calls coming in from 81.201.82.24 and 81.201.82.28 are always successful. The range below is what Voxbone have recommended to use.
Ivan
<list name="voxbone" default="deny"> <node type="allow" cidr="81.201.82.0/26"/> <node type="allow" cidr="81.201.82.128/26"/> <node type="allow" cidr="81.201.83.0/26"/> <node type="allow" cidr="81.201.84.0/26"/> <node type="allow" cidr="81.201.84.128/26"/> <node type="allow" cidr="81.201.86.0/26"/> </list>
_______________________________________________ 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
Yes, of course, else it would not have worked at all. My point is, it looks like that only some of the IP addresses in the range work, for some reason. Ivan Den 12. juli. 2008 kl. 15:11 skrev Brian West:
Did you add <param name="apply-inbound-acl" value="voxbone"/> to your sip profile?
/b
On Jul 12, 2008, at 6:40 AM, Ivan C Myrvold wrote:
I have the list below added at the end of acl.conf.xml, and incoming calls from 81.201.82.23, 81.201.82.25, 81.201.82.26, 81.201.82.27 gets dropped, because FreeSWITCH sends a "SIP/2.0 407 Proxy Authentication Required".
But calls coming in from 81.201.82.24 and 81.201.82.28 are always successful. The range below is what Voxbone have recommended to use.
Ivan
<list name="voxbone" default="deny"> <node type="allow" cidr="81.201.82.0/26"/> <node type="allow" cidr="81.201.82.128/26"/> <node type="allow" cidr="81.201.83.0/26"/> <node type="allow" cidr="81.201.84.0/26"/> <node type="allow" cidr="81.201.84.128/26"/> <node type="allow" cidr="81.201.86.0/26"/> </list>
_______________________________________________ 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
_______________________________________________ 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
what ip's are getting challenged? Also you can try them at the cli with the acl command to test. /b On Jul 12, 2008, at 8:44 AM, Ivan C Myrvold wrote:
Yes, of course, else it would not have worked at all. My point is, it looks like that only some of the IP addresses in the range work, for some reason.
Ivan
If you see in the following trace, http://pastebin.freeswitch.org/4801 These ip addresses get challenged 81.201.82.25 81.201.82.26 81.201.82.25 81.201.82.27 and all fails. But when a call from IP address recv 856 bytes from udp/[81.201.82.24]:5060 at 11:10:54.774931: ------------------------------------------------------------------------ INVITE sip:40215398108@85.165.194.90 SIP/2.0 comes in, it magically gets accepted by FreeSWITCH. Ivan Den 12. juli. 2008 kl. 15:50 skrev Brian West:
what ip's are getting challenged? Also you can try them at the cli with the acl command to test.
/b
On Jul 12, 2008, at 8:44 AM, Ivan C Myrvold wrote:
Yes, of course, else it would not have worked at all. My point is, it looks like that only some of the IP addresses in the range work, for some reason.
Ivan
_______________________________________________ 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
Can you open a bug on jira please... this isn't working correctly. I just verified. I might be wrong but lets open a jira and make sure. /b On Jul 12, 2008, at 9:24 AM, Ivan C Myrvold wrote:
If you see in the following trace, http://pastebin.freeswitch.org/4801
These ip addresses get challenged 81.201.82.25 81.201.82.26 81.201.82.25 81.201.82.27
and all fails.
But when a call from IP address recv 856 bytes from udp/[81.201.82.24]:5060 at 11:10:54.774931:
------------------------------------------------------------------------ INVITE sip:40215398108@85.165.194.90 SIP/2.0 comes in,
it magically gets accepted by FreeSWITCH.
Ivan
Den 12. juli. 2008 kl. 15:50 skrev Brian West:
what ip's are getting challenged? Also you can try them at the cli with the acl command to test.
/b
On Jul 12, 2008, at 8:44 AM, Ivan C Myrvold wrote:
Yes, of course, else it would not have worked at all. My point is, it looks like that only some of the IP addresses in the range work, for some reason.
Ivan
_______________________________________________ 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
_______________________________________________ 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
http://jira.freeswitch.org/browse/MODAPP-113 Ivan Den 12. juli. 2008 kl. 16:52 skrev Brian West:
Can you open a bug on jira please... this isn't working correctly. I just verified. I might be wrong but lets open a jira and make sure.
/b On Jul 12, 2008, at 9:24 AM, Ivan C Myrvold wrote:
If you see in the following trace, http://pastebin.freeswitch.org/4801
These ip addresses get challenged 81.201.82.25 81.201.82.26 81.201.82.25 81.201.82.27
and all fails.
But when a call from IP address recv 856 bytes from udp/[81.201.82.24]:5060 at 11:10:54.774931:
------------------------------------------------------------------------ INVITE sip:40215398108@85.165.194.90 SIP/2.0 comes in,
it magically gets accepted by FreeSWITCH.
Ivan
Den 12. juli. 2008 kl. 15:50 skrev Brian West:
what ip's are getting challenged? Also you can try them at the cli with the acl command to test.
/b
On Jul 12, 2008, at 8:44 AM, Ivan C Myrvold wrote:
Yes, of course, else it would not have worked at all. My point is, it looks like that only some of the IP addresses in the range work, for some reason.
Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Was working with mod_pocketsphinx and found it difficult to troubleshoot the failed loading of the dictionary files. Tried to open a JIRA to apply the patch on this but it told me the following: Issue Created Successfully You have successfully created the issue (MODASRTTS-6), however you do not have the permission to view the created issue. If you think this message is wrong, please consult your administrators <http://jira.freeswitch.org/secure/Administrators.jspa> about getting the necessary permissions. Anyways, here is the patch. Index: mod_pocketsphinx.c =================================================================== --- mod_pocketsphinx.c (revision 9003) +++ mod_pocketsphinx.c (working copy) @@ -125,12 +125,12 @@ model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model); if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary. %s\n", dic); goto end; } if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm); goto end; } *Chris Danielson* Software Consultant and Co-Founder Web: MaxPowerSoft, LLC <http://www.maxpowersoft.com/> Index: mod_pocketsphinx.c =================================================================== --- mod_pocketsphinx.c (revision 9003) +++ mod_pocketsphinx.c (working copy) @@ -125,12 +125,12 @@ model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model); if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary. %s\n", dic); goto end; } if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm); goto end; }
Chris, I've been doing some testing of mod_pocketsphinx as well. I have tested it on my AMD Dual Core 64-bit 4200+ and a Pentium 4 HT. Both with 1 gig of memory. I'm getting 100% CPU utilization on both during the recognition of a word or utterance. It pretty much brings everything to a halt until it's done and returns the result. This obviously causes the pizza demo to be fairly slow in its responses to voice input. I haven't been able to do much testing with lumenvox on freeswitch but using lumenvox on an Asterisk box the standard CPU utilization on my Pentium 4 hovers around 5%-15% during a recognition using a much larger grammar file than the ones used for the pizza demo. I'm sure, as its name suggest, that pocketsphinx can do better than that. Not sure how low level this is but it definitely seems to be happening in the sphinx code base. Any ideas..? Fred On Sat, Jul 12, 2008 at 2:34 PM, Chris Danielson <chris@maxpowersoft.com> wrote:
Was working with mod_pocketsphinx and found it difficult to troubleshoot the failed loading of the dictionary files. Tried to open a JIRA to apply the patch on this but it told me the following: Issue Created Successfully You have successfully created the issue (MODASRTTS-6), however you do not have the permission to view the created issue.
If you think this message is wrong, please consult your administrators<http://jira.freeswitch.org/secure/Administrators.jspa>about getting the necessary permissions.
Anyways, here is the patch.
Index: mod_pocketsphinx.c =================================================================== --- mod_pocketsphinx.c (revision 9003) +++ mod_pocketsphinx.c (working copy) @@ -125,12 +125,12 @@ model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model);
if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary. %s\n", dic); goto end; }
if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm); goto end; }
*Chris Danielson* Software Consultant and Co-Founder Web: MaxPowerSoft, LLC <http://www.maxpowersoft.com/>
Index: mod_pocketsphinx.c =================================================================== --- mod_pocketsphinx.c (revision 9003) +++ mod_pocketsphinx.c (working copy) @@ -125,12 +125,12 @@ model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model);
if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary. %s\n", dic); goto end; }
if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm); goto end; }
_______________________________________________ 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
I have reported this bug to david. Its related to getting the confidence scores it seems. /b On Jul 13, 2008, at 9:27 PM, Frederick Jabre wrote:
Chris,
I've been doing some testing of mod_pocketsphinx as well. I have tested it on my AMD Dual Core 64-bit 4200+ and a Pentium 4 HT. Both with 1 gig of memory. I'm getting 100% CPU utilization on both during the recognition of a word or utterance. It pretty much brings everything to a halt until it's done and returns the result. This obviously causes the pizza demo to be fairly slow in its responses to voice input.
I haven't been able to do much testing with lumenvox on freeswitch but using lumenvox on an Asterisk box the standard CPU utilization on my Pentium 4 hovers around 5%-15% during a recognition using a much larger grammar file than the ones used for the pizza demo.
I'm sure, as its name suggest, that pocketsphinx can do better than that. Not sure how low level this is but it definitely seems to be happening in the sphinx code base.
Any ideas..?
Fred
On Sat, Jul 12, 2008 at 2:34 PM, Chris Danielson <chris@maxpowersoft.com
wrote: Was working with mod_pocketsphinx and found it difficult to troubleshoot the failed loading of the dictionary files. Tried to open a JIRA to apply the patch on this but it told me the following: Issue Created Successfully
You have successfully created the issue (MODASRTTS-6), however you do not have the permission to view the created issue. If you think this message is wrong, please consult your administrators about getting the necessary permissions.
Anyways, here is the patch.
Index: mod_pocketsphinx.c =================================================================== --- mod_pocketsphinx.c (revision 9003) +++ mod_pocketsphinx.c (working copy) @@ -125,12 +125,12 @@ model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model);
if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary. %s\n", dic); goto end; }
if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm); goto end; }
Chris Danielson Software Consultant and Co-Founder Web: MaxPowerSoft, LLC
Index: mod_pocketsphinx.c =================================================================== --- mod_pocketsphinx.c (revision 9003) +++ mod_pocketsphinx.c (working copy) @@ -125,12 +125,12 @@ model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model);
if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary. %s\n", dic); goto end; }
if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm); goto end; }
_______________________________________________ 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
_______________________________________________ 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
Brian West sip:brian@freeswitch.org
participants (4)
-
Brian West
-
Chris Danielson
-
Frederick Jabre
-
Ivan C Myrvold