On 06/19/06 20:42, Kelvin Williams wrote:

My OpenSER box receives an Invite to sip:[EMAIL PROTECTED]:5060 – my XPro is registered as [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.

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
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to