On Mon, Jan 14, 2013 at 9:36 PM, A E G <[email protected]> wrote:

> Hi Guys,
>
> this has been a weekend destroyer for me. I've struggled this all day and
> most of today.
>

>From your discussion below, it sounds like the real problem is the Asterisk
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 => <MyDID>,1, Answer()
>         same => n, Set(CHANNEL(language)=en_AU)
>         same => n, Followme(TestFollow)
>         same => n, NoOp("++Back after Followme: DIALSTATUS =
> ${DIALSTATUS}, Hangupcause = ${HANGUPCAUSE}")
>         same => n, Hangup()
>
> [Followme-Dialout]
> exten => _1NXXNXXXXXX,1,Set(CHANNEL(language)=en_AU)
>         same => n, Dial(SIP/GW-1/${EXTEN})
>
> followme.conf
> ----------------
> [TestFollow]
> context => Followme-Dialout
> number => <my landline>,30
> number => <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@Followme-Dialout-00000004;2
>
> [Jan 15 04:19:51]     -- Local/12035551111@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@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@Followme-Dialout-00000004;1>
> Playing 'followme/no-recording.ulaw' (language 'en_AU')
>
> [Jan 15 04:20:05]     -- Local/12035551111@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
>



-- 

Steve Murphy

ParseTree Corporation

57 Lane 17

Cody, WY 82414

✉  [email protected]

☎ 307-899-5535
--
_____________________________________________________________________
-- 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

Reply via email to