<DIV>hi Hendrik,</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i don't see a listen=&nbsp; variable in my ser.cfg . I'am sending it across.Please check my config file .</DIV>
<DIV>&nbsp;</DIV>
<DIV>thank you,</DIV>
<DIV>&nbsp;</DIV>
<DIV>cheers,</DIV>
<DIV>Amith <BR><FONT size=2>
<P>#</P>
<P># $Id: ser.cfg,v 1.25 2004/11/30 16:28:24 andrei Exp $</P>
<P>#</P>
<P># simple quick-start config script</P>
<P>#</P>
<P># ----------- global configuration parameters ------------------------</P>
<P>debug=3 # debug level (cmd line: -dddddddddd)</P>
<P>#fork=yes</P>
<P>#log_stderror=no # (cmd line: -E)</P>
<P>/* Uncomment these lines to enter debugging mode </P>
<P>fork=no</P>
<P>log_stderror=yes</P>
<P>*/</P>
<P>check_via=no # (cmd. line: -v)</P>
<P>dns=no # (cmd. line: -r)</P>
<P>rev_dns=no # (cmd. line: -R)</P>
<P>port=5060</P>
<P>#children=4</P>
<P>fifo="/tmp/ser_fifo"</P>
<P># ------------------ module loading ----------------------------------</P>
<P># Uncomment this if you want to use SQL database</P>
<P>#loadmodule "//lib/ser/modules/mysql.so"</P>
<P>loadmodule "//lib/ser/modules/sl.so"</P>
<P>loadmodule "//lib/ser/modules/tm.so"</P>
<P>loadmodule "//lib/ser/modules/rr.so"</P>
<P>loadmodule "//lib/ser/modules/maxfwd.so"</P>
<P>loadmodule "//lib/ser/modules/usrloc.so"</P>
<P>loadmodule "//lib/ser/modules/registrar.so"</P>
<P>loadmodule "//lib/ser/modules/textops.so"</P>
<P># Uncomment this if you want digest authentication</P>
<P># mysql.so must be loaded !</P>
<P>#loadmodule "//lib/ser/modules/auth.so"</P>
<P>#loadmodule "//lib/ser/modules/auth_db.so"</P>
<P># ----------------- setting module-specific parameters ---------------</P>
<P># -- usrloc params --</P>
<P>modparam("usrloc", "db_mode", 0)</P>
<P># Uncomment this if you want to use SQL database </P>
<P># for persistent storage and comment the previous line</P>
<P>#modparam("usrloc", "db_mode", 2)</P>
<P># -- auth params --</P>
<P># Uncomment if you are using auth module</P>
<P>#</P>
<P>#modparam("auth_db", "calculate_ha1", yes)</P>
<P>#</P>
<P># If you set "calculate_ha1" parameter to yes (which true in this config), </P>
<P># uncomment also the following parameter)</P>
<P>#</P>
<P>#modparam("auth_db", "password_column", "password")</P>
<P># -- rr params --</P>
<P># add value to ;lr param to make some broken UAs happy</P>
<P>modparam("rr", "enable_full_lr", 1)</P>
<P># ------------------------- request routing logic -------------------</P>
<P># main routing logic</P>
<P>route{</P>
<P># initial sanity checks -- messages with</P>
<P># max_forwards==0, or excessively long requests</P>
<P>if (!mf_process_maxfwd_header("10")) {</P>
<P>sl_send_reply("483","Too Many Hops");</P>
<P>break;</P>
<P>};</P>
<P>if (msg:len &gt;= max_len ) {</P>
<P>sl_send_reply("513", "Message too big");</P>
<P>break;</P>
<P>};</P>
<P></P>
<P>if (src_ip==193.175.135.0/24){</P>
<P>force_send_socket(smaug:5080);</P>
<P>forward(193.175.135.179);</P>
<P>break;</P>
<P>}</P>
<P># we record-route all messages -- to make sure that</P>
<P># subsequent messages will go through our proxy; that's</P>
<P># particularly good if upstream and downstream entities</P>
<P># use different transport protocol</P>
<P>if (!method=="REGISTER") record_route(); </P>
<P># subsequent messages withing a dialog should take the</P>
<P># path determined by record-routing</P>
<P>if (loose_route()) {</P>
<P># mark routing logic in request</P>
<P>append_hf("P-hint: rr-enforced\r\n"); </P>
<P>route(1);</P>
<P>break;</P>
<P>};</P>
<P>if (!uri==myself) {</P>
<P># mark routing logic in request</P>
<P>append_hf("P-hint: outbound\r\n"); </P>
<P>route(1);</P>
<P>break;</P>
<P>};</P>
<P># if the request is for other domain use UsrLoc</P>
<P># (in case, it does not work, use the following command</P>
<P># with proper names and addresses in it)</P>
<P>if (uri==myself) {</P>
<P>if (method=="REGISTER") {</P>
<P># Uncomment this if you want to use digest authentication</P>
<P># if (!www_authorize("iptel.org", "subscriber")) {</P>
<P># www_challenge("iptel.org", "0");</P>
<P># break;</P>
<P># };</P>
<P>save("location");</P>
<P>break;</P>
<P>};</P>
<P>lookup("aliases");</P>
<P>if (!uri==myself) {</P>
<P>append_hf("P-hint: outbound alias\r\n"); </P>
<P>route(1);</P>
<P>break;</P>
<P>};</P>
<P># native SIP destinations are handled using our USRLOC DB</P>
<P>if (!lookup("location")) {</P>
<P>sl_send_reply("404", "Not Found");</P>
<P>break;</P>
<P>};</P>
<P>};</P>
<P>append_hf("P-hint: usrloc applied\r\n"); </P>
<P>route(1);</P>
<P>}</P>
<P>route[1] </P>
<P>{</P>
<P># send it out now; use stateful forwarding as it works reliably</P>
<P># even for UDP2TCP</P>
<P>if (!t_relay()) {</P>
<P>sl_reply_error();</P>
<P>};</P>
<P>}</P>
<P>&nbsp;</P></FONT><BR><B><I>Hendrik Scholz &lt;hendrik.scholz@freenet-ag.de&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>Hi!<BR><BR>Amith wrote:<BR>&gt; that SER is not listening on any interface at port 5060. This<BR>&gt; (5060) port is not used by any other app .<BR><BR>Check the listen= parameter in your ser.cfg<BR><BR>Hendrik</P>
<P>&nbsp;</P></BLOCKQUOTE><BR><BR><DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV>
<P>--------------------------------------------------------------------------------------------------------------------------------------</P>
<P>"A bend in the road is not the end of it , unless you fail to take the turn ;-)"</P>
<P>--------------------------------------------------------------------------------------------------------------------------------------</P></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com