[Users] avp_write
Richard Z
rzheng at gmail.com
Fri Aug 19 19:05:03 CEST 2005
The application of this is for checking if any of the branches ip
address same as the source ip,
http://www.voice-system.ro/docs/avpops/ar01s08.html#ex_org_dst
If all of them are the same as src_ip, I can have the media going
directly between UAs.
Bogdan, is avp_print capable of implementing this?
Thanks,
Richard
On 8/18/05, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
> If it helps, the first branch and the comma separated list of all
> branches can be written in an AVP using the pseudo-variables $br and $bR
> with avp_printf() -
> http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_printf .
>
> Daniel
>
>
> On 08/19/05 11:13, Bogdan-Andrei Iancu wrote:
>
> > Hi Richard,
> >
> > only the RURI will be written into AVP - the branches will be ignored.
> > Do you see a case for this? because it can be implemented quite easy.....
> >
> > regards,
> > bogdan
> >
> > Richard Z wrote:
> >
> >> Hi,
> >>
> >> If there are multiple branches, will
> >> avp_write("$ruri/username","i:123") generate multiple avps with each
> >> for one branch? Or it only grabs the first one?
> >>
> >> Thanks,
> >> Richard
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at openser.org
> >> http://openser.org/cgi-bin/mailman/listinfo/users
> >>
> >>
> >>
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
>
More information about the sr-users
mailing list