[OpenSIPS-Devel] SF.net SVN: opensips:[5700] trunk/modules/dispatcher

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon May 11 22:38:25 CEST 2009


Revision: 5700
          http://opensips.svn.sourceforge.net/opensips/?rev=5700&view=rev
Author:   bogdan_iancu
Date:     2009-05-11 20:38:25 +0000 (Mon, 11 May 2009)

Log Message:
-----------
- ds_is_from_list() replaced with a more generc function ds_is_in_list("ip","port"). The new function takes as parameters the IP and PORT to test against the dispatcher list, instead of using only the source IP and PORT (as ds_is_from_list()).
  ds_is_from_list() == ds_is_in_list("$si","$sp")

The new function can be used also if the destination is part of a dispatching set :
   ds_is_in_list("$rd","$rp")

Modified Paths:
--------------
    trunk/modules/dispatcher/README
    trunk/modules/dispatcher/dispatch.c
    trunk/modules/dispatcher/dispatch.h
    trunk/modules/dispatcher/dispatcher.c
    trunk/modules/dispatcher/doc/dispatcher.xml
    trunk/modules/dispatcher/doc/dispatcher_admin.xml
    trunk/modules/dispatcher/doc/dispatcher_faq.xml


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