Hi Anton,

lookup() function replaces the RURI (the AOR- address of record of a 
user) with whatever contact the user uploaded via REGISTER to the 
server. You can see the current registrations via "opensipsctl ul show" .

In your care user "[email protected]" registered with 
"[email protected]:5060" contact...

Regards,
Bogdan

Антон Загорский wrote:
> Hi!
>
> I'm using subdomains. But lookup("location", "m") substitutes ip instead of
> domain's name.
> Here is log:
> DBG:dialplan:translate: the rule's attrs are internal
> DBG:dialplan:translate: the copied attributes are: internal
> DBG:dialplan:rule_translate: null replacement
> DBG:dialplan:dp_translate_f: input sip:[email protected] with dpid 0 =>
> output
> DBG:core:comp_scriptvar: str 20 : internal
> last message repeated 5 times
> DBG:registrar:lookup: setting as ruri <sip:[email protected]:5060>
> DBG:registrar:lookup: looking for branches
>  
> Why?
>  
>
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro


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

Reply via email to