<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 14, 2013 at 9:36 PM, A E G <span dir="ltr"><<a href="mailto:all.eforums@gmail.com" target="_blank">all.eforums@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font color="#663366" face="tahoma, sans-serif">Hi Guys,</font><div><font color="#663366" face="tahoma, sans-serif"><br>
</font></div><div><font color="#663366" face="tahoma, sans-serif">this has been a weekend destroyer for me. I've struggled this all day and most of today. </font></div></div></blockquote><div><br></div><div>From your discussion below, it sounds like the real problem is the Asterisk crashing.<br>
</div><div>So, as a first step to solving **that** problem, make sure asterisk is compiled with debug<br></div><div>flags, dumps another core file, and then you do the "gdb asterisk <corefilename>", and<br>
</div><div>get a stack trace. That should give us some idea of what happened.<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div><font color="#663366" face="tahoma, sans-serif"><br></font></div><div><font color="#663366" face="tahoma, sans-serif">I have a fairly simple Followme sequence in place to see how it works before I get into the complex scenarios. </font></div>
<div><font color="#663366" face="tahoma, sans-serif"><br></font></div><div><font color="#663366" face="tahoma, sans-serif">extensions.conf</font></div><div><font color="#663366" face="tahoma, sans-serif">---</font></div>
<div><font color="#663366" face="tahoma, sans-serif">[Incoming]</font></div><div><div><font face="tahoma, sans-serif"><font color="#663366">exten => <MyDID>,1, </font><span style="color:rgb(102,51,102)">Answer()</span></font></div>
<div><font color="#663366" face="tahoma, sans-serif"> same => n, Set(CHANNEL(language)=en_AU)</font></div><div><font color="#663366" face="tahoma, sans-serif"> same => n, Followme(TestFollow)</font></div>
<div><font color="#663366" face="tahoma, sans-serif"> same => n, NoOp("++Back after Followme: DIALSTATUS = ${DIALSTATUS}, Hangupcause = ${HANGUPCAUSE}")</font></div><div><font color="#663366" face="tahoma, sans-serif"> same => n, Hangup()</font></div>
<div><font color="#663366" face="tahoma, sans-serif"><br></font></div><div><font color="#663366" face="tahoma, sans-serif">[Followme-Dialout]</font></div><div><font face="tahoma, sans-serif"><span style="color:rgb(102,51,102)">exten => _1NXXNXXXXXX,1,Set(CHANNEL(language)=en_AU)</span><br>
</font></div><div><font color="#663366" face="tahoma, sans-serif"> same => n, Dial(SIP/GW-1/${EXTEN})</font></div></div>
<div><font color="#663366" face="tahoma, sans-serif"><br></font></div><div><font color="#663366" face="tahoma, sans-serif">followme.conf</font></div><div><font color="#663366" face="tahoma, sans-serif">----------------</font></div>
<div><font color="#663366" face="tahoma, sans-serif"><div>[TestFollow]</div><div>context => Followme-Dialout</div><div>number => <my landline>,30</div><div>number => <my cell phone>,20</div><div>
<br></div><div>The call goes out, and rings my first phone. If I answer it, the Asterisk core dumps, the calls stay up!</div><div><br></div><div><snip></div><div>
<p></p><p></p><p>[Jan 15 04:19:48] -- Called SIP/GW-<a href="tel:1%2F12035551111" value="+12035551111" target="_blank">1/12035551111</a></p><p>[Jan 15 04:19:51] -- SIP/GW-1-00000007 is making progress passing it to Local/<a href="tel:12035551111" value="+12035551111" target="_blank">12035551111</a>@Followme-Dialout-00000004;2</p>
<p>[Jan 15 04:19:51] -- Local/<a href="tel:12035551111" value="+12035551111" target="_blank">12035551111</a>@Followme-Dialout-00000004;1 is making progress</p><p>[Jan 15 04:20:05] -- SIP/GW-1-00000007 answered Local/<a href="tel:12035551111" value="+12035551111" target="_blank">12035551111</a>@Followme-Dialout-00000004;2</p>
<p>
[Jan 15 04:20:05] -- Local/<a href="tel:12035551111" value="+12035551111" target="_blank">12035551111</a>@Followme-Dialout-00000004;1 answered SIP/DIDProvider-1-00000006</p><p>[Jan 15 04:20:05] -- Starting playback of followme/call-from</p>
<p>[Jan 15 04:20:05] -- <Local/<a href="tel:12035551111" value="+12035551111" target="_blank">12035551111</a>@Followme-Dialout-00000004;1> Playing 'followme/no-recording.ulaw' (language 'en_AU')</p>
<p>[Jan 15 04:20:05] -- Local/<a href="tel:12035551111" value="+12035551111" target="_blank">12035551111</a>@Followme-Dialout-00000004;1 requested a source update</p><p>ast00*CLI> </p><p>Disconnected from Asterisk server</p>
<p>Bus error (core dumped)</p>
<p>...<snip><br></p><p></p><p></p></div><div><br></div><div>I have been playing with "Local" channels over the weekend, and as cool as they sound, they have caused me nothing but pain. Once again, following the console log, I notice that Followme indeed uses Local channel to make these calls and returns control when the call times out etc.</div>
<div><br></div><div>The ONLY time it gets anywhere is if I use the 'l' option with Followme application.</div><div><br></div><div>In that case, the call connect and I can have a conversation but the minute the remote party hangs up, asterisk dumps core again.</div>
<div><br></div><div>it may be something to do with the "after return" to handle next steps but what are they supposed to be? I don't want anything to happen like go to VM or anything.</div><div><br></div><div>
Have tried this with 10.3.0 and 10.11.1. I noticed new changes have been made in v11...but this should work</div><div><br></div><div>How does this work?? Do I need fancy options with the "Dial" command doing GoSub and what not? and Why does it insist on playing all these prompts I have commented them all out from followme.conf, but it's still looking to play them</div>
<div><br></div><div>Thanks in advance</div><span class="HOEnZb"><font color="#888888"><div>\A</div><div> </div></font></span></font></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><br clear="all"><br>-- <br><div dir="ltr"><div><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="margin:0pt 0pt 8px">
<p style="margin:0pt"><span style="font-family:comic sans ms,sans-serif;font-size:medium">Steve Murphy</span></p>
<p style="margin:0pt"><span style="font-family:comic sans ms,sans-serif;font-size:medium">ParseTree Corporation<br></span></p>
<p style="margin:0pt">57 Lane 17</p>
<p style="margin:0pt">Cody, WY 82414</p>
<p style="margin:0pt">✉ <a href="mailto:murf@parsetree.com" target="_blank">murf@parsetree.com</a></p>
<p style="margin:0pt">☎ 307-899-5535</p></div></span><br></div><div><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><img src="http://s.wisestamp.com/pixel.png?p=mozilla&v=2.0.3&t=1287885769470&u=6672444&e=5113" height="1" width="1"></span></div>
</div>
</div></div>