<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.20 20031014" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<font size="2">Yeah... I wasn't really sure. I'm trying to think of a way and nothing comes to mind. The problem is that SER is sort of part stateful and part not, and isn't as concerned with a constant dialog as simply passing the SIP packets effectively.  You might be able to couch some logic somehow that searched for a particular message tag on incoming packets and assigned messages with the same tag an identical flag in the DB (using an AVP), then checked the AVP later to determine the proper direction to route the SIP message. 
<br />
<br />It would be easier, I imagine, to write your own SER module to handle the dispatching details and tag searching, though.  
<br />
<br />All around, it sounds like it could be a mess. Something to play with, though, if you have time. 
<br />
<br />N.
<br /><b>
<br />
<br />On Wed, 27 Sep 2006 15:25:04 -0600, Douglas Garstang wrote</b>
<br />&gt; <span class="060332421-27092006"><font size="2" face="Arial" color="#0000ff">It 
won't work, unless you make sure that transfers go through the same asterisk 
server as the orignal call went through. Using the SER dispatcher won't fix 
that.</font></span>
</font><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px;">
<font size="2">  
<br />&gt; <font size="2" face="Tahoma">-----Original Message-----
<br />&gt; <b>From:</b> sip 
  [mailto:sip@arcdiv.com]
<br />&gt; <b>Sent:</b> Wednesday, September 27, 2006 2:25 
  PM
<br />&gt; <b>To:</b> Asterisk Users Mailing List - Non-Commercial 
  Discussion
<br />&gt; <b>Cc:</b> 
  asterisk-users-bounces@lists.digium.com
<br />&gt; <b>Subject:</b> Re: 
  [asterisk-users] SER with multiple asterisk 
  deployment
<br />&gt; 
<br />&gt; </font><font size="2">How do you plan on choosing which 
  Asterisk server to send the SIP requests? Truly random? Based on some sort of 
  LCR methodology? 
<br />&gt; 
<br />&gt; Have you tried using the LCR module for SER to send 
  the requests to asterisk? 
<br />&gt; 
<br />&gt; Not sure it would work, but it might be 
  worth looking at. 
<br />&gt; 
<br />&gt; N.<b><span style="font-weight: bold;"></span> 
  
<br />&gt; 
<br />&gt; On Wed, 27 Sep 2006 21:34:33 +0200, Adi Simon wrote</b> 
<br />&gt; &gt; 
  Hi Zac, 
<br />&gt; &gt;   
<br />&gt; &gt; Thank you so much for your sincere answer. 
  What you brought up is exactly 
<br />&gt; &gt; what I encountered when I tried to 
  find a solution for this, the documentation 
<br />&gt; &gt; is inconsistent and 
  ambiguous, and everywhere I look I end up with outdated 
<br />&gt; &gt; examples that 
  make little or no sense in the good case, or just don't compile 
<br />&gt; &gt; due 
  to being so old in the bad case. This is very frustrating but just by reading 
  
<br />&gt; &gt; what you wrote was very uplifting for me. 
<br />&gt; &gt;   
  
<br />&gt; &gt; Thanks again, 
<br />&gt; &gt;   
<br />&gt; &gt; Adi. 
<br />&gt; &gt; 
<br />&gt; &gt;   
  
<br />&gt; &gt; <span class="gmail_quote">On 9/27/06, <b class="gmail_sendername">Zac 
  Amsler</b> &lt;<a href="mailto:list-asterisk@netiqsys.net">list-asterisk@netiqsys.net</a>&gt; 
  wrote:</span> 
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">Adi, 
    
<br />&gt; &gt; 
<br />&gt; &gt; It is possible to do what you are looking for. It is 
    actually easy. 
<br />&gt; &gt; 
<br />&gt; &gt; There is a problem that I have found with 
    ser/openser.. Documentation is 
<br />&gt; &gt; difficult to read and some things 
    are just not there, so you get people 
<br />&gt; &gt; that spend many hours trying 
    to get these functions to work. In these 
<br />&gt; &gt; days time is money, so the 
    people that know how to do what you are 
