o Juha Heinanen [05/25/09 12:28]:
how do i select which dsm diagram is executed for incoming call, when i
have in sems.conf
application=$(apphdr)
do i add header
P-App-Name: dsm
to choose dsm plugin, but then, how do i choose the diagram?
i understand that i need to list the diagrams that i use on load_diags
line of dsm.conf. example diagrams don't seem to include any name of
the diagram inside the diagram. is the name taken from diagram file
name without .dsm?
yes.
but you can also set register_apps=mydsm and then P-App-Name: mydsm. see
comments in dsm.conf
New is now the inbound_start_diag=$(mon_select) which lets you set the
application as a record in monitor, e.g. if you want to change
dynamically which script is executed, or if you know beforehand that a
call will come in. Then the parameters from appParams attribute in the
monitor record are set as variables for DSM dialog.
Stefan
-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
--
Stefan Sayer
VoIP Services
[email protected]
www.iptego.com
IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany
Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems