<div dir="ltr"><div>That&#39;s a bit outside my area of expertise, but I would suggest that you grep around and see if number-alias is used anywhere else in the code base. If it is then maybe you could emulate what it&#39;s doing and work up a patch for the devs to review.<br>
<br></div>-MC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 9:30 AM, Lloyd Aloysius <span dir="ltr">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi MC</div><div class="gmail_default" style="font-family:verdana,sans-serif">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">


Thank you. I try that no luck.Then I look into the code, the code is not checking the <span style="line-height:1.3em;font-size:13px;background-color:rgb(249,249,249);font-family:monospace,Courier">number-alias. Can we add a check if id lookup failed check the </span><span style="line-height:1.3em;font-size:13px;background-color:rgb(249,249,249);font-family:monospace,Courier">number-alias?</span></div>



<div class="gmail_default" style="font-family:verdana,sans-serif"><span style="line-height:1.3em;font-size:13px;background-color:rgb(249,249,249);font-family:monospace,Courier"><br></span></div><div class="gmail_default" style="font-family:verdana,sans-serif">



<a href="http://jira.freeswitch.org/browse/FS-5841" target="_blank">http://jira.freeswitch.org/browse/FS-5841</a><span style="line-height:1.3em;font-size:13px;background-color:rgb(249,249,249);font-family:monospace,Courier"><br>



</span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">



<span style="font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px"><font color="#000000">1726         status =</font><b> switch_xml_locate_user_merged(</b><font color="#0000ff">&quot;id&quot;</font><b>, vm_cc, cbt-&gt;domain, NULL, &amp;x_user, my_params); </b></span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">



<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">          1727         switch_event_destroy(&amp;my_params); </span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">



<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">          1728        </span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">
<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">          1729         if (status != SWITCH_STATUS_SUCCESS) { </span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">



<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">          1730         switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, </span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">



<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">          1731         &quot;Failed to forward message - Cannot locate user %s@%s\n&quot;, vm_cc, cbt-&gt;domain); </span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">



<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">9203183</span><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"> </span><br>
<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">1723        1732         TRY_CODE(switch_ivr_phrase_macro(session, VM_INVALID_EXTENSION_MACRO, vm_cc, NULL, NULL));</span><br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_extra"><br clear="all"><div><font face="verdana, sans-serif"><div><span style="font-family:arial"><font face="verdana, sans-serif"><div>



<font face="verdana, sans-serif"><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">Thank you</div></font></div><div><font face="verdana, sans-serif"><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">


Lloyd</div></font></div></font></span></div></font></div>
<br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 12:23 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div><div>I would start here:<br><br><a href="https://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Alphanumeric_to_numeric_user_mapping" target="_blank">https://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Alphanumeric_to_numeric_user_mapping</a><br>




<br></div>Give that a whirl and let us know if you have success.<br></div>-MC<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Thu, Oct 3, 2013 at 7:53 AM, Lloyd Aloysius <span dir="ltr">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi All</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">

I use non numeric id at user configuration(&lt;user id=&quot;mike&quot; &gt;). All my dial plans in lua.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">






<b>Problem :</b> when a user logged into his voicemail and try forward a message to another user&#39;s voicemail, mod_voicemail do not understand the extension number and always say invalid.</div><div class="gmail_default" style="font-family:verdana,sans-serif">






<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Is there any way map extension number to user id , so that mod_voicemail can get the non_numeric id and forward the voicemail?</div><div class="gmail_default" style="font-family:verdana,sans-serif">






<br></div><br clear="all"><div><font face="verdana, sans-serif"><div><span style="font-family:arial"><font face="verdana, sans-serif"><div><font face="verdana, sans-serif">Thanks <span><font color="#888888"><br>
<br></font></span></font></div><span><font color="#888888"><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">

Lloyd</div></div></font></span></font></span></div></font></div>
</div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>