<DIV>hello friends,</DIV>
<DIV>&nbsp;</DIV>
<DIV>iam using sems-0.1.0 and ser-0.8.12&nbsp;my main aim to place the announcement if at all any body call to the number who is not logged in so my ser.cfg looks like this</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>but in dialer ( xlite ) show s trying for fewminutes then says timed out.</DIV>
<DIV>ser.cfg</DIV>
<DIV>----------</DIV>
<DIV><BR>debug=7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)<BR>fork=yes<BR>log_stderror=yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd line: -E)</DIV>
<DIV>/* Uncomment these lines to enter debugging mode<BR>debug=7<BR>fork=no<BR>log_stderror=yes<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<BR>loadmodule "/usr/local/lib/ser/modules/mysql.so"</DIV>
<DIV>loadmodule "/usr/local/lib/ser/modules/sl.so"<BR>loadmodule "/usr/local/lib/ser/modules/tmloadmodule "/usr/local/lib/ser/modules/tm.so"<BR>loadmodule "/usr/local/lib/ser/modules/rr.so"<BR>loadmodule "/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule "/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule "/usr/local/lib/ser/modules/registrar.so"<BR>loadmodule "/usr/local/lib/ser/modules/vm.so"</DIV>
<DIV># Uncomment this if you want digest authentication<BR># mysql.so must be loaded !<BR>loadmodule "/usr/local/lib/ser/modules/auth.so"<BR>loadmodule "/usr/local/lib/ser/modules/auth_db.so"</DIV>
<DIV># ----------------- setting module-specific parameters ---------------</DIV>
<DIV># -- usrloc params --</DIV>
<DIV>#modparam("usrloc", "db_mode",&nbsp;&nbsp; 0)</DIV>
<DIV># Uncomment this if you want to use SQL database<BR># for persistent storage and comment the previous line<BR>modparam("usrloc", "db_mode", 2)</DIV>
<DIV># -- auth params --<BR># Uncomment if you are using auth module<BR>#<BR>modparam("auth_db", "calculate_ha1", yes)<BR>#<BR># If you set "calculate_ha1" parameter to yes (which true in this config),<BR># uncomment also the following parameter)<BR>#<BR>modparam("auth_db", "password_column", "password")<BR>modparam("usrloc","db_url","mysql://ser:heslo@localhost:3306/ser".so"</DIV>
<DIV># -- rr params --<BR># add value to ;lr param to make some broken UAs happy<BR>modparam("rr", "enable_full_lr", 1)</DIV>
<DIV># -------------------------&nbsp; request routing logic -------------------</DIV>
<DIV># main routing logic</DIV>
<DIV>route{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # initial sanity checks -- messages with<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # max_forwards==0, or excessively long requests<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("10")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("483","Too Many Hops");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( msg:len &gt; max_len ) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("513", "Message too big");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # we record-route all messages -- to make sure that<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # subsequent messages will go through our proxy; that's<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # particularly good if upstream and downstream entities<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # use different transport protocol<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; record_route();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # loose-route processing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (loose_route()) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # if the request is for other domain use UsrLoc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (in case, it does not work, use the following command<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # with proper names and addresses in it)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri==myself) {</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="REGISTER") {</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; save("location");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>if ( method=="ACK" || method=="INVITE" || method=="BYE" || method=="CANCEL" )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_newtran())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # forward to current uri now; use stateful forwarding; that<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # works reliably even if we forward from TCP to UDP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 if (!t_relay()) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>}<BR></DIV>
<DIV>-----------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>and my sems.conf looks like this</DIV>
<DIV>-----------</DIV>
<DIV># $Id: sems.conf.sample,v 1.1.2.1 2003/08/28 19:13:25 rco Exp $<BR>#<BR># sems.conf.sample<BR>#<BR># Sip Express Media Server (sems)<BR>#<BR># sample configuration file<BR>#<BR>#<BR># whitespaces (spaces and tabs) are ignored<BR># comments start with a "#" and may be used inline<BR>#<BR># example: option=value1, value2&nbsp; # i like this option<BR>#</DIV>
<DIV>##################################<BR># global parameters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<BR>##################################</DIV>
<DIV># optional parameter: fork={yes|no}<BR>#<BR># - specifies if sems should run in daemon mode (background)<BR>fork=yes</DIV>
<DIV># optional parameter: stderr={yes|no}<BR>#<BR># - debug mode: do not fork and log to stderr<BR>stderr=no</DIV>
<DIV># optional parameter: loglevel={0|1|2|3}<BR>#<BR># - sets log level (error=0, warning=1, info=2, debug=3)<BR></DIV>
<DIV># - sets log level (error=0, warning=1, info=2, debug=3)<BR>loglevel=3</DIV>
<DIV># optional parameter: fifo_name=&lt;filename&gt;<BR>#<BR># - path and file name of our fifo file<BR>fifo_name=/tmp/am_fifo</DIV>
<DIV># optional parameter: ser_fifo_name=&lt;filename&gt;<BR>#<BR># - path and file name of Ser's fifo file<BR>ser_fifo_name=/tmp/ser_fifo</DIV>
<DIV># optional parameter: plugin_path=&lt;path&gt;<BR>#<BR># - sets the path to the plug-ins<BR># - may be absolute or relative to CWD<BR>plugin_path=/usr/local/lib/sems/plug-in/</DIV>
<DIV><BR>##################################<BR># voicemail specific parameters&nbsp; #<BR>##################################</DIV>
<DIV># optional parameter: announce_path=&lt;path&gt;<BR>#<BR># - sets the path where announce files are searched for<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV># optional parameter: default_announce=&lt;filename&gt;<BR>#<BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav<BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV># optional parameter: max_record=&lt;seconds&gt;<BR>#<BR># - maximum record time<BR>max_record=30</DIV>
<DIV># optional parameter: smtp_server=&lt;hostname&gt;<BR>#<BR># - sets address of smtp server<BR>smtp_server=localhost</DIV>
<DIV># optional parameter: smtp_port=&lt;port&gt;<BR>#<BR># - sets port of smtp server<BR>smtp_port=25</DIV>
<DIV><BR>##################################<BR># module specific parameters&nbsp;&nbsp;&nbsp;&nbsp; #<BR>##################################</DIV>
<DIV># add more module configurations here (inline or external):<BR>#<BR># config.mymodule=&lt;filename&gt;<BR>#&nbsp; or<BR># config.mymodule=inline<BR># ...<BR># config.mymodule=end<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>-----------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>the logs are as follows</DIV>
<DIV>------</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>
<P>12(15776) vm: calculated route:</P>
<P>12(15776) vm: next r-uri: sip:216105@xxx.xxx.xxx.18:5060</P>
<P>12(15776) parse_headers: flags=-1</P>
<P>12(15776) query="select email_address from subscriber where username='214103'"</P>
<P>12(15776) vm: write_to_vm_fifo: &lt;0.2</P>
<P>sip_request.announcement</P>
<P>INVITE</P>
<P>214103</P>
<P><A href="mailto:varala@xxx.xxx.in">varala@xxx.xxx.in</A></P>
<P>xxx.xxx.xxx.in</P>
<P>xxx.xxx.xxx.19</P>
<P>.</P>
<P>sip:214103@xxx.xxx.xxx.in</P>
<P>sip:216105@xxx.xxx.xxx.18:5060</P>
<P>hello &lt;sip:216105@xxx.xxx.xxx.in&gt;</P>
<P>&lt;sip:214103@xxx.xxx.xxx.in&gt;</P>
<P>D4DD8ACF-F8FE-11D8-8FE6-00E018FCDC33@xxx.xxx.xxx.18</P>
<P>3583624574</P>
<P>.</P>
<P>48216</P>
<P>14502:756140263</P>
<P>.</P>
<P>.</P>
<P>P-MsgFlags: 0</P>
<P>.</P>
<P>v=0</P>
<P>o=216105 15926530 15926613 IN IP4 xxx.xxx.xxx.18</P>
<P>s=X-Lite</P>
<P>c=IN IP4 xxx.xxx.xxx.18</P>
<P>t=0 0</P>
<P>m=audio 8000 RTP/AVP 0 8 3 98 97 101</P>
<P>a=rtpmap:0 pcmu/8000</P>
<P>a=rtpmap:8 pcma/8000</P>
<P>a=rtpmap:3 gsm/8000</P>
<P>a=rtpmap:98 iLBC/8000</P>
<P>a=rtpmap:97 speex/8000</P>
<P>a=rtpmap:101 telephone-event/8000</P>
<P>a=fmtp:101 0-15</P>
<P>&gt;</P>
<P>12(15776) DEBUG: write_to_vm_fifo: write completed</P>
<P>12(15776) DEBUG: add_to_tail_of_timer[0]: 0x422b9304</P>
<P>12(15776) receive_msg: cleaning up</P>
<P>14(15786) udp_rcv_loop: probing packet received from xxx.xxx.xxx.18 50195</P>
<P>15(15790) udp_rcv_loop: probing packet received from xxx.xxx.xxx.18 50195</P>
<P>18(15802) DEBUG: timer routine:0,tl=0x422b9304 next=(nil)</P>
<P>18(15802) DEBUG: FR_handler:stop retr. and send CANCEL (0x422b91c8)</P>
<P>18(15802) -&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; T_code=100, new_code=408</P>
<P>18(15802) DEBUG: relay_reply: branch=0, save=0, relay=0</P>
<P>18(15802) parse_headers: flags=-1</P>
<P>18(15802) check_via_address(xxx.xxx.xxx.18, xxx.xxx.xxx.18, 0)</P>
<P>18(15802) DEBUG: reply relayed. buf=0x80c3d38: SIP/2.0 4..., shmem=0x422ba890: SIP/2.0 4</P>
<P>18(15802) DEBUG: add_to_tail_of_timer[4]: 0x422b927c</P>
<P>18(15802) DEBUG: add_to_tail_of_timer[0]: 0x422b9290</P>
<P>18(15802) DEBUG: final_response_handler : done</P>
<P>9(15761) SIP Request:</P>
<P>9(15761) method: &lt;ACK&gt;</P>
<P>9(15761) uri: &lt;sip:214103@xxx.xxx.xxx.in&gt;</P>
<P>9(15761) version: &lt;SIP/2.0&gt;</P>
<P>9(15761) parse_headers: flags=1</P>
<P>9(15761) Found param type 235, &lt;rport&gt; = &lt;n/a&gt;; state=6</P>
<P>9(15761) Found param type 232, &lt;branch&gt; = &lt;z9hG4bKD4DD8AD0F8FE11D88FE600E018FCDC33&gt;; state=16</P>
<P>9(15761) end of header reached, state=5</P>
<P>9(15761) parse_headers: Via found, flags=1</P>
<P>9(15761) parse_headers: this is the first via</P>
<P>9(15761) After parse_msg...</P>
<P>9(15761) preparing to run routing scripts...</P>
<P>9(15761) DEBUG : sl_filter_ACK: to late to be a local ACK!</P>
<P>9(15761) DEBUG : is_maxfwd_present: searching for max_forwards header</P>
<P>9(15761) parse_headers: flags=128</P>
<P>9(15761) DEBUG: add_param: tag=a6a1c5f60faecf035a1ae5b6e96e979a-9573</P>
<P>9(15761) end of header reached, state=29</P>
<P>9(15761) DEBUG: get_hdr_field: &lt;To&gt; [74]; uri=[sip:214103@xxx.xxx.xxx.in]</P>
<P>9(15761) DEBUG: to body [&lt;sip:214103@xxx.xxx.xxx.in&gt;]</P>
<P>9(15761) get_hdr_field: cseq &lt;CSeq&gt;: &lt;48216&gt; &lt;ACK&gt;</P>
<P>9(15761) DEBUG: is_maxfwd_present: value = 70</P>
<P>9(15761) DEBUG: add_param: tag=3583624574</P>
<P>9(15761) end of header reached, state=29</P>
<P>9(15761) parse_headers: flags=256</P>
<P>9(15761) DEBUG: get_hdr_body : content_length=0</P>
<P>9(15761) found end of header</P>
<P>9(15761) find_first_route(): No Route headers found</P>
<P>9(15761) loose_route(): There is no Route HF</P>
<P>9(15761) check_self - checking if host==us: 17==9 &amp;&amp; [xxx.xxx.xxx.in] == [127.0.0.1]</P>
<P>9(15761) check_self - checking if port 5060 matches port 5060</P>
<P>9(15761) check_self - checking if host==us: 17==13 &amp;&amp; [xxx.xxx.xxx.in] == [xxx.xxx.xxx.19]</P>
<P>9(15761) check_self - checking if port 5060 matches port 5060</P>
<P>9(15761) DEBUG: t_addifnew: msg id=2 , global msg id=0 , T on entrance=0xffffffff</P>
<P>9(15761) parse_headers: flags=-1</P>
<P>9(15761) parse_headers: flags=60</P>
<P>9(15761) t_lookup_request: start searching: hash=14502, isACK=1</P>
<P>9(15761) DEBUG: RFC3261 transaction matched, tid=D4DD8AD0F8FE11D88FE600E018FCDC33</P>
<P>9(15761) DEBUG: t_lookup_request: transaction found (T=0x422b91c8)</P>
<P>9(15761) DEBUG: cleanup_uacs: RETR/FR timers reset</P>
<P>9(15761) DEBUG: add_to_tail_of_timer[2]: 0x422b9210</P>
<P>9(15761) receive_msg: cleaning up</P>
<P>18(15802) DEBUG: timer routine:0,tl=0x422b9290 next=(nil)</P>
<P>18(15802) DEBUG: timer routine:4,tl=0x422b927c next=(nil)</P>
<P>18(15802) DEBUG: timer routine:2,tl=0x422b9210 next=(nil)</P>
<P>18(15802) DEBUG: wait_handler : removing 0x422b91c8 from table</P>
<P>18(15802) DEBUG: delete transaction 0x422b91c8</P>
<P>18(15802) DEBUG: wait_handler : done</P></FONT></DIV>
<DIV>--------</DIV>
<DIV>&nbsp;</DIV>
<DIV>but i could not able to listen any audio , audi file is there in the correct path</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>with regards</DIV>
<DIV>ser die hard</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/10/*http://promotions.yahoo.com/new_mail/static/efficiency.html">New and Improved Yahoo! Mail</a> - Send 10MB messages!