<div dir="ltr"><div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444">Alright for anyone who ever runs into this in the future, the problem seems to be resolved by </font></div><div class="gmail_extra" style>
<font face="tahoma, sans-serif" color="#444444"><br></font></div><div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444">a) removing the lines Set(Channel(language)=xxxx) before the Dial and possibly</font></div>
<div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444">b) using the flags 'dI' with followme app</font></div><div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444"><br>
</font></div><div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444">I guess when using Followme, just don't try and set any another variables that affect the channel ...after calling it and before the Dial happens...might work before it.<br>
</font></div><div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444"><br></font></div><div class="gmail_extra" style><font face="tahoma, sans-serif" color="#444444">HTH</font></div><div class="gmail_extra" style>
<font face="tahoma, sans-serif" color="#444444">\a</font></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 12:58 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"><div class="gmail_extra"><br><div class="gmail_quote"><div class="im">On Tue, Jan 15, 2013 at 11:05 AM, Steve Murphy <span dir="ltr"><<a href="mailto:murf@parsetree.com" target="_blank">murf@parsetree.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"><div class="gmail_extra"><div class="gmail_quote"><div>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><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></div></div></div></blockquote><div><br></div></div><div><font face="tahoma, sans-serif" color="#444444">Thanks for the note Steve. It doesn't sound like there's tremendously wrong that I'm doing as far s the configuration is concerned then? and it won't be too surprising since the configuration of Followme is quite simple assuming the complexities are all handled by the Followme app.</font></div>
<div><font face="tahoma, sans-serif" color="#444444"><br></font></div><div><font face="tahoma, sans-serif" color="#444444">I tried a whole lot of options that "made sense" as Dial options that the "Local" channel dial from Followme is being hooked into but it appears that, the cause of the crash is most likely that Followme:</font></div>
<div><font face="tahoma, sans-serif" color="#444444"><br></font></div><div><ol><li><font face="tahoma, sans-serif" color="#444444">Is looking for something to do; bill, log or something after it returns from Dial/call termination but not finding it. I tried using "Answer(nocdr)" at the time the call on the DID is being answered but that didn't help. I have also tried the 'g', 'c', 'C', 'I' and 'i' etc options with the Dial but they don't help either. I had real hopes in the 'g' option to tell it to proceed with the dial plan where I was simply making it return a couple of call status related variables and then just Hangup, but regardless of the 'calling' or the called party hanging up, these number get printed, which means that despite the 'g' option, the call does NOT proceed with the normal/rest of the dialplan </font></li>
<li><font face="tahoma, sans-serif" color="#444444"> Maybe Followme is not built for this purpose where the caller is unknown (which it would be in most cases) but at least the "called party" is usually known AND is a "subscriber"/registered user of the system who is then using the Followme feature to find them when they don't answer their PBX registered phone. What I'm doing calling from outside, having the system answer the call, allow the caller to put in a number and then calling those numbers associated with that extension if it's a Followme extension but the extension itself isn't a registered user in sip.conf or users.conf, and maybe followme app has some procedures it needs to run through as a matter of housekeeping (i.e. accounting, billing, logging etc) that it's not finding info for<br>
</font></li></ol><div><font face="tahoma, sans-serif" color="#444444">Will do a gdb and see what I can find...I'm not a developer so I may not be able to pick up a lot from the stack-trace but will pastebin it and see if one of the community/developer members can figure out why it's taking a dump</font></div>
<div><font face="tahoma, sans-serif" color="#444444"><br></font></div><div><font face="tahoma, sans-serif" color="#444444">Cheers</font></div><span class="HOEnZb"><font color="#888888"><div><font face="tahoma, sans-serif" color="#444444">\a</font> <br>
</div></font></span></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><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><font color="#888888"><div>\A</div><div> </div></font></span></font></div></div>
<br></div></div>--<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">☎ <a href="tel:307-899-5535" value="+13078995535" target="_blank">307-899-5535</a></p></div></span><br></div><div><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><img height="1" width="1"></span></div>
</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></div></div><br></div></div>
</blockquote></div><br></div></div>