[Kamailio-Devel] SF.net SVN: openser:[4912] trunk/modules

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 15 16:33:56 CEST 2008


Revision: 4912
          http://openser.svn.sourceforge.net/openser/?rev=4912&view=rev
Author:   miconda
Date:     2008-09-15 14:33:49 +0000 (Mon, 15 Sep 2008)

Log Message:
-----------
- new module to collect PV implementations
- for now it has new class: $(branch(name)[index])
- name can be
	- uri - uri of the branch
	- dst_uri - destination uri (next hop address)
	- q - the q value of the branch
	- path - the path vector for the branch
	- send_socket - the socket to be used to send the branch
	- count -t he number of the branches
- note: all are about addiacent branches, r-uri will create an extra branch before relaying, but the attributes attached to r-uri are not accessible via this PV
- index can be used to access a specific branch
- the index can be dynamic
	- e.g.,: $var(i)=0; while($var(i)<$branch(count)) { xlog("$(branch(uri)[$var(i)])\n"); $var(i) = $var(i) + 1; }
- PV docs will be kept and maintenained on dokuwiki
- only read-only access by now, follows support to change attributes of a branch
- todo: migrate the rest of PVs from core here (see discussion on devel list)

Added Paths:
-----------
    trunk/modules/pv/
    trunk/modules/pv/Makefile
    trunk/modules/pv/README
    trunk/modules/pv/doc/
    trunk/modules/pv/doc/pv.xml
    trunk/modules/pv/doc/pv_admin.xml
    trunk/modules/pv/pv.c
    trunk/modules/pv/pv_branch.c
    trunk/modules/pv/pv_branch.h


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list