[OpenSIPS-Users] DDI numbers
Philipp Hoffmann
philipp.hoffmann at arcor.de
Tue Apr 6 18:24:49 CEST 2010
Here I can't use regular expressions,...
----- Original Nachricht ----
Von: Laszlo <laszlo at voipfreak.net>
An: OpenSIPS users mailling list <users at lists.opensips.org>
Datum: 06.04.2010 18:21
Betreff: Re: [OpenSIPS-Users] DDI numbers
> 2010/4/6 Philipp Hoffmann <philipp.hoffmann at arcor.de>
>
> > Hi list,
> >
> > we want to route our costumers ddi numbers, so we should use the dialplan
> > module.
> >
> > If I run dp_translate("$rU/$rU"), the number should be translate to the
> > username. Example:
> >
> > +49208123456 --> user at domain.de
> >
> > What I need to fill in match_exp for this (no ddis)?
> >
> > And what is required for two extra digits after the real number (ddi)?
> > Example:
> >
> > +4920812345610 --> user at domain.de
> >
> > or
> >
> > +4920812345611 --> user at domain.de
> >
> > or
> >
> > +4920812345699 --> user at domain.de
> >
> > Thanks,
> > Philipp
> >
>
> So you would like to assign DIDs to your sip users?
> If so, why don't you use dbaliases for this purpose?
>
> -Laszlo
>
>
> --------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list