Hi All,
I have an implementation of Click2Dial in place which I wish to migrate on
SEMS platform. The idea is to learn basics before going ahead with
developing complicated applications. I have been reading a lot on DSMs and
it looks very exciting script language. My scenario is as follows:
1) There is a PHP-SIP application which first sends an INVITE to SEMS. The
INVITE contains some extra-headers which I need to preserve before taking
the call ahead in B2B mode. They are important for billing :)
2) The Sems needs to execute a database query based on values in the
extra-headers and based upon the resultset, need to route the call ahead to
a SIP Proxy in B2B mode.
3) Once this call gets connected, the PHP-SIP application sends a REFER with
REFER-TO uri as the second leg of the call.
4) SEMS should be able to handle this REFER by generating a new INVITE
towards the proxy and sending BYE to the PHP-SIP application.
5) SEMS should also be playing a media file in 183 session progress which
will be audible to the call on first leg, since the call is now Reffered.
(Some media file like "Please wait while we connect your call")
6) Once the call is connected, both legs of the call are actually connected
to each other.

Questions:
1) Is this possible using the DSM as I think it is the most flexible way of
configuring services in SEMS.
2) I dont see any example of how to handle REFER method in DSM language. Is
it really possible to handle REFER easily and then send 183 with some media
played in it to the first leg?
3) Is it possible to add extra headers while sending the INVITE on behalf of
the REFER method received?

I am a newbie to SEMS but have worked a lot on Asterisk, Opensips and
Kamailio. Any help or directions will be really appreciated.

Thanks in advance,

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

Reply via email to