Hello,

o Jason b.a on 03/07/2011 06:08 PM:
hi stephan ,
is it possible to use VXML or MSCML in the body of the SIP messages ,
so i can control SEMS from my application for example,
here is a simple scenario:

SIP Caller Application SEMS
----------invite--------->
------------invite-------->
---info(play announ)---->
<---------------------------------------------------
neither VXML nor MSCML is at the moment supported in SEMS.

The good news is though, that DSM, SEMS' state machine description language, is very powerful and also allows for interaction with external applications, through SIP requests, or, by using xmlrpc2di or jsonrpc modules, through XML-RPC or json-rpc.

for example, you could implement something like this:
initial state WAITING;
transition WAITING - sipRequest(#method==INFO) / {
 -- do something with the body
 log(1, #body);
} -> WAITING;

or,

transition WAITING - sipRequest(#method==INFO) / playFile(#body) -> WAITING;


what abt if i want a caller to enter digit and then the application
bridge the caller with the specified callee according to the collected
digit.

you can collect the callee #, and then use B2B.connectCallee() function to bridge to the callee, or use conference module to join them into conference rooms.

have a look at DSM documentation in doc/dsm/ and also the examples.

Shoul i use pin_collect or ivr , and how can i load the module , since
they are not in the modules directory!
possibly they are not compiled if you don't have python installed ?

Stefan


thx alot !




_______________________________________________
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