You would need two steps here, looup("aliases"), then
lookup("location").
Zeus
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Richard Z
Sent: Wednesday, 3 August 2005 3:33 AM
To: Atle Samuelsen
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] lookup 2 uri
Hi Atle,
Alias doesn't replace uri with its real location. I'd like to use
lookup("location") to find out its real location. For
example, if 102(a)test.com is at 102(a)10.1.1.102 and
103(a)test.com is at 103(a)10.1.1.103. I'd like to replace all
uris with 102(a)10.1.1.102 and 103(a)10.1.1.103 in a single ser
transaction logic. Would it be possible?
Thanks,
Richard
On 8/1/05, Atle Samuelsen <clona(a)camaro.no> wrote:
Hi,
you could do something like :
serctl alias add 101 sip:102@test.com
serctl alias add 101 sip:103@test.com
This way the invite would be forked to both 102 and 103,
just remember to have both lookup("aliases"); and
save("aliases"); in
your config at the right spot :-)
-Atle
* Richard Z <rzheng(a)gmail.com> [050802 04:34]:
> Hi,
>
> I am trying to implement a feature to ring two ip phones
> simultaneously. For example, when I call 101(a)test.com, it
rings both
> 101(a)test.com and 102(a)test.com. In this case,
the ruri is
> 101(a)test.com. I can use append_branch 102(a)test.com, but
is there a
way to
lookup the locations of both 101 and 102?
Thanks,
Richard
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers