<DIV>Dear Steve,</DIV>
<DIV>Thnk you very much for you mail and teaching to me some good facts about SEMS and SER. As i am very new in this domain thats why I could not undersatnd fully your mail text, even i could not understand your first paln..any i think what i am wishing is matching with your second plan. i am just telling to you what i want to do. </DIV>
<DIV>Suppose "koyama" is registered with SER after half an hour "koyama "&nbsp; logout (I mean to say that unregister) from SER now if say "Steve" is registered with SER and wants to make a sip call to "koyama" because she is unavailabe at this time and wants her message on her mail id on <A href="mailto:zehi_koyama@yahoo.com">zehi_koyama@yahoo.com</A>. then how she has to setup her SEMS server..what special setting is required in ser.cfg, on what basis ser will communicate to SEM. what module of ser will communicate to SEMS.</DIV>
<DIV>SEMS will run on the same machine or it will run on different machine. Is their some scripts in SEMS like ser (Ser.cfg)....</DIV>
<DIV>I am attaching my ser.cfg scripts please send me your running ser.cfg scripts and please teach me about my dougts...</DIV>
<DIV>thanks in advance...</DIV>
<DIV>&nbsp;</DIV>
<DIV>*****************************************************************************************************</DIV>
<DIV>SER.CFG</DIV>
<DIV>******************************************************************************************************</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR># $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $<BR># simple quick-start config script</DIV>
<DIV># ----------- global configuration parameters ------------------------</DIV>
<DIV><BR>#debug=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)<BR>#fork=yes<BR>#log_stderror=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd line: -E)</DIV>
<DIV>/*<BR>#Uncomment these lines to enter debugging mode</DIV>
<DIV>debug=7<BR>fork=no<BR>log_stderror=yes<BR>&nbsp;<BR>*/</DIV>
<DIV>check_via=no&nbsp;&nbsp;&nbsp; # (cmd. line: -v)<BR>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -r)<BR>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -R)<BR>#port=5060<BR>#children=4<BR>fifo="/tmp/ser_fifo"</DIV>
<DIV># ------------------ module loading ----------------------------------</DIV>
<DIV># Uncomment this if you want to use SQL database</DIV>
<DIV>loadmodule "/usr/lib/ser/modules/mysql.so"<BR>loadmodule "/usr/lib/ser/modules/sl.so"<BR>loadmodule "/usr/lib/ser/modules/tm.so"<BR>loadmodule "/usr/lib/ser/modules/rr.so"<BR>loadmodule "/usr/lib/ser/modules/maxfwd.so"<BR>loadmodule "/usr/lib/ser/modules/usrloc.so"<BR>loadmodule "/usr/lib/ser/modules/registrar.so"</DIV>
<DIV># HSL for VM<BR>loadmodule "/usr/lib/ser/modules/textops.so"<BR>loadmodule "/usr/lib/ser/modules/vm.so"<BR>#loadmodule "/usr/lib/ser/modules/dbtext.so"<BR># Uncomment this if you want digest authentication<BR># mysql.so must be loaded !</DIV>
<DIV>loadmodule "/usr/lib/ser/modules/auth.so"<BR>loadmodule "/usr/lib/ser/modules/auth_db.so"</DIV>
<DIV># ----------------- setting module-specific parameters ---------------<BR># -- usrloc params --</DIV>
<DIV>#modparam("usrloc", "db_mode",&nbsp;&nbsp; 0)<BR># Uncomment this if you want to use SQL database<BR>&nbsp;<BR># for persistent storage and comment the previous line</DIV>
<DIV>modparam("usrloc", "db_mode", 2)</DIV>
<DIV># -- auth params --</DIV>
<DIV># Uncomment if you are using auth module</DIV>
<DIV>modparam("auth_db", "calculate_ha1", yes)<BR># If you set "calculate_ha1" parameter to yes (which true in this config),<BR># uncomment also the following parameter)</DIV>
<DIV>modparam("auth_db", "password_column", "password")</DIV>
<DIV># -- rr params --<BR>&nbsp;<BR># add value to ;lr param to make some broken UAs happy<BR>&nbsp;<BR>modparam("rr", "enable_full_lr", 1)</DIV>
<DIV># time to give up on ringing -- global timer, applies to <BR>#&nbsp;&nbsp;&nbsp; all transactions<BR>modparam("tm", "fr_inv_timer", 90)</DIV>
<DIV><BR># ----------------- setting module-specific parameters ---------------</DIV>
<DIV>modparam("voicemail", "db_url","sql://ser:heslo@dbhost/ser")</DIV>
<DIV><BR># -------------------------&nbsp; request routing logic -------------------</DIV>
<DIV># main routing logic</DIV>
<DIV>route{</DIV>
<DIV><BR>&nbsp;# initial sanity checks -- messages with<BR>&nbsp;# max_forwars==0, or excessively long requests<BR>&nbsp;if (!mf_process_maxfwd_header("10")) {<BR>&nbsp;&nbsp;sl_send_reply("483","Too Many Hops");<BR>&nbsp;&nbsp;break;<BR>&nbsp;};<BR>&nbsp;if (len_gt( max_len )) {<BR>&nbsp;&nbsp;sl_send_reply("513", "Message too big");<BR>&nbsp;&nbsp;break;<BR>&nbsp;};</DIV>
<DIV>&nbsp;if (!uri==myself) {<BR>&nbsp;&nbsp;sl_send_reply("404", "not reponsible for host in r-uri");<BR>&nbsp;&nbsp;break;<BR>&nbsp;};</DIV>
<DIV><BR>&nbsp;# Voicemail specific configuration - begin</DIV>
<DIV>&nbsp;if(method=="ACK" || method=="INVITE" || method=="BYE"){</DIV>
<DIV>&nbsp;&nbsp;if (!t_newtran()) {<BR>&nbsp;&nbsp;&nbsp;log("could not create new transaction\n");<BR>&nbsp;&nbsp;&nbsp;sl_send_reply("500","could not create new transaction");<BR>&nbsp;&nbsp;&nbsp;break;<BR>&nbsp;&nbsp;};</DIV>
<DIV>&nbsp;&nbsp;t_reply("100","Trying -- just wait a minute !");<BR>&nbsp;&nbsp;if(method=="INVITE"){<BR>&nbsp;&nbsp;&nbsp;log("**************** vm start - begin ******************\n");<BR>&nbsp;&nbsp;&nbsp;if (uri=~"sip:as_welcome@.*" || uri=~"sip:as_nomoney@.*") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;if (!vm("/tmp/am_fifo", "announcement")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;log("couldn't contact announcement server\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_reply("500", "couldn not contact announcement server");<BR>&nbsp;&nbsp;&nbsp;&nbsp;};<BR>&nbsp;&nbsp;&nbsp;} else {<BR>&nbsp;&nbsp;&nbsp;&nbsp;if(!vm("/tmp/am_fifo","voicemail")){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log("could not contact the answer machine\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_reply("500","could not contact the answer
 machine");<BR>&nbsp;&nbsp;&nbsp;&nbsp;};<BR>&nbsp;&nbsp;&nbsp;};<BR>&nbsp;&nbsp;&nbsp;log("**************** vm start - end ******************\n");<BR>&nbsp;&nbsp;} else if(method=="BYE"){<BR>&nbsp;&nbsp;&nbsp;log("**************** vm end - begin ******************\n");<BR>&nbsp;&nbsp;&nbsp;if(!vm("/tmp/am_fifo","bye")){<BR>&nbsp;&nbsp;&nbsp;&nbsp;log("could not contact the answer machine\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;t_reply("500","could not contact the answer machine");<BR>&nbsp;&nbsp;&nbsp;};<BR>&nbsp;&nbsp;&nbsp;log("**************** vm end - end ******************\n");<BR>&nbsp;&nbsp;};<BR>&nbsp;&nbsp;break;<BR>&nbsp;};<BR>&nbsp;if (method=="CANCEL") {<BR>&nbsp;&nbsp;sl_send_reply("200", "cancels are junked here");<BR>&nbsp;&nbsp;break;<BR>&nbsp;};<BR>&nbsp;sl_send_reply("501", "method not understood here");<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>**********************************************************************************************************</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>Steve Blair &lt;blairs@isc.upenn.edu&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Koyama:<BR><BR>I tried SEMS in two different modes. First a mode where the call ad to<BR>enter a pin to access the voicemail system and second where unanswered<BR>calls "roll over" to SEMS. In the first case just put the check for the pin<BR>in your ser config as you would with any other number within the dialplan.<BR>Digits matching the pin get sent to the SEMS interface as outlined in the<BR>documentation.<BR><BR>In the second case I run a second instance of the SER proxy to provide<BR>the interface between the failure_route function of the transaction <BR>module and<BR>the SEMS fifo interface. The second instance of SER only need those config<BR>statements to identify the port, lisen address, fifo name/privs and any call<BR>processing logic.<BR><BR>Then I copied the serctl script to serctl, serctl_vm and semsctl so I <BR>can start<BR>each process. The fifo name for the second
 SER process must be different<BR>than the first.<BR><BR>good luck,<BR>Steve<BR><BR>Koyama Zehi wrote:<BR><BR>&gt; Dear all,<BR>&gt; I am a newbie in SIP please excuse me, for my poor questions.<BR>&gt; As I am working to add Voicemail service on my SER proxy. I am very<BR>&gt; much confuse about how to use SEMS module with SER.<BR>&gt;<BR>&gt; As according to "SIP Express Router v0.11 --Admin Guide" SEMS is<BR>&gt; required to provide voicemail capability in SIP server. As i have <BR>&gt; downloaded<BR>&gt; "sems-0.1.0.tar.gz" and installed in my machine where I have<BR>&gt; "ser-0.8.12" as a sip server. after that<BR>&gt; And I have changed my ser.cfg scripts to provide voicemail capabilities<BR>&gt; and to load vm module available in SER.<BR>&gt;<BR>&gt; Now I get stuck How I have to use SEMS module ( I mean to say that<BR>&gt; "ans_machine" available in sems )<BR>&gt;<BR>&gt; what is the difference &amp; similarity between SEMS Voicemail and SER vm<BR>&gt; module.<BR>&gt;<BR>&gt;
 On what basis SEMS Voicemail and SER communicate to each other.<BR>&gt;<BR>&gt; Is their any configuration file is required inside the SEMS like SER<BR>&gt; (ex. ser.cfg).<BR>&gt;<BR>&gt; what is the prop er step to perform a testing of voice mail using these<BR>&gt; modules..<BR>&gt;<BR>&gt; Please excuse me if i have asked something wrong and please teach me<BR>&gt; about my queries.<BR>&gt; Thanks in advance.<BR>&gt; koyama<BR>&gt; <BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Do you Yahoo!?<BR>&gt; New and Improved Yahoo! Mail <BR>&gt; <HTTP: efficiency.html static new_mail promotions.yahoo.com *http: 100 taglines mail_us us.rd.yahoo.com><BR>&gt; - 100MB free storage!<BR>&gt;<BR>&gt;------------------------------------------------------------------------<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Serusers mailing
 list<BR>&gt;serusers@lists.iptel.org<BR>&gt;http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt; <BR>&gt;<BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/100/*http://promotions.yahoo.com/new_mail/static/efficiency.html">New and Improved Yahoo! Mail</a> - 100MB free storage!