<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1252"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
One last try...  :)<br>
<br>
Does anyone out there have any advice for me on this issue?  I'm stuck
and could really use some help.  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 http-equiv="Content-Type" content="text/html; ">
    <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
    <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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.  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.  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.  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.  <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.  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.  Asterisk will answer the call and then originate another
call
out back to SER to a new location.  Now the problem! (finally!)  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?  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?  Or if
anyone has any other ideas
that may help then I am definitely open to suggestions.  <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>
</body>
</html>