<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:bookman old style,new york,times,serif;font-size:10pt"><div>Hi All,<br><br>I have installed openser version 1.1.1-notls(i386/linux). <br>I am trying to configure the openser to route all calls to a gateway. For this I have added the following rules in openser.cfg<br><pre style="font-style: italic;">route { <br> if (!mf_process_maxfwd_header("10")) { <br> sl_send_reply("483","Too Many Hops"); <br> break; <br> } <br> record_route(); <br> if (src_ip==1.1.1.1) { <br> forward_tcp(4.4.4.4, 5060); <br> } <br> else { <br> forward_udp(1.1.1.1, 5060); <br> } <br>} <br><br>Now when I bring up the server I get the following error<span style="font-style: italic;"><br>[root@localhost openser-1.1.1-notls]# /usr/local/sbin/openser -n 1 -ddddd -E -l tcp:47.100.105.195:5060<br>
-l<br>udp:47.100.105.195:5060<br>0(18381) read 3133282016 from /dev/urandom<br>0(18381) seeding PRNG with 9917133<br>0(18381) test random number 521145638<br>0(18381) parse error (27,46-50): parse error<br>0(18381) parse error (27,50-51): bad arguments<br>0(18381) parse error (30,28-29): parse error<br>0(18381) parse error (30,41-42): bad arguments<br>ERROR: bad config file (4 errors)<br><br></span></pre>What is wrong with the syntax or am I missing any modules ?<br><br>Thanks in advance<br>-Biju</div></div><br>
<hr size=1>Need Mail bonding?<br>Go to the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">Yahoo! Mail Q&A</a> for <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">great tips from Yahoo! Answers</a> users.</body></html>