You would need two steps here, looup("aliases"), then lookup("location").
Zeus
-----Original Message----- From: serusers-bounces@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@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@test.com is at 102@10.1.1.102 and 103@test.com is at 103@10.1.1.103. I'd like to replace all uris with 102@10.1.1.102 and 103@10.1.1.103 in a single ser transaction logic. Would it be possible?
Thanks, Richard
On 8/1/05, Atle Samuelsen clona@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@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@test.com, it
rings both
101@test.com and 102@test.com. In this case, the ruri is 101@test.com. I can use append_branch 102@test.com, but
is there a
way to lookup the locations of both 101 and 102?
Thanks, Richard
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers