<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Michael - thank you for taking a look at the code.<br>
<br>
The user_ID for <a class="moz-txt-link-abbreviated" href="mailto:User1@example.com">User1@example.com</a> is lower case "user1", but the
user is able to successfully register as "User1". <br>
<br>
Policy is good, but it's always nice to be able to enforce policy in
code. Is there a way to force all registrations to match the case
of the User_ID? I haven't seen anything in the wiki or the book that
seemed to do that.<br>
<br>
Here is an example of one of our user accounts from the directory -
are we missing something there?:<br>
<br>
<user id="adam.smith" number-alias="1001" mailbox="1001"><br>
<params><br>
<param name="password" value = "NotARealPassword"/><br>
<param name="vm-password" value = "****"/><br>
<param name="vm-email-all-messages" value = "true"/><br>
<param name="vm-attach-file" value = "true"/><br>
<param name="vm-keep-local-after-email" value =
"true"/><br>
<param name="vm-mailto" value =
<a class="moz-txt-link-rfc2396E" href="mailto:adam.smith@ParcelPool.com">"adam.smith@ParcelPool.com"</a>/><br>
</params><br>
<variables><br>
<variable name="toll_allow"
value="domestic,international,local"/><br>
<variable name="accountcode" value="1001"/><br>
<variable name="user_context" value="default"/><br>
</variables><br>
</user><br>
<br>
<br>
<br>
On 10/1/2010 4:35 PM, Michael Collins wrote:
<blockquote
cite="mid:AANLkTim+FOi70+zkeg4ODbz=Dd1TYYW3WFWH3otaShjx@mail.gmail.com"
type="cite">What's the user_id of "<a moz-do-not-send="true"
href="mailto:User1@example.com">User1@example.com</a>"? Is it
"User1" or "user1"? (BTW, this is a classic example of why
alphanumeric usernames are a bad idea in a telephony environment.)<br>
<br>
I would recommend that you enforce some policy, like always use
all lower case. (I've poked around in the source code and I don't
see any easy way to make alpha usernames be case insensitive.)<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Fri, Oct 1, 2010 at 2:50 PM, Peter
Hinman <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Peter.Hinman@parcelpool.com">Peter.Hinman@parcelpool.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> I'm trying to get FS working with
alphanumeric UserIDs. I'm running<br>
into a problem when user1 registers using mixed case (<a
moz-do-not-send="true" href="mailto:User1@example.com">User1@example.com</a>)<br>
and then user2 tries to reach user1 by dialing "user1" instead
of "User1".<br>
<br>
FS fails to make the connection between the two extensions and
reports:<br>
[ERR] switch_ivr_originate.c:2648 Cannot create outgoing
channel of type<br>
[error] cause: [USER_NOT_REGISTERED]<br>
<br>
The dial plan string for bridging my internal users is:<br>
<action application="bridge"<br>
data="user/${dialed_extension}@${domain_name}"/><br>
<br>
Is there a way to use alphanumeric UserIDs and bridge calls
between<br>
internal extensions when the dialing user doesn't know exactly
how<br>
(upper, lower, mixed case) the destination user/extension
registered<br>
with FS?<br>
<br>
--<br>
Peter Hinman<br>
ParcelPool.com<br>
Office: 801-434-7400<br>
Cell: 801-830-8292<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Peter Hinman
ParcelPool.com
Office: 801-434-7400
Cell: 801-830-8292 </pre>
</body>
</html>