[Users] Re: [Devel] possibility to access dst_uri
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Oct 11 11:31:22 CEST 2005
Hi Richard,
in this case you may try this (calls to user1 have to go also to user2) :
# ruri is set to user1;
lookup();
# is RURI and dset you have user1 contacts
# move the RURI also into dset ->
append_branch();
# move user2 AOR into RURI
avp_write(...); # or whatever
lookup();
# RURI will be set to contact of user2; rest of contacts will be
added in dset.
let me know if this works.
regards,
bogdan
Richard Z wrote:
> That would require the call looped back to ser, won't it? This
> requires a little bit more complex ser config which I tried to avoid.
>
> Thanks,
> Richard
>
>
> On 10/10/05, *Bogdan-Andrei Iancu* <bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro>> wrote:
>
> Hi Richard,
>
> as Juha said, the easiest way will be by setting as contact for user 1
> the AOR of user 2.
>
> regards,
> bogdan
>
> Richard Z wrote:
>
> >Hi Bogdan,
> >
> >In another thread, I talked about implementing a ring-both feature.
> >Call one user would ring another user as well as the registered user.
> >One way would be to do a lookup on one user, save all ruris and
> >associated dst_uris to avps. Perhaps one avp for both ruri and
> >dst_uri. Push the second user, another lookup, save the ruris and
> >dst_uris. Then reload all avps.
> >
> >I don't think the logic can be implemented in branch route because it
> >is only called right before t_relay.
> >
> >Any thoughts?
> >
> >Thanks,
> >Richard
>
More information about the Devel
mailing list