Hi Juha,

the configuration looks fine. Did you see "DSM state machine registered: play_file" debug message at the beginning?

Stefan

o Juha Heinanen [11/02/2009 04:25 PM]:
i tried to start experimenting with dsm, but cannot get very far.

i though to start with play_file.dsm.  so i copied it to
/usr/lib/sems/dsm.
then i edited sems.conf and added dsm to load_plugins list.  application
var is defined as before:

application=$(apphdr)

then i edited dsm.conf like this:

diag_path=/usr/lib/sems/dsm/
load_diags=play_file
register_apps=play_file
mod_path=/usr/lib/sems/dsm/
set_param_variables=yes

everything else is commented out.

i expected sems to execute play_file diagram when invite comes in with
header

P-App-Name: play_file

but nothing happens and nothing gets printed to syslog even at debug
level 3.

at start sems prints

Nov  2 17:16:33 localhost sems[5870]: INFO: [b7c4b6c0] registerApps 
(DSM.cpp:346): DSM state machine registered: play_file.
Nov  2 17:16:33 localhost sems[5870]: INFO: [b7c4b6c0] onLoad (DSM.cpp:140): no 
'inbound_start_diag' set in config. inbound calls with application 'dsm' 
disabled.
Nov  2 17:16:33 localhost sems[5870]: INFO: [b7c4b6c0] onLoad (DSM.cpp:146): no 
'outbound_start_diag' set in config. outbound calls with application 'dsm' 
disabled.

which looks ok to me.

question:  why play_file diagram is not executed?

-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to