<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [OpenSER-Users] Route calls to PSTN Gateway</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Thank you for your reply.<BR>
Of course you were right. I have setup everything as you stated. And calls are reaching the PSTN gateway.. but they are dropped there. I have another post in the mailing list concerning this new problem<BR>
Thanks again for your comments.<BR>
<BR>
-----Original Message-----<BR>
From: Henning Westerholt [<A HREF="mailto:henning.westerholt@1und1.de">mailto:henning.westerholt@1und1.de</A>]<BR>
Sent: Fri 2/1/2008 9:30 PM<BR>
To: users@lists.openser.org<BR>
Cc: Ali Jawad<BR>
Subject: Re: [OpenSER-Users] Route calls to PSTN Gateway<BR>
<BR>
On Wednesday 30 January 2008, Ali Jawad wrote:<BR>
&gt; I have successfully setup OpenSer with a mysql backend. I am able to<BR>
&gt; make calls using sip phones between registered users. What I need to do<BR>
&gt; know is routing calls that start with 00 to my PSTN gateway. But first I<BR>
&gt; need to setup OpenSer to route calls to my PSTN ..!<BR>
&gt; I am using OpenSer1.3 and I have checked sipwise.com but honestly I<BR>
&gt; prefer changing my own config file.<BR>
<BR>
Hi Ali,<BR>
<BR>
sure, its always better to write your own config file that you full<BR>
understood, than base it on some templates. You could start with the default<BR>
config that is delivered with the server.<BR>
<BR>
&gt; But from sipwise.com I concluded that I need the config below<BR>
&gt; But are the nathelper and mediaproxy compiled by default or do I have to<BR>
&gt; recompile with special options ?<BR>
<BR>
There is no need to recompile, the nathelper/ mediaproxy modules are installed<BR>
by default. But why do you think you need this modules at all? If you just<BR>
want to connect to PSTN, then there is no need for this modules. If you want<BR>
to use this modules, you need additional software as stated in the module<BR>
documentation.<BR>
<BR>
&gt; Other than that where do I set the IP of my PSTN gateway ?<BR>
<BR>
You just need to rewrite the domain part of the R-URI to the IP of the<BR>
gateway, and send your message out with t_relay. You can do the rewriting<BR>
with pseudo-variables or the rewritehost function.<BR>
<BR>
Cheers,<BR>
<BR>
Henning<BR>
<BR>
--<BR>
This message has been scanned for viruses and<BR>
dangerous content by MailScanner, and is<BR>
believed to be clean.<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>