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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<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=~&quot;^sip:1[0-9]{10}@&quot;) || 
(uri=~&quot;^sip:[0-9]{10}@&quot;) || (uri=~&quot;^sip:011[0-9]+@.*&quot;) 
{<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=~&quot;^sip:[0-9]{10}@&quot;) {<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(&quot;1&quot;); # 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(&quot;<a href="http://192.168.1.1:5060" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.1:5060</a>&quot;); 
# 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">&nbsp;</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_109e459c4d04daf2_1">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="rob.s.kennedy@gmail.com" href="mailto:rob.s.kennedy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Robert 
  Kennedy</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="users@openser.org" href="mailto:users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
users@openser.org</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, March 10, 2006 7:29 
AM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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 href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openser.org</a><br><a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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>