<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 "^(.*)$" 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"><<a href="mailto:adolfo@delorenzo.mobi">adolfo@delorenzo.mobi</a>></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><extension name="capture alphanumeric" ><br> <condition field="destination_number" expression="^(.*)$"><br>
<action application="bridge" data="user/$1@${domain}"/><br> </condition><br></extension><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"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.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">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 <<a href="mailto:adolfo@delorenzo.mobi" target="_blank">adolfo@delorenzo.mobi</a>> wrote:<br>
> Hello,<br>
><br>
> 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>
> doesn't work. I get a [NO_ROUTE_DESTINATION] error message. It only works if<br>
> I add the number-alias option and dial the numeric extension.<br>
><br>
> My user extension config (without number-alias) as follows:<br>
><br>
> <include><br>
> <user id="john"><br>
> <params><br>
> <param name="password" value="1234"/><br>
> <param name="vm-password" value="1234"/><br>
> </params><br>
> <variables><br>
> <variable name="toll_allow" value=""/><br>
> <variable name="accountcode" value="john"/><br>
> <variable name="user_context" value="default"/><br>
> <variable name="effective_caller_id_name" value="John Doe"/><br>
> </variables><br>
> </user><br>
> </include><br>
><br>
> What am I doing wrong?<br>
><br>
> Thanks<br>
><br>
</div></div>> _______________________________________________<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>
><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>