<!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.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><PRE><FONT face=Arial size=2>Hello Matt,</FONT></PRE><PRE><FONT face=Arial size=2>I'm having the same problem as you are (i'm using ser 0.8.12).</FONT></PRE><PRE><FONT face=Arial size=2>Please advise if know what is source of this problem.</FONT></PRE><PRE>Thanks</PRE><PRE>Ri Liang</PRE><PRE><FONT face=Arial size=2></FONT>&nbsp;</PRE><PRE><FONT face=Arial size=2>------------------------</FONT></PRE><PRE><FONT face=Arial size=2>So.. did anyone have any ideas as to what I may be doing wrong?


Matt Hess wrote:

&gt; I want to send an updated uri to the exec'd script but beyond 2 updates 
&gt; to the uri ser seems to fail to update the uri..
&gt; 
&gt; so when the failure route keeps being called the last number it had just 
&gt; tried is sent but that doesn't seem to happen and I'm wondering if this 
&gt; is a bug in ser as it would seem so.. to me at least.
&gt; 
&gt; Say the hunt number is dialed.. route(2) is called.. which calls the 
&gt; script.. the hunt number is sent properly to the script and the script 
&gt; returns the first number in the hunt properly.. (06 in my example). Now 
&gt; if that number is busy ser drops to the failure_route[2] and 06 is sent 
&gt; back to the script and the script returns 07.. ok now if that number is 
&gt; busy failure_route[2] should be called again. But instead of sending 07 
&gt; to the the script as the number last dialed (or current uri) ser sends 
&gt; 06 again to the script which to me seems like an incorrect behavior..?
&gt; 
&gt; 
&gt; Kapil Dhawan wrote:
&gt; 
&gt;&gt; could you pls explain ..how are you implementing call hunting.....well 
&gt;&gt; i am also implementing SER and need same feature by this time i am 
&gt;&gt; writning it in module...do u have any other possibility....
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; From: Matt Hess &lt;</FONT><A href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial size=2>mhess at livewirenet.com</FONT></A><FONT face=Arial size=2>&gt;
&gt;&gt;&gt; To: </FONT><A href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial size=2>serusers at iptel.org</FONT></A>
<FONT face=Arial size=2>&gt;&gt;&gt; Subject: [Serusers] hunt groups?
&gt;&gt;&gt; Date: Sat, 14 Feb 2004 12:01:04 -0700
&gt;&gt;&gt;
&gt;&gt;&gt; I'm trying to do hunt groups in ser..
&gt;&gt;&gt;
&gt;&gt;&gt; I've come to the conclusion that to do multiple hunt groups I need to 
&gt;&gt;&gt; call an external script that replies with the next uri to call when 
&gt;&gt;&gt; it looks at the current one being sent to it.. ie:
&gt;&gt;&gt; sent        returned
&gt;&gt;&gt; 3039930010    3039930006
&gt;&gt;&gt; 3039930006    3039930007
&gt;&gt;&gt; 3039930007    3039930008
&gt;&gt;&gt; 3039930008    3039930006
&gt;&gt;&gt;
&gt;&gt;&gt; However on entering the failure route I have found that the current 
&gt;&gt;&gt; uri is not being updated to reflect the one it has received.. so ser 
&gt;&gt;&gt; keeps looping on the first 2 numbers in the hunt..
&gt;&gt;&gt;
&gt;&gt;&gt; here are my route blocks..
&gt;&gt;&gt;
&gt;&gt;&gt; route[2] {
&gt;&gt;&gt;   log(1, "LOG: entered hunt route");
&gt;&gt;&gt;   t_on_failure("2");
&gt;&gt;&gt;   exec_dset("/usr/local/ser/huntgroup.pl");
&gt;&gt;&gt;   append_branch();
&gt;&gt;&gt;   t_relay();
&gt;&gt;&gt; }
&gt;&gt;&gt;
&gt;&gt;&gt; failure_route[2] {
&gt;&gt;&gt;   log(1, "LOG: Hit failure_route 2");
&gt;&gt;&gt;   t_on_failure("2");
&gt;&gt;&gt;   exec_dset("/usr/local/ser/huntgroup.pl");
&gt;&gt;&gt;   append_branch();
&gt;&gt;&gt;   t_relay();
&gt;&gt;&gt; }
&gt;&gt;&gt;
&gt;&gt;&gt; so on the example above it routes to the first 06 and 07 numbers 
&gt;&gt;&gt; properly but when I would think 07 would be the uri sent to the perl 
&gt;&gt;&gt; script an environment check sees that 06 is still being sent as the 
&gt;&gt;&gt; $SIP_USER
&gt;&gt;&gt;
&gt;&gt;&gt; any ideas as to what I need to do?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt; Serusers mailing list
&gt;&gt;&gt; </FONT><A href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial size=2>Serusers at iptel.org</FONT></A>
<FONT face=Arial size=2>&gt;&gt;&gt; </FONT><A href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial size=2>http://lists.iptel.org/mailman/listinfo/serusers</FONT></A>
<FONT face=Arial size=2>&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; _________________________________________________________________
&gt;&gt; Masterpieces made affordable! Buy art prints. 
&gt;&gt; </FONT><A href="http://go.msnserver.com/IN/42736.asp"><FONT face=Arial size=2>http://go.msnserver.com/IN/42736.asp</FONT></A><FONT face=Arial size=2> MSN Shopping.
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Serusers mailing list
&gt; </FONT><A href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial size=2>Serusers at iptel.org</FONT></A>
<FONT face=Arial size=2>&gt; </FONT><A href="http://lists.iptel.org/mailman/listinfo/serusers"><FONT face=Arial size=2>http://lists.iptel.org/mailman/listinfo/serusers</FONT></A>

</PRE><!--endarticle--><FONT face=Arial size=2>
<HR>
</FONT>
<P>
<UL><!--threads-->
  <LI><FONT face=Arial size=2>Previous message: </FONT><A 
  href="http://lists.iptel.org/pipermail/serusers/2004-February/005921.html"><FONT 
  face=Arial size=2>[Serusers] hunt groups? </FONT></A>
  <LI><FONT face=Arial size=2>Next message: </FONT><A 
  href="http://lists.iptel.org/pipermail/serusers/2004-February/005923.html"><FONT 
  face=Arial size=2>[Serusers] UAs not respecting Record Route </FONT></A>
  <LI><FONT face=Arial size=2>Messages sorted by: </FONT><A 
  href="http://lists.iptel.org/pipermail/serusers/2004-February/date.html#5972"><FONT 
  face=Arial size=2>[ date ]</FONT></A><FONT face=Arial size=2> </FONT><A 
  href="http://lists.iptel.org/pipermail/serusers/2004-February/thread.html#5972"><FONT 
  face=Arial size=2>[ thread ]</FONT></A><FONT face=Arial size=2> </FONT><A 
  href="http://lists.iptel.org/pipermail/serusers/2004-February/subject.html#5972"><FONT 
  face=Arial size=2>[ subject ]</FONT></A><FONT face=Arial size=2> </FONT><A 
  href="http://lists.iptel.org/pipermail/serusers/2004-February/author.html#5972"><FONT 
  face=Arial size=2>[ author</FONT></A></LI></UL></DIV></BODY></HTML>