From 72104eb470a8036bc200ec04afd572f48ccb1de2 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Fri, 6 Nov 2009 20:35:48 +0000 Subject: [PATCH] documented the connect_session git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1615 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/dsm/doc/dsm_syntax.txt | 11 ++++++++--- apps/dsm/mods/mod_dlg/Readme.mod_dlg.txt | 4 +++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/dsm/doc/dsm_syntax.txt b/apps/dsm/doc/dsm_syntax.txt index 8ae6e871..9ee35390 100644 --- a/apps/dsm/doc/dsm_syntax.txt +++ b/apps/dsm/doc/dsm_syntax.txt @@ -198,9 +198,14 @@ imports: (modules can override core conditions/actions) ============================= special variables: - reply_request "0" ->do not reply to the request as standard behaviour - - connect_session "0" ->do not connect session to media processor on start + connect_session "0" -> after the start event (initial transition): + do not connect session to + media processor on start + + -> after the invite event: + do not reply with 200 OK and do not + connect session to media processor on start + ============================= errors: actions set $errno diff --git a/apps/dsm/mods/mod_dlg/Readme.mod_dlg.txt b/apps/dsm/mods/mod_dlg/Readme.mod_dlg.txt index ddcca2b8..5acca95c 100644 --- a/apps/dsm/mods/mod_dlg/Readme.mod_dlg.txt +++ b/apps/dsm/mods/mod_dlg/Readme.mod_dlg.txt @@ -1,5 +1,7 @@ * mod_dlg saves the initial INVITE to DSMSession::last_req - +* set connect_session to 0 with set(connect_session=0) + if you want to reply with other than the standard 200 OK + to initial INVITE received. dlg.reply(code,reason); reply to the request in DSMSession::last_req