On 06/19/06 20:42, Kelvin Williams wrote:
My OpenSER box receives an Invite to sip:+11234567890@ip.add.re.ss:5060 – my XPro is registered as Kelvin@my.domain.com mailto:Kelvin@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users