<div>Hello, </div><div>what you did might work and might be ok for testing purposes but I suggest you change the value of the expression &quot;^(.*)$&quot; for something more specific, it is not safe to bridge to whatever is being sent to you without sanitizing the data!</div>
<div><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 8:32 PM, Adolfo Delorenzo <span dir="ltr">&lt;<a href="mailto:adolfo@delorenzo.mobi">adolfo@delorenzo.mobi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Anthony,<br><br>Cool! It worked. In case anyone would like to know how:<br><br>&lt;extension name=&quot;capture alphanumeric&quot; &gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(.*)$&quot;&gt;<br>

       &lt;action application=&quot;bridge&quot; data=&quot;user/$1@${domain}&quot;/&gt;<br>   &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>Thanks!<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On 16 September 2010 20:29, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</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">you could make an extension that does a regex capture for non-numeric<br>
destinations and then bridges to user/$1<br>
<div><div></div><div><br>
<br>
On Thu, Sep 16, 2010 at 6:14 PM, Adolfo Delorenzo &lt;<a href="mailto:adolfo@delorenzo.mobi" target="_blank">adolfo@delorenzo.mobi</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am trying to call an alphanumeric user, for example <a href="mailto:john@domain.com" target="_blank">john@domain.com</a> and it<br>
&gt; doesn&#39;t work. I get a [NO_ROUTE_DESTINATION] error message. It only works if<br>
&gt; I add the number-alias option and dial the numeric extension.<br>
&gt;<br>
&gt; My user extension config (without number-alias) as follows:<br>
&gt;<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;user id=&quot;john&quot;&gt;<br>
&gt;     &lt;params&gt;<br>
&gt;       &lt;param name=&quot;password&quot; value=&quot;1234&quot;/&gt;<br>
&gt;       &lt;param name=&quot;vm-password&quot; value=&quot;1234&quot;/&gt;<br>
&gt;     &lt;/params&gt;<br>
&gt;     &lt;variables&gt;<br>
&gt;       &lt;variable name=&quot;toll_allow&quot; value=&quot;&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;accountcode&quot; value=&quot;john&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;John Doe&quot;/&gt;<br>
&gt;     &lt;/variables&gt;<br>
&gt;   &lt;/user&gt;<br>
&gt; &lt;/include&gt;<br>
&gt;<br>
&gt; What am I doing wrong?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<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>
</blockquote></div><br>
</div></div><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></div>