<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=windows-1252>
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV>I have already answered...</DIV>
<DIV><A 
href="http://lists.iptel.org/pipermail/serusers/2005-November/025670.html">http://lists.iptel.org/pipermail/serusers/2005-November/025670.html</A></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=dnay@ionosphere.net href="mailto:dnay@ionosphere.net">Darren Nay</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org 
  href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, November 17, 2005 4:39 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] Usrloc question</DIV>
  <DIV><BR></DIV>One last try...&nbsp; :)<BR><BR>Does anyone out there have any 
  advice for me on this issue?&nbsp; I'm stuck and could really use some 
  help.&nbsp; I've been trying to find a solution myself for the past week or so 
  and have been less than successful.<BR><BR>Thanks in advance!<BR>Darren 
  Nay<BR><BR>
  <BLOCKQUOTE cite=mid437B3810.90704@ionosphere.net type="cite">
    <BLOCKQUOTE cite=midmd5:64756D6D79206D657373616765206964 type="cite">
      <META content="Microsoft Word 11 (filtered medium)" name=Generator>
      <STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>

      <DIV class=Section1><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hey 
      all,<O:P></O:P></SPAN></FONT> 
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a question regarding 
      usrloc. &nbsp;I have run into a problem..<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We have static routes sent to 
      an asterisk server for all of our SIP usernames.&nbsp; In addition our 
      IAD’s will register with the same username, so that calls coming into our 
      switch for that username will be routed to both the asterisk box and the 
      SIP IAD.&nbsp; This way, whichever endpoint (IAD or asterisk) answers the 
      call first will take the call.<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">For example.&nbsp; 
      <O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">root:/ # serctl ul show 
      +18646404810<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A class=moz-txt-link-rfc2396E 
      href="mailto:sip:+18646404810@192.168.1.60">&lt;sip:+18646404810@192.168.1.60&gt;</A>;q=1;expires=-1012151<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A class=moz-txt-link-rfc2396E 
      href="mailto:sip:+18646404810@192.168.1.157:5060">&lt;sip:+18646404810@192.168.1.157:5060&gt;</A>;q=;expires=403<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">192.168.1.60 is the asterisk 
      server.&nbsp; This is a static route added by 
      serctl.<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">192.168.1.157 is my IAD which 
      registers with the switch every 10 minutes.<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So when calls are made to 
      (864) 640-4810 then SER will send an INVITE to both 
      location.<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I explained all of this just 
      to explain now what my problem is, and ask if anyone may know a possible 
      solution.<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now, we also use asterisk to 
      perform call fwd’ing functions.&nbsp; Asterisk will answer the call and 
      then originate another call out back to SER to a new location.&nbsp; Now 
      the problem! (finally!)&nbsp; This call fwd’ing method works very well in 
      most cases, except that if the call fwd’ing is being sent to another 
      location registered with SER then it will be redirected back to asterisk 
      again, albeit to a different URI, and asterisk will kill the call because 
      it thinks that it has looped (which I guess it has… sort 
      of).<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So, I’m wondering if there is 
      possibly a way to retrieve only the usrloc locations that don’t contain 
      the IP address 192.168.1.60 in the contact URI?&nbsp; This way I can just 
      check if the src_ip is 192.168.1.60 and if so then retrieve all the usrloc 
      locations – without asterisk – and the call will not be redirected back to 
      asterisk.<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is this possible?&nbsp; Or if 
      anyone has any other ideas that may help then I am definitely open to 
      suggestions.&nbsp; <O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks for your 
      help!!<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Darren 
      Nay<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Ionosphere, 
      Inc<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">VoIP Network 
      Development<O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A 
      href="mailto:dnay@ionosphere.net">dnay@ionosphere.net</A><O:P></O:P></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Serusers mailing 
  list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE></BODY></HTML>