<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>yes, at least in my case I have only used gateways 
that auth by IP</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=pereyra.roberto@gmail.com 
  href="mailto:pereyra.roberto@gmail.com">Roberto Pereyra</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=glenn@routerboy.com 
  href="mailto:glenn@routerboy.com">Glenn Dalgliesh</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=rob.s.kennedy@gmail.com 
  href="mailto:rob.s.kennedy@gmail.com">Robert Kennedy</A> ; <A 
  title=users@openser.org href="mailto:users@openser.org">users@openser.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 10, 2006 8:49 
AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Users] Getting Started - 
  Basic Proxy</DIV>
  <DIV><BR></DIV>Hi<BR><BR>Where I write the sip server (pstn gateway) username 
  and password ?<BR><BR>Or the gateway must&nbsp; allow per IP or host logins 
  ?<BR><BR>roberto<BR><BR>
  <DIV><SPAN class=gmail_quote>2006/3/10, Glenn Dalgliesh &lt;<A 
  href="mailto:glenn@routerboy.com">glenn@routerboy.com</A>&gt;:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV><FONT face=Arial size=2>You most likely need to add a section in the 
    correct location in the cfg to change the dst based on the dialed digits 
    such as below. You need to keep in mind where you put this in the script. 
    Keep in mind that you don't want to step on the lookup for locally 
    registered contacts. </FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>&nbsp; </FONT></DIV>
    <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (uri=~"^sip:1[0-9]{10}@") || 
    (uri=~"^sip:[0-9]{10}@") || (uri=~"^sip:011[0-9]+@.*") 
    {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    if (uri=~"^sip:[0-9]{10}@") 
    {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    prefix("1"); # if sip provider require 
    leading&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rewritehostport("<A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://192.168.1.1:5060" target=_blank>192.168.1.1:5060</A>"); # to 
    you sip 
    provider<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    route(1); # send to t_relay route 
    section<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    return;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    };<BR></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV><SPAN class=e id=q_109e459c4d04daf2_1>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: initial; moz-background-origin: initial; moz-background-inline-policy: initial"><B>From:</B> 
      <A title=rob.s.kennedy@gmail.com 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:rob.s.kennedy@gmail.com" target=_blank>Robert Kennedy</A> 
      </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=users@openser.org 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:users@openser.org" target=_blank>users@openser.org</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Friday, March 10, 2006 7:29 AM</DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      [Users] Getting Started - Basic Proxy</DIV>
      <DIV><FONT face=Arial size=2></FONT><FONT face=Arial 
      size=2></FONT><BR></DIV>
      <DIV>Im currently learning OpenSer and have accomplished the 
      following:</DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV>Installed: Centos 4.2</DIV>
      <DIV>OpenSer: V1.0.1</DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV>I have 2 x-lite client registering and calling each other.</DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Question: How do I proxy on SIP requests to a 3rd part SIP Provider. 
      eg. Sipgate</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>xlite ---&gt;&nbsp; Ser ---&gt; Sipgate</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Im just getting confused on how to configure the next hop 
      routing?</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Currently as expected im getting a 404 Not Found unless I call one of 
      the x-lite phones. I want to be able to terminate out to a SIP-to-PSTN 
      provider.</DIV>
      <DIV><BR>Regards</DIV>
      <DIV><BR>Rob.</DIV></SPAN></DIV>
      <P></P>
      <HR>

      <P></P>_______________________________________________<BR>Users mailing 
      list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:Users@openser.org" target=_blank>Users@openser.org</A><BR><A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://openser.org/cgi-bin/mailman/listinfo/users" 
      target=_blank>http://openser.org/cgi-bin/mailman/listinfo/users</A><BR>
      <P></P></BLOCKQUOTE><BR>_______________________________________________<BR>Users 
    mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:Users@openser.org">Users@openser.org</A><BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://openser.org/cgi-bin/mailman/listinfo/users" 
    target=_blank>http://openser.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>Ing. Roberto Pereyra<BR>ContenidosOnline<BR>Servidores 
  BSD, Solaris y Linux<BR>Soporte técnico ISPs<BR>Jabber ID: <A 
  href="mailto:rpereyra@lugmen.org.ar">rpereyra@lugmen.org.ar</A><BR><BR>For 
  reliable and professional DNS, use DNS Made 
  Easy!<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A 
  href="http://www.dnsmadeeasy.com/u/14989">http://www.dnsmadeeasy.com/u/14989 
  </A></BLOCKQUOTE></BODY></HTML>