<br />&gt; &gt; seeking.. charge large 
    amounts of money for a simple 50 line config file. 
<br />&gt; &gt; 
<br />&gt; &gt; I will 
    tell you that everything you are looking for is documented in 
<br />&gt; &gt; 
    examples. You will have to piece them together and make them work in 
    
<br />&gt; &gt; harmony like the rest of us have. 
<br />&gt; &gt; 
<br />&gt; &gt; I suggest you 
    look at voip user and piece the config together from 
<br />&gt; &gt; examples 
    there. It may also help you to read the source code of the 
<br />&gt; &gt; modules 
    that handle routing in ser. There are a few tricks that are 
<br />&gt; &gt; hidden 
    in the code. 
<br />&gt; &gt; 
<br />&gt; &gt; I am sorry for my vagueness. I am not able to 
    share the config 
<br />&gt; &gt; information due to an IP agreement with my 
    company.(They think it is a 
<br />&gt; &gt; trade secret) 
<br />&gt; &gt; 
<br />&gt; &gt; I wish 
    you the best. 
<br />&gt; &gt; 
<br />&gt; &gt; Cheers, 
<br />&gt; &gt; Zac Amsler, Network 
    Operations 
<br />&gt; &gt; Sur-Tel Communications, Inc. &amp; NetIQ Systems, LLC 
    
<br />&gt; &gt; * US48, Canada, A-Z Wholesale Termination. 
<br />&gt; &gt; * US48 
    Origination, Toll Free DIDs. 
<br />&gt; &gt; * Toll Free Termination (FREE). 
    
<br />&gt; &gt; 
<br />&gt; &gt; Adi Simon wrote: 
<br />&gt; &gt; &gt; Hi, 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; 
    &gt; Did anyone actually manage setting up a single SER with multiple 
    
<br />&gt; &gt; &gt; Asterisk boxes? 
<br />&gt; &gt; &gt; I particulary have a problem of 
    keeping the session alive and by that I 
<br />&gt; &gt; &gt; mean directing 
    
<br />&gt; &gt; &gt; all the following sip messages to the same asterisk box the 
    first signal 
<br />&gt; &gt; &gt; was sent (randomally). 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; 
    &gt; Please don't direct me to Asterisk+At+Large 
<br />&gt; &gt; &gt; &lt;<a href="http://www.voip-info.org/wiki-Asterisk+at+large"> 
    http://www.voip-info.org/wiki-Asterisk+at+large</a>&gt; or the 
<br />&gt; &gt; &gt; 
    asterisk_integration 
<br />&gt; &gt; &gt; &lt;<a href="http://www.openser.org/dokuwiki/doku.php?id=asterisk_integration">http://www.openser.org/dokuwiki/doku.php?id=asterisk_integration 
    </a>&gt; page 
<br />&gt; &gt; &gt; at <a href="http://openser.org">openser.org</a> 
    &lt;<a href="http://openser.org">http://openser.org</a>&gt; as they are 
    quite old and useless. 
<br />&gt; &gt; &gt; What I seek are examples of 
<br />&gt; &gt; 
    &gt; ser.cfg or some advice from someone who actually managed to accomplish 
    this. 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; Thanks, 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; Adi. 
    
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; 
    ------------------------------------------------------------------------ 
    
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; _______________________________________________ 
    
<br />&gt; &gt; &gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> -- 
<br />&gt; &gt; &gt; 
<br />&gt; &gt; &gt; 
    asterisk-users mailing list 
<br />&gt; &gt; &gt; To UNSUBSCRIBE or update options 
    visit: 
<br />&gt; &gt; &gt;    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users 
    </a>
<br />&gt; &gt; _______________________________________________ 
<br />&gt; &gt; 
    --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> -- 
<br />&gt; &gt; 
<br />&gt; &gt; 
    asterisk-users mailing list 
<br />&gt; &gt; To UNSUBSCRIBE or update options visit: 
    
<br />&gt; &gt;   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> 
    
<br />&gt; &gt; </blockquote>
<br />&gt; 
<br />&gt; </font></font></blockquote>


</BODY>
</HTML>