Just remember that with that config, SIP users can't start with '9',
otherwise they will be treated like a PSTN number. Like "N." said..
it's just a simple example, but it works.<br>
<br>
Jose Simoes<br><br><div><span class="gmail_quote">On 3/13/06, <b class="gmail_sendername">sip</b> <<a href="mailto:sip@arcdiv.com">sip@arcdiv.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For the most BASIC of possible setups, you'd need to set up some sort of rule<br>in SER to forward calls to the gateway....<br><br>if(method=="INVITE")<br>{<br> if(uri =~ "^sip9.*@.*")<br> {<br> rewritehostport("ipofmediatrix:port");
<br> if(!t_relay())<br> {<br> sl_reply_error();<br> };<br> };<br>};<br><br><br>Of course, you'll want to couch that in some sort of authentication block to<br>ensure that people who aren't authorised can't use the PSTN gateway for
<br>calls... but that is the basic stuff. Check for a URI starting with 9, and<br>send it to the mediatrix.<br><br>It can get as complex as you'd like it, though... :)<br><br>N.<br><br><br>On Mon, 13 Mar 2006 16:02:44 -0700, McAvan, Troy-P29897 wrote
<br>> I am trying to obtain information on how to set up SIP SER so that a<br>> SIP phone can call a PSTN phone. I do have a Mediatrix gateway. The<br>> sip user would need to dial 9 and then the phone number to go to the
<br>> PSTN. If someone could explain this to me in very simple terms, it<br>> would be greatly appreciated.<br>><br>> Thanks,<br>> Troy<br>><br>> _______________________________________________<br>> Serusers mailing list
<br>> <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>> <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</a><br><br>_______________________________________________
<br>Serusers mailing list<br><a href="mailto:serusers@lists.iptel.org">Serusers@iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote></div>
<br>