<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi All <br>
I have successfully setup OpenSer with a mysql backend. I am able to make calls
using sip phones between registered users. What I need to do know is routing
calls that start with 00 to my PSTN gateway. But first I need to setup OpenSer
to route calls to my PSTN ..! <br>
I am using OpenSer1.3 and I have checked sipwise.com but honestly I prefer
changing my own config file. <br>
<br>
But from sipwise.com I concluded that I need the config below <br>
But are the nathelper and mediaproxy compiled by default or do I have to
recompile with special options ? <br>
<br>
Other than that where do I set the IP of my PSTN gateway ? <br>
<br>
Any suggestions or help would be welcome thanks. <br>
<br>
<br>
<br>
<br>
loadmodule "nathelper.so" <br>
modparam("nathelper", "natping_interval", 0) <br>
modparam("nathelper", "ping_nated_only", 1) <br>
modparam("nathelper", "rtpproxy_sock",
"unix:/var/run/rtpproxy.sock") <br>
modparam("nathelper", "rtpproxy_disable", 1) <br>
modparam("nathelper", "rtpproxy_disable_tout", 60) <br>
modparam("nathelper", "rtpproxy_tout", 1) <br>
modparam("nathelper", "rtpproxy_retr", 5) <br>
modparam("nathelper", "sipping_method",
"OPTIONS") <br>
modparam("nathelper", "received_avp",
"$avp(i:801)") <br>
<br>
loadmodule "sl.so" <br>
modparam("sl", "enable_stats", 1) <br>
<br>
loadmodule "mediaproxy.so" <br>
modparam("mediaproxy", "mediaproxy_socket","/var/run/proxydispatcher.sock")
<br>
modparam("mediaproxy",
"sip_asymmetrics","/etc/openser/sip-asymmetric-clients") <br>
modparam("mediaproxy",
"rtp_asymmetrics","/etc/openser/rtp-asymmetric-clients") <br>
modparam("mediaproxy", "natping_interval", 60) <br>
<br>
loadmodule "uri.so"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<!-- Begin PNphpBB2 Attachment Mod --></div>
</body>
</html>