[Freeswitch-users] dialing a alphanumeric user
Adolfo Delorenzo
adolfo at delorenzo.mobi
Thu Sep 16 18:32:14 PDT 2010
Anthony,
Cool! It worked. In case anyone would like to know how:
<extension name="capture alphanumeric" >
<condition field="destination_number" expression="^(.*)$">
<action application="bridge" data="user/$1@${domain}"/>
</condition>
</extension>
Thanks!
On 16 September 2010 20:29, Anthony Minessale
<anthony.minessale at gmail.com>wrote:
> you could make an extension that does a regex capture for non-numeric
> destinations and then bridges to user/$1
>
>
> On Thu, Sep 16, 2010 at 6:14 PM, Adolfo Delorenzo <adolfo at delorenzo.mobi>
> wrote:
> > Hello,
> >
> > I am trying to call an alphanumeric user, for example john at domain.comand it
> > doesn't work. I get a [NO_ROUTE_DESTINATION] error message. It only works
> if
> > I add the number-alias option and dial the numeric extension.
> >
> > My user extension config (without number-alias) as follows:
> >
> > <include>
> > <user id="john">
> > <params>
> > <param name="password" value="1234"/>
> > <param name="vm-password" value="1234"/>
> > </params>
> > <variables>
> > <variable name="toll_allow" value=""/>
> > <variable name="accountcode" value="john"/>
> > <variable name="user_context" value="default"/>
> > <variable name="effective_caller_id_name" value="John Doe"/>
> > </variables>
> > </user>
> > </include>
> >
> > What am I doing wrong?
> >
> > Thanks
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100916/c43b3d97/attachment.html
More information about the FreeSWITCH-users
mailing list