Hmm. Thanks for the heads up, but I'm not sure that's it.<br>
<br>
It's jumping to 208 rather than 209, so it looks more like an off-by-one error.<br>
<br>
I tried changing to priorityjumping=yes in
/etc/asterisk/extensions.conf and reinstalled the CVS-HEAD version, but
it still jumps to 208 whereas it used to jump to 209.<br><br>
<br>
<br><div><span class="gmail_quote">On 9/24/05, <b class="gmail_sendername">Julian Lyndon-Smith</b> &lt;<a href="mailto:asterisk@dotr.com">asterisk@dotr.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Under 1.2 the +101 jumping is not enabled by default. There is a<br>variable returned showing the status of the application. You need to add<br>a &quot;j&quot; flag or put priorityjumping=yes in extensions.conf<br><br>Julian.
<br><br>Brian McEntire wrote:<br>&gt; Hmmm...<br>&gt;<br>&gt; I checked out CVS-HEAD, built and installed it this morning. Most testing<br>&gt; was going well, but then I found out the behavior of ChanIsAvail has changed<br>
&gt; (is broken?)<br>&gt;<br>&gt;<br>&gt; In my Dial Plan, if a call comes in on the PSTN line, and is not answered by<br>&gt; the extension (or if the extension is busy), ChanIsAvail checks to see of<br>&gt; the outgoing VOIP line is available. If so, it forwards the call to the VOIP
<br>&gt; voice mail. If not, it forwards the call to the Asterisk Voicemail.<br>&gt;<br>&gt; With 1.2-beta, ChanIsAvail works for me. With CVS-HEAD, it hangs up on the<br>&gt; caller.<br>&gt;<br>&gt; Here is the relevant portion of my 
extensions.conf:<br>&gt;<br>&gt; exten =&gt; s,7,Dial(${PHONE1},15)<br>&gt; exten =&gt; s,8,Goto(108)<br>&gt; exten =&gt; s,108,ChanIsAvail(${VOIP1})<br>&gt; exten =&gt; s,109,Dial(${VOIP1}/${VOIPNUM})<br>&gt; exten =&gt; s,209,VoiceMail(123|sbg(6))
<br>&gt;<br>&gt;<br>&gt; In the globals section, VOIP1 is set equal to Zap/4<br>&gt;<br>&gt; With 1.2-beta, -vvv logs show this, which is successful:<br>&gt;<br>&gt; -- Executing ChanIsAvail(&quot;Zap/3-1&quot;, &quot;Zap/4&quot;) in new stack
<br>&gt; -- Executing VoiceMail(&quot;Zap/3-1&quot;, &quot;123|sbg(6)&quot;) in new stack<br>&gt; -- Playing '/var/spool/asterisk/voicemail/default/123/busy' (language 'en')<br>&gt;<br>&gt;<br>&gt; With CVS-HEAD -vvv logs show this, which is unsuccessful:
<br>&gt;<br>&gt; -- Executing ChanIsAvail(&quot;Zap/3-1&quot;, &quot;Zap/4&quot;) in new stack<br>&gt; == Spawn extension (incoming-pstn, s, 208) exited non-zero on 'Zap/3-1'<br>&gt; -- Hungup 'Zap/3-1'<br>&gt;<br>&gt;<br>
&gt; Is there another list or someone I should mention this to? Asterisk should<br>&gt; not hangup Zap/3-1 at this point.<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 9/24/05, Rich Adamson &lt;<a href="mailto:radamson@routers.com">
radamson@routers.com</a>&gt; wrote:<br>&gt;<br>&gt;&gt;The patch is in cvs-head, which has been very stable for me. :)<br>&gt;&gt;<br>&gt;&gt;------------------------<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&gt;Hi Richard,<br>
&gt;&gt;&gt;I am experiencing the same problem. I'd like to test your patch. Thing,<br>&gt;&gt;<br>&gt;&gt;is, I don't know which<br>&gt;&gt;CVS it's in :)<br>&gt;&gt;<br>&gt;&gt;&gt;... I checked out 1.2-beta on Tuesday (9/21) and compiled it. When I
<br>&gt;&gt;<br>&gt;&gt;type 'show application<br>&gt;&gt;voicemail', it does not describe the<br>&gt;&gt;<br>&gt;&gt;&gt;g(#) option, so I think my version must not have it.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;I am using a TDM22B card and voicemails seem very quiet if they are left
<br>&gt;&gt;<br>&gt;&gt;from in incoming POTS<br>&gt;&gt;connection. When I enter<br>&gt;&gt;<br>&gt;&gt;&gt;voicemail by direct dialing a local extension and leave a message from<br>&gt;&gt;<br>&gt;&gt;the advanced options
<br>&gt;&gt;menu, the recorded message is much<br>&gt;&gt;<br>&gt;&gt;&gt;louder.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;I should qualify, not only are my VMs coming in over POTS, I am actually<br>&gt;&gt;<br>&gt;&gt;calling out first
<br>&gt;&gt;through the TDM22B, to Sipura, to<br>&gt;&gt;<br>&gt;&gt;&gt;VOIP provider, back in via PSTN, to TDM22B, to VM. I'm amazed it works<br>&gt;&gt;<br>&gt;&gt;at all :) ... I'm very<br>&gt;&gt;impressed by Asterisk and
<br>&gt;&gt;<br>&gt;&gt;&gt;especially it's voicemail. I would like to resolve the low volume issue<br>&gt;&gt;<br>&gt;&gt;though.<br>&gt;&gt;<br>&gt;&gt;&gt;If you can tell me which CVS to check out, I can try it. I'd like to
<br>&gt;&gt;<br>&gt;&gt;stick to the 1.2-beta<br>&gt;&gt;branch though because I don't want to<br>&gt;&gt;<br>&gt;&gt;&gt;rework all my config files.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;On 9/21/05, Rich Adamson &lt;<a href="mailto:radamson@routers.com">
radamson@routers.com</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;On Monday 19 September 2005 12:38, Rich Adamson wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;The g(6) adds a 6 db gain for zap calls that end up recording a
<br>&gt;&gt;<br>&gt;&gt;Voicemail<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;message.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;* 'g(#)' the specified amount of gain will be requested during
<br>&gt;&gt;<br>&gt;&gt;message<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;recording (units are whole-number decibels (dB))<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;How in the hell does that make any sense? are your normal incoming
<br>&gt;&gt;<br>&gt;&gt;calls<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;quiet too or just voicemail?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;Yes, see bug 2022 and 2023 for details, as well as<br>&gt;&gt;&gt;<a href="http://www.routers.com/asteriskprob/asterisk-config.htm">
http://www.routers.com/asteriskprob/asterisk-config.htm</a><br>&gt;&gt;&gt;for a very detailed analysis of the problem.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;I believe one of the more serious issues amounts to: if asterisk is<br>
&gt;&gt;&gt;located a fair distance from the central office (-7db in my case),<br>&gt;&gt;<br>&gt;&gt;setting<br>&gt;&gt;<br>&gt;&gt;&gt;the rxgain and/or txgain to any level that would be considered<br>&gt;&gt;<br>&gt;&gt;reasonable
<br>&gt;&gt;<br>&gt;&gt;&gt;for that loss (eg, rxgain=5, txgain=5), hugh amounts of echo result that<br>&gt;&gt;&gt;cannot be addressed through zapata.conf echo entris, and changing<br>&gt;&gt;&gt;compile options to agressive, etc, does not help. Its my believe
<br>&gt;&gt;&gt;(from working with several TDM users), the further one is from the CO,<br>&gt;&gt;&gt;the bigger the problem. (Or, short pstn cable lengths less then about<br>&gt;&gt;&gt;4 or 5db can almost always be addressed via parameters.)
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;The above workaround is very usable (assuming it works) when someone<br>&gt;&gt;&gt;calls in via the pstn and leaves a voicemail (which is already at<br>&gt;&gt;&gt;least 7db down plus their own pstn loss), and then I call in via the
<br>&gt;&gt;&gt;pstn to retrive the voicemail (now 14db down PLUS the original callers<br>&gt;&gt;&gt;pstn loss), the audio is so faint its difficult to impossible to<br>&gt;&gt;&gt;listen to.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt;&gt;In my case, the asterisk box is located about 7db from the central<br>&gt;&gt;&gt;&gt;&gt;office. As noted in bug 2023 (and 2022), calls from an outside pstn<br>&gt;&gt;&gt;&gt;&gt;line coming into asterisk incure a 7db pstn loss (which can't be
<br>&gt;&gt;<br>&gt;&gt;adjusted<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;for with rxgain and txgain as changing those values to something<br>&gt;&gt;&gt;&gt;&gt;reasonable generates echo). Retrieving that VM message from an<br>
&gt;&gt;<br>&gt;&gt;outside<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;location creates another 7db loss (now -14db down in total), making<br>&gt;&gt;<br>&gt;&gt;it<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;very difficult (if not impossible) to hear the message. (And, yes
<br>&gt;&gt;<br>&gt;&gt;I've<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;gone through all the recommendations with wav vs gsm files, etc.)<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;I am not sure I understand why the txgain/rxgain isn't fixing it
<br>&gt;&gt;<br>&gt;&gt;without<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;adding unacceptable echo... this all seems very odd... I mean for a<br>&gt;&gt;<br>&gt;&gt;test<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;you should be able to dial an echo() application and have extremely
<br>&gt;&gt;<br>&gt;&gt;quiet<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;echoed audio... is this the case?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;As an ex-telco transmission engineer, believe me I've done my homework<br>&gt;&gt;&gt;and some very solid testing with expensive well-calibrated test
<br>&gt;&gt;<br>&gt;&gt;equipment.<br>&gt;&gt;<br>&gt;&gt;&gt;As I've mentioned to Kevin, its almost like the TigerJet pci controller<br>&gt;&gt;&gt;on the TDM card is reversing bits six and seven (or something very odd<br>
&gt;&gt;&gt;like that). Digium apparently now has a pci engineering type looking<br>&gt;&gt;&gt;at the issues, which I'm told is using a pci logic analyzer, etc.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;The work around &quot;only&quot; kicks in if the call comes from a zap channel
<br>&gt;&gt;&gt;&gt;&gt;and ends up in voicemail, adding a 6db gain to that recorded<br>&gt;&gt;<br>&gt;&gt;message.<br>&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;No other channel types are impacted by this new parameter.<br>&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt;This is a HELL of a band-aid.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;If you actually follow the logic that was originally stated in 2023,<br>&gt;&gt;&gt;this gain setting &quot;is&quot; highly useful for those systems that are
<br>&gt;&gt;&gt;further away from the CO (as mentioned above). For those closer to<br>&gt;&gt;&gt;the CO, it has zero value.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;Rich<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;_______________________________________________
<br>&gt;&gt;&gt;--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a>&lt;<a href="http://Easynews.com">http://Easynews.com</a>&gt;--<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;Asterisk-Users mailing list
<br>&gt;&gt;&gt;<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><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;&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;---------------End of Original Message-----------------
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; --Bandwidth and Colocation sponsored by 
<a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt; Asterisk-Users mailing list<br>&gt; <a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br></blockquote></div><br>