i tried with this dsm script that i adapted from the examples:
initial state start;
transition "session start" start - sessionStart / {
playFile(/home/jh/test/tango.wav);
} -> session_started;
state session_started;
transition "bye recvd" (start,session_started) - hangup / {
stop;
} -> end;
state end;
when it is loaded, i get warning:
Dec 13 13:42:27 sip sems[14370]: [#b75516d0] [loadFile,
DSMStateDiagramCollection.cpp:113] WARNING: consistency check failed on
'dsm_conf' from file '/etc/sems/dsm/dsm_conf.dsm':
Dec 13 13:42:27 sip sems[14370]: [#b75516d0] [loadFile,
DSMStateDiagramCollection.cpp:116] WARNING:
------------------------------------------#012dsm_conf: State 'end': hangup is
not handled#012#012------------------------------------------
looks like that kind of warning comes from other example scripts too.
the script handled incoming invite ok and starts to play the tango, but
when i hangup from sip client, i get to syslog
Dec 13 13:42:44 sip sems[14370]: [#b53a7b70] [reply, AmSipDialog.cpp:1139]
ERROR: could not find any transaction matching request cseq
Dec 13 13:42:44 sip sems[14370]: [#b53a7b70] [reply, AmSipDialog.cpp:1143]
ERROR: request cseq=607; reply code=200; [email protected];
local_tag=48ABF5A3-4EE73A30000B48D7-B56AAB70; remote_tag=uyzrw
although sems sends 200 ok to the bye normally.
why the warning and the error message?
-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems