[Serusers] lookup 2 uri

Richard Z rzheng at gmail.com
Tue Aug 2 19:33:16 CEST 2005


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 at test.com is at 102 at 10.1.1.102 and 103 at test.com is at
103 at 10.1.1.103. I'd like to replace all uris with 102 at 10.1.1.102 and
103 at 10.1.1.103 in a single ser transaction  logic. Would it be
possible?

Thanks,
Richard


On 8/1/05, Atle Samuelsen <clona at camaro.no> wrote:
> 
> Hi,
> 
> you could do something like :
> 
> serctl alias add 101 sip:102 at test.com
> serctl alias add 101 sip:103 at 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 at 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 at test.com, it rings both
> > 101 at test.com and 102 at test.com. In this case, the ruri is 101 at test.com.
> > I can use append_branch 102 at test.com, but is there a way to lookup the
> > locations of both 101 and 102?
> >
> > Thanks,
> > Richard
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>




More information about the sr-users mailing list