ok, in SER 2.0 you can use:
if (registered("location",(a)from.uri)) {
...
}
Michal
On Thu, 2007-09-13 at 12:23 +0700, Tung Tran wrote:
Hi,
I got this in iptel doc:
registered(domain)
The function returns true if the AOR in the Request-URI is registered,
false otherwise. The function does not modify the message being
process, it neither rewrites the Request-URI if a contact is found not
append branches.
But I want to check the from user if it is registered or not, any
command can do this?
Thank you
Tung
> if (registered("location")) {
> ..
> }
>
> M.
>
> On Thu, 2007-09-13 at 00:12 +0700, Tung Tran wrote:
>> Hi all,
>>
>> Should anyone please help how to check the from user in INVITE
>> request is already registered?
>>
>> Thanks you very much.
>>
>> Tung