[Users] Dumb Newbie Question
Daniel-Constantin Mierla
daniel at voice-system.ro
Mon Jun 19 20:19:23 CEST 2006
On 06/19/06 20:42, Kelvin Williams wrote:
>
> My OpenSER box receives an Invite to
> sip:+11234567890 at ip.add.re.ss:5060 – my XPro is registered as
> Kelvin at my.domain.com <mailto:Kelvin at my.domain.com>.
>
> When I receive this call, to my number 11234567890 – how do I make my
> XPro ring?
>
If you have only one account, then you can do it from the script:
rewriteuser("Kelvin");
lookup("location");
t_relay();
If you have many, you better use aliases. So just point 11234567890 to
kelvin in aliases table (see alias_db module
http://openser.org/docs/modules/1.0.x/alias_db.html) and then perform
user location lookup (see registrar/usrloc modules). It will translate in:
alias_db_lookup("dbaliases");
lookup("location");
t_relay();
Cheers,
Daniel
> kw
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list