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

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 28 22:51:20 CET 2009


Revision: 5529
          http://openser.svn.sourceforge.net/openser/?rev=5529&view=rev
Author:   miconda
Date:     2009-01-28 21:51:20 +0000 (Wed, 28 Jan 2009)

Log Message:
-----------
- exported dlg_manage() function that can be used to handle SIP requests in dialog module
	- if it is used for an intial invite, will create the dialog, otherwise will update dialog state
- exported dlg_bye(side) for usage in config script
	- send BYE to caller, callee or both
- exported a new PV class: $dlg_ctx(name) to control the context of the dialog
- exported a new PV class: $dlg(name) to access the dialog attributes
- ability to execute a route block at dialog time-out (a faked msg is passed to the route, $dlg(...) is set to current dialog)
- ability to send BYE to caller and callee at time-out, controlled via $dlg_ctx(timeout_bye)
- new attributes per dialog: index of the route to be executed at timeout and sflags - uint value that can be used for flags operations in config file
- ability to set $dlg(...) by providing callid, fromtag and totag to the new functio dlg_get(...)
- new function: dlg_bridge(from, to, outboundproxy) - connects from with two using call transfer(INVITE/hold - REFER - BYE)
- new function: dlg_transfer(side, to) - transfer caller or callee to new destionation specified by to
- dialogs created by dlg_bridge and dlg_transfer do not reside in dlg table

Modified Paths:
--------------
    trunk/modules/dialog/dialog.c
    trunk/modules/dialog/dlg_db_handler.c
    trunk/modules/dialog/dlg_handlers.c
    trunk/modules/dialog/dlg_handlers.h
    trunk/modules/dialog/dlg_hash.c
    trunk/modules/dialog/dlg_hash.h
    trunk/modules/dialog/dlg_profile.c
    trunk/modules/dialog/dlg_profile.h
    trunk/modules/dialog/dlg_req_within.c
    trunk/modules/dialog/dlg_req_within.h
    trunk/modules/dialog/dlg_timer.c
    trunk/modules/dialog/dlg_timer.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