No subject


Fri Sep 2 03:59:05 CDT 2011


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 a=
s
> they sound, they have caused me nothing but pain. Once again, following t=
he
> console log, I notice that Followme indeed uses Local channel to make the=
se
> 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 bu=
t
> 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 doin=
g
> 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 M=
on, Jan 14, 2013 at 9:36 PM, A E G <span dir=3D"ltr">&lt;<a href=3D"mailto:=
all.eforums at gmail.com" target=3D"_blank">all.eforums at gmail.com</a>&gt;</spa=
n> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><font color=3D"#663366" fac=
e=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&#39;ve struggled this all day and mo=
st 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 cras=
hing.<br>
</div><div>So, as a first step to solving **that** problem, make sure aster=
isk is compiled with debug<br></div><div>flags, dumps another core file, an=
d then you do the &quot;gdb asterisk &lt;corefilename&gt;&quot;, and<br>
</div><div>get a stack trace. That should give us some idea of what happene=
d.<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 sim=
ple Followme sequence in place to see how it works before I get into the co=
mplex 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</fo=
nt></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">ex=
ten =3D&gt; &lt;MyDID&gt;,1,=C2=A0</font><span style=3D"color:rgb(102,51,10=
2)">Answer()</span></font></div>


<div><font color=3D"#663366" face=3D"tahoma, sans-serif">=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 same =3D&gt; 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&gt; 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&gt; n, NoOp(&quot;++Back after Followme: DIALSTATUS =3D=
 ${DIALSTATUS}, Hangupcause =3D ${HANGUPCAUSE}&quot;)</font></div><div><fon=
t color=3D"#663366" face=3D"tahoma, sans-serif">=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 same =3D&gt; 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&gt; _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&gt; n, Dial(SIP/GW-1/${EXTEN})</font></di=
v></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&gt; Followme-Dialout</div><div>number =3D&gt; &lt;my =
landline&gt;,30</div><div>number =3D&gt; &lt;my cell phone&gt;,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>&lt;s=
nip&gt;</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/1203555=
1111</a></p><p>[Jan 15 04:19:51] =C2=A0 =C2=A0 -- SIP/GW-1-00000007 is maki=
ng progress passing it to Local/<a href=3D"tel:12035551111" value=3D"+12035=
551111" 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" val=
ue=3D"+12035551111" target=3D"_blank">12035551111</a>@Followme-Dialout-0000=
0004;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-000000=
04;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 -- &lt;Local/<a href=3D"tel:12035551111"=
 value=3D"+12035551111" target=3D"_blank">12035551111</a>@Followme-Dialout-=
00000004;1&gt; Playing &#39;followme/no-recording.ulaw&#39; (language &#39;=
en_AU&#39;)</p>


<p>[Jan 15 04:20:05] =C2=A0 =C2=A0 -- Local/<a href=3D"tel:12035551111" val=
ue=3D"+12035551111" target=3D"_blank">12035551111</a>@Followme-Dialout-0000=
0004;1 requested a source update</p><p>ast00*CLI&gt;=C2=A0</p><p>Disconnect=
ed from Asterisk server</p>
<p>Bus error (core dumped)</p>

<p>...&lt;snip&gt;<br></p><p></p><p></p></div><div><br></div><div>I have be=
en playing with &quot;Local&quot; channels over the weekend, and as cool as=
 they sound, they have caused me nothing but pain. Once again, following th=
e console log, I notice that Followme indeed uses Local channel to make the=
se 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 &#39;l&#=
39; 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 &quot;after return&q=
uot; to handle next steps but what are they supposed to be? I don&#39;t wan=
t 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 ma=
de in v11...but this should work</div><div><br></div><div>How does this wor=
k?? Do I need fancy options with the &quot;Dial&quot; command doing GoSub a=
nd what not? and Why does it insist on playing all these prompts I have com=
mented them all out from followme.conf, but it&#39;s still looking to play =
them</div>


<div><br></div><div>Thanks in advance</div><span class=3D"HOEnZb"><font col=
or=3D"#888888"><div>\A</div><div>=C2=A0</div></font></span></font></div></d=
iv>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href=3D"http://www.api-digital.c=
om" 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://ww=
w.asterisk.org/hello" target=3D"_blank">http://www.asterisk.org/hello</a><b=
r>
<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-u=
sers" target=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-u=
sers</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,Helvet=
ica,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.co=
m" 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><d=
iv><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&amp;v=3D2.=
0.3&amp;t=3D1287885769470&amp;u=3D6672444&amp;e=3D5113" height=3D"1" width=
=3D"1"></span></div>
</div>
</div></div>

--14dae9340d3fb9f1d604d355edb0--



More information about the asterisk-users mailing list