Hi,
if you need something dynamic based on AVPs, see the previous reply from
John Peters (same thread).
regards,
bogdan
raviprakash sunkara wrote:
Hi Bogdan,
Good Morning,
I'm Also Do the Same part,
Suppose Some My Subscriber's are wanted the Pickup or group ring for
them,
For simple static routing is not needed,
THen How Can I do ? for my more Subscriber listers,
Is I need to the use AVPOPS modules ,,,,,,,,,,,,,,,
Help me !
On 2/8/07, *Bogdan-Andrei Iancu* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
or you need a very, very simple static routing, just use
append_branch() :
#replace current uri with first destination
seturi("sip:[EMAIL PROTECTED]");
#add the next destinations as branches
append_branch("sip:[EMAIL PROTECTED]");
append_branch("sip:[EMAIL PROTECTED] ");
regards,
bogdan
John Peters wrote:
> Hi
>
> For parallel forking or group ringing, you can use avp_db_load. For
> example:
>
> if (avp_db_load("$ruri/username", "$avp(s:cfu)/forward")) {
> xlog("cfu: $avp(s:cfu)\n.");
> avp_pushto("$ruri", "$avp(s:cfu)/g");
> };
>
> Use the "g" option to add all URIs. I believe you may also be
able to
> set it statically like:
>
> modparam("avpops","avp_aliases","myGroup=i:665")
>
> avp_write("sip:[EMAIL PROTECTED]", "$myGroup");
> avp_write(" sip:[EMAIL PROTECTED]", "$myGroup");
> avp_pushto("$ruri", "$myGroup/g");
>
> And of course, if multiple endpoints are configured to use the same
> account and username, by default that account will ring to all
those
> contacts.
>
> On 2/7/07, *Stefano Capitanio* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>
wrote:
>
> Hi list,
>
> is it possible to set a Pickup-Group in openser?
> what i want is that a call directed for example to
sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]>
> <mailto: sip <mailto:sip>:[EMAIL PROTECTED] <mailto:[EMAIL
PROTECTED]>>
> is forwarded to two different users, let's say
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> and [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> (in
> parallel)
> maybe I can use "rewriteuser" and "append_brach" but I can'
find the
> right way!
>
> thank you for any help,
> Stefano
>
>
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users