crashing.
So, as a first step to solving **that** problem, make sure asterisk is
compiled with debug
flags, dumps another core file, and then you do the "gdb asterisk
<corefilename>", and
get a stack trace. That should give us some idea of what happened.
>
> I have a fairly simple Followme sequence in place to see how it works
> before I get into the complex scenarios.
>
> extensions.conf
> ---
> [Incoming]
> exten =3D> <MyDID>,1, Answer()
> same =3D> n, Set(CHANNEL(language)=3Den_AU)
> same =3D> n, Followme(TestFollow)
> same =3D> n, NoOp("++Back after Followme: DIALSTATUS =3D
> ${DIALSTATUS}, Hangupcause =3D ${HANGUPCAUSE}")
> same =3D> n, Hangup()
>
> [Followme-Dialout]
> exten =3D> _1NXXNXXXXXX,1,Set(CHANNEL(language)=3Den_AU)
> same =3D> n, Dial(SIP/GW-1/${EXTEN})
>
> followme.conf
> ----------------
> [TestFollow]
> context =3D> Followme-Dialout
> number =3D> <my landline>,30
> number =3D> <my cell phone>,20
>
> The call goes out, and rings my first phone. If I answer it, the Asterisk
> core dumps, the calls stay up!
>
> <snip>
>
> [Jan 15 04:19:48] -- Called SIP/GW-1/12035551111
>
> [Jan 15 04:19:51] -- SIP/GW-1-00000007 is making progress passing it
> to Local/12035551111 at Followme-Dialout-00000004;2
>
> [Jan 15 04:19:51] -- Local/12035551111 at Followme-Dialout-00000004;1
is
> making progress
>
> [Jan 15 04:20:05] -- SIP/GW-1-00000007 answered Local/12035551111
> @Followme-Dialout-00000004;2
>
> [Jan 15 04:20:05] -- Local/12035551111 at Followme-Dialout-00000004;1
> answered SIP/DIDProvider-1-00000006
>
> [Jan 15 04:20:05] -- Starting playback of followme/call-from
>
> [Jan 15 04:20:05] -- <Local/12035551111 at
Followme-Dialout-00000004;1>
> Playing 'followme/no-recording.ulaw' (language 'en_AU')
>
> [Jan 15 04:20:05] -- Local/12035551111 at Followme-Dialout-00000004;1
> requested a source update
>
> ast00*CLI>
>
> Disconnected from Asterisk server
>
> Bus error (core dumped)
>
> ...<snip>
>
>
> 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.
>
> The ONLY time it gets anywhere is if I use the 'l' option with
Followme
> application.
>
> In that case, the call connect and I can have a conversation but the
> minute the remote party hangs up, asterisk dumps core again.
>
> 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.
>
> Have tried this with 10.3.0 and 10.11.1. I noticed new changes have been
> made in v11...but this should work
>
> 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
>
> Thanks in advance
> \A
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--=20
Steve Murphy
ParseTree Corporation
57 Lane 17
Cody, WY 82414
=E2=9C=89 murf at parsetree.com
=E2=98=8E 307-899-5535
--14dae9340d3fb9f1d604d355edb0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div
class=3D"gmail_extra"><div class=3D"gmail_quote">On
Mon, Jan 14, 2013 at 9:36 PM, A E G <span
dir=3D"ltr"><<a href=3D"mailto:all.eforums at
gmail.com" target=3D"_blank">all.eforums at
gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div
dir=3D"ltr"><font color=3D"#663366"
face=3D"tahoma, sans-serif">Hi
Guys,</font><div><font color=3D"#663366"
face=3D"tahoma, sans-serif"><br>
</font></div><div><font color=3D"#663366"
face=3D"tahoma, sans-serif">this has been a weekend destroyer for
me. I've struggled this all day and most of
today.=C2=A0</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>=C2=A0</div><blockquote
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex"><div dir=3D"ltr">
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif"><br></font></div><div><font
color=3D"#663366" face=3D"tahoma, sans-serif">I have a
fairly simple Followme sequence in place to see how it works before I get into
the complex scenarios.=C2=A0</font></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif"><br></font></div><div><font
color=3D"#663366" face=3D"tahoma,
sans-serif">extensions.conf</font></div><div><font
color=3D"#663366" face=3D"tahoma,
sans-serif">---</font></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif">[Incoming]</font></div><div><div><font
face=3D"tahoma, sans-serif"><font
color=3D"#663366">exten =3D>
<MyDID>,1,=C2=A0</font><span
style=3D"color:rgb(102,51,102)">Answer()</span></font></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif">=C2=A0 =C2=A0 =C2=A0 =C2=A0 same =3D> n,
Set(CHANNEL(language)=3Den_AU)</font></div><div><font
color=3D"#663366" face=3D"tahoma, sans-serif">=C2=A0
=C2=A0 =C2=A0 =C2=A0 same =3D> n,
Followme(TestFollow)</font></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif">=C2=A0 =C2=A0 =C2=A0 =C2=A0 same =3D> n,
NoOp("++Back after Followme: DIALSTATUS =3D ${DIALSTATUS}, Hangupcause
=3D ${HANGUPCAUSE}")</font></div><div><font
color=3D"#663366" face=3D"tahoma, sans-serif">=C2=A0
=C2=A0 =C2=A0 =C2=A0 same =3D> n, Hangup()</font></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif"><br></font></div><div><font
color=3D"#663366" face=3D"tahoma,
sans-serif">[Followme-Dialout]</font></div><div><font
face=3D"tahoma, sans-serif"><span
style=3D"color:rgb(102,51,102)">exten =3D>
_1NXXNXXXXXX,1,Set(CHANNEL(language)=3Den_AU)</span><br>
</font></div><div><font color=3D"#663366"
face=3D"tahoma, sans-serif">=C2=A0 =C2=A0 =C2=A0 =C2=A0 same
=3D> n, Dial(SIP/GW-1/${EXTEN})</font></div></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif"><br></font></div><div><font
color=3D"#663366" face=3D"tahoma,
sans-serif">followme.conf</font></div><div><font
color=3D"#663366" face=3D"tahoma,
sans-serif">----------------</font></div>
<div><font color=3D"#663366" face=3D"tahoma,
sans-serif"><div>[TestFollow]</div><div>context
=3D> Followme-Dialout</div><div>number =3D> <my
landline>,30</div><div>number =3D> <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] =C2=A0 =C2=A0
-- Called SIP/GW-<a href=3D"tel:1%2F12035551111"
value=3D"+12035551111"
target=3D"_blank">1/12035551111</a></p><p>[Jan 15
04:19:51] =C2=A0 =C2=A0 -- SIP/GW-1-00000007 is making progress passing it to
Local/<a href=3D"tel:12035551111" value=3D"+12035551111"
target=3D"_blank">12035551111</a>@Followme-Dialout-00000004;2</p>
<p>[Jan 15 04:19:51] =C2=A0 =C2=A0 -- Local/<a
href=3D"tel:12035551111" value=3D"+12035551111"
target=3D"_blank">12035551111</a>@Followme-Dialout-00000004;1
is making progress</p><p>[Jan 15 04:20:05] =C2=A0 =C2=A0 --
SIP/GW-1-00000007 answered Local/<a href=3D"tel:12035551111"
value=3D"+12035551111"
target=3D"_blank">12035551111</a>@Followme-Dialout-00000004;2</p>
<p>
[Jan 15 04:20:05] =C2=A0 =C2=A0 -- Local/<a
href=3D"tel:12035551111" value=3D"+12035551111"
target=3D"_blank">12035551111</a>@Followme-Dialout-00000004;1
answered SIP/DIDProvider-1-00000006</p><p>[Jan 15 04:20:05] =C2=A0
=C2=A0 -- Starting playback of followme/call-from</p>
<p>[Jan 15 04:20:05] =C2=A0 =C2=A0 -- <Local/<a
href=3D"tel:12035551111" value=3D"+12035551111"
target=3D"_blank">12035551111</a>@Followme-Dialout-00000004;1>
Playing 'followme/no-recording.ulaw' (language
'en_AU')</p>
<p>[Jan 15 04:20:05] =C2=A0 =C2=A0 -- Local/<a
href=3D"tel:12035551111" value=3D"+12035551111"
target=3D"_blank">12035551111</a>@Followme-Dialout-00000004;1
requested a source
update</p><p>ast00*CLI>=C2=A0</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=3D"HOEnZb"><font
color=3D"#888888"><div>\A</div><div>=C2=A0</div></font></span></font></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a
href=3D"http://www.api-digital.com"
target=3D"_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a
href=3D"http://www.asterisk.org/hello"
target=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
=C2=A0 =C2=A0<a
href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users"
target=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br
clear=3D"all"><br>-- <br><div
dir=3D"ltr"><div><span
style=3D"font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div
style=3D"margin:0pt 0pt 8px">
<p style=3D"margin:0pt"><span style=3D"font-family:comic
sans ms,sans-serif;font-size:medium">Steve Murphy</span></p>
<p style=3D"margin:0pt"><span style=3D"font-family:comic
sans ms,sans-serif;font-size:medium">ParseTree
Corporation<br></span></p>
<p style=3D"margin:0pt">57 Lane 17</p>
<p style=3D"margin:0pt">Cody, WY 82414</p>
<p style=3D"margin:0pt">=E2=9C=89=C2=A0 <a
href=3D"mailto:murf at parsetree.com"
target=3D"_blank">murf at parsetree.com</a></p>
<p style=3D"margin:0pt">=E2=98=8E
307-899-5535</p></div></span><br></div><div><span
style=3D"font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><img
src=3D"http://s.wisestamp.com/pixel.png?p=3Dmozilla&v=3D2.0.3&t=3D1287885769470&u=3D6672444&e=3D5113"
height=3D"1" width=3D"1"></span></div>
</div>
</div></div>
--14dae9340d3fb9f1d604d355edb0--