Hi,
o Jason b.a on 06/08/2011 05:21 PM:
Hi, i am trying to develop an Automated Attendant service using DSM,
SEMS play a welcom message and ask the caller to enter the pin, then
SEMS brdige the caller with callee, but if the callee doen 't answer,
the caller can leave a message, but i am wondering what is the proper
condtion used here, if no answer to go to the record state!
if you are using B2B mode with B2B.connectCallee(...), you could check
for the #code in the reply as in B2B.otherReply(#code >= 300), see
doc/dsm/examples/test_b2b.dsm
If you are using a conference room to connect caller and callee,
follow the quizconnect tutorial in doc/dsm/tutorials/quizconnect/ .
You would check for 'failed' in the outgoing call leg (don't forget to
set run_invite_event=yes).
hth
Stefan
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems