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