Telco always says it is not their issue.<br><br>This is all over google, did you even check? Did you check your options in chan_dahdi.conf?<br><pre><code><font style="font-family: arial,helvetica,sans-serif;" size="2">hanguponpolarityswitch=yes</font><br>
</code></pre>I am not sure if that is your problem but it would be helpful to list the things you have found, tested, and ruled out.<br><br>As for prepending a 9 for redial, I would say doing it in the [outbound] dial context would be best practice.<br>
<br>For my installations, I have eliminated the need to "Dial 9 for an outside line" That goes back to the key systems where 9 got you an outside line.<br><br>I have also eliminated the need to dial 1 as well. A good dialplan makes these legacy, I still leave them there to avoid confusion. <br>
<br>For some clients that use TDM and VoIP, I may make 8 + number go over VoIP and 9 + whatever go over TDM.<br><br>Default without the 8 or 9 is to go out over TDM or whatever the customer wants, or TDM if they seem lost.<br>
<br>I don't give them too many decisions to make, just educate them on the options programmed into the system.<br><br>Last thing, your dialplan looks too over engineered. How about this and fixing your callerID syntax?<br>
<br>[inbound]<br>
exten => s,1,Answer<br>
exten => s,n,Set(CALLERID(num),9${CALLERID(num)})<br>
exten => s,n,Dial(SIP/504&SIP/506,5,tTgr)<br>
exten => s,n,Dial(SIP/501&SIP/502&SIP/503&SIP/504&SIP/505&SIP/506,10,tTgr)<br>
exten => s,n,Voicemail(499@default,u)<br>
exten => s,n,Hangup<br><br>Thanks,<br>Steve Totaro<br><br><br><div class="gmail_quote">On Fri, May 6, 2011 at 10:54 PM, Bruce B <span dir="ltr"><<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Brian,<div><br></div><div>Did you find a solution to your problem? or at least got a working dial-plan for it? I have the same problem again as well and want to know what to do with the dial-plan to off-set the effect at least since Telco says it's not their issue.</div>
<div><br></div><div>Regards,</div><div>Bruce<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Apr 7, 2011 at 5:53 PM, Brian Henning <span dir="ltr"><<a href="mailto:bhenning@pineinst.com" target="_blank">bhenning@pineinst.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
Now and then our SIP phones ring with "asterisk" showing as the caller-ID.<br>
Upon picking up the receiver, there is about five seconds of silence and<br>
then the channel is closed (hangup). Can anyone offer some insight? Here's<br>
relevant snippets from my extensions.conf and Master.csv log:<br>
<br>
This line shows up in Master.csv:<br>
<br>
"","","1-NOANSWER","inbound","","DAHDI/1-1","SIP/505-00000150","Dial","SIP/5<br>
01&SIP/502&SIP/503&SIP/504&SIP/505&SIP/506,10,tTgr","2011-04-07<br>
21:37:05","2011-04-07 21:37:16","2011-04-07<br>
21:37:21",16,5,"ANSWERED","DOCUMENTATION","1302212225.444",""<br>
<br>
Here's [inbound] from extensions.conf:<br>
[inbound]<br>
exten => s,1,Answer<br>
exten => s,n,Ringing<br>
exten => s,n,Set(CALLERID(num),9${CALLERID(num)})<br>
exten => s,n,Dial(SIP/504&SIP/506,5,tTgr)<br>
exten => s,n,Goto(1-${DIALSTATUS},1)<br>
exten => 1-ANSWER,1,Hangup<br>
exten =><br>
_1-.,1,Dial(SIP/501&SIP/502&SIP/503&SIP/504&SIP/505&SIP/506,10,tTgr)<br>
exten => _1-.,n,Goto(2-${DIALSTATUS},1)<br>
exten => 2-ANSWER,1,Hangup<br>
exten => _2-.,1,Voicemail(499@default,u)<br>
exten => _2-.,2,Hangup<br>
<br>
The idea is that first 504 and 506 ring, then if neither of them answer,<br>
everyone rings. Works great most of the time.<br>
<br>
I have a hunch that maybe this happens if the inbound caller hangs up while<br>
the first Dial() is ringing, but I would've expected to see the first Dial<br>
(to 504 and 506) show up in the Master.csv log, and it's not there. (The<br>
preceding line of the log is a call from almost an hour earlier). In that<br>
case though I'd expect to see "1-CANCEL" in the log instead. Perhaps if the<br>
caller happens to hang up right between the two Dial() commands?..<br>
<br>
As an aside, the Set(CALLERID...) bit doesn't work. The idea was to prepend<br>
a 9 so that a SIP user could use the "redial" feature of the phone's call<br>
log to return a missed call (automatically including the 9 for outside<br>
line). Unfortunately the 9 does not get prepended.<br>
<br>
Thanks in advance for any and all advice!<br>
~Brian<br>
<br>
------------------------------------------------------<br>
Brian Henning, Software Engineer<br>
<br>
/\ Pine Research Instrumentation<br>
//\\ 5908 Triangle Drive<br>
///\\\ Raleigh, NC 27617<br>
////\\\\ USA<br>
||<br>
|| phone: <a href="tel:919.782.8320" value="+19197828320" target="_blank">919.782.8320</a><br>
fax: <a href="tel:919.782.8323" value="+19197828323" target="_blank">919.782.8323</a><br>
email: <a href="mailto:bhenning@pineinst.com" target="_blank">bhenning@pineinst.com</a><br>
------------------------------------------------------<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>