The call is being set up by the append_branches() and then Serialize_branches() with the Q Values being whatever depending on how I want the calls to be (parallel or serial).  Then in the failure_branch() I either call the next_branch() or fail over to voicemail issuing the rewritehost() function.  One thing I noticed at first is that after the serial and parallel calls I get a 482 loop error.  So to kind of cheat I made my if statement in the failure_branch that catches whether or not it fails to VM also catch the 482 message.  I am guessing this is not a good thing and I need to find out why the 482 loop is occuring.
<br />
<br />The other weird thing that I noticed is that if I ngrep on the VM server for all traffic on that interface and then test it works!!!  How is it that just doing an ngrep during the test call would fix the issue???  That is what first made me think that a sleep(x) would fix things because I figured the ngrep on the VM server was slowing down the VM server.
<br />
<br />Anyway I am hoping that the 482 loop issue is the root of my issue.  I just haven&#39;t had time to test more since I am having to study for a CCNP Routing test, but I will get back with this issue and send some sip traces unless something I said above makes you think what the issue could be.
<br />
<br />Thanks
<br />
<br />On Nov 16, 2009 8:44am, &quot;Bogdan-Andrei Iancu [via OpenSIPS (Open SIP Server)]&quot; &lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4023033&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt; wrote:
<div class='shrinkable-quote'><br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Hi,
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Let me first try to understand the scenario from SIP point of view.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; In the first place, the call is sent to USER and PSTN (parallel). Now, 
<br />&gt; 
<br />&gt; 
<br />&gt; the PSTN responds very slow and the USER (callee) decline the call, right ?
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; How the VM kicks in? serial forking?
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Maybe a call flow or a trace will help a lot to understand your case.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Regards,
<br />&gt; 
<br />&gt; 
<br />&gt; Bogdan
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; osiris123d wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; I am wondering if anyone has run into this issue and how it might get fixed.
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; I am testing a Hunt Group call where the user in the location table and a
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; number out on the PSTN both get called at the same time since they both have
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; the same Q value.  The parallel forking works just fine but due to the PSTN
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; taking a little longer to respond to the invite the call to the location
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; table user will always cancel before the call to the PSTN number.  Because
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; of this I see that the call to the PSTN number is still going on when the
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; Voicemail server picks up.  I think because the call to the PSTN user was
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; still in process it messes up the Two-Way audio.  You can&#39;t hear the audio
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; coming from the Voicemail server.  I know for a fact that my mediaproxy
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; functions are set up correctly because on occasion it will work correctly. 
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; Any idea how to fix this?  I tried the sleep() function in the failure
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; route, but that didn&#39;t seem to help.
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;   
<br />&gt; 
<br />&gt; 
<br />&gt; -- 
<br />&gt; 
<br />&gt; 
<br />&gt; Bogdan-Andrei Iancu
<br />&gt; 
<br />&gt; 
<br />&gt; www.voice-system.ro
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; _______________________________________________
<br />&gt; 
<br />&gt; 
<br />&gt; Users mailing list
<br />&gt; 
<br />&gt; 
<br />&gt; [hidden email]
<br />&gt; 
<br />&gt; 
<br />&gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; View message @ http://n2.nabble.com/Parallel-Forking-messes-up-Voicemail-two-way-audio-tp3925391p4012384.html
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; To unsubscribe from Parallel Forking messes up Voicemail two-way audio, click here.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt;</div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Parallel-Forking-messes-up-Voicemail-two-way-audio-tp3925391p4023033.html">Re: Re: [OpenSIPS-Users] Parallel Forking messes up Voicemail two-way  audio</a><br>
Sent from the <a href="http://n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br>