[asterisk-users] Followme Killing Asterisk
A E G
all.eforums at gmail.com
Mon Jan 14 22:36:48 CST 2013
Hi Guys,
this has been a weekend destroyer for me. I've struggled this all day and
most of today.
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 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130114/ba4e9f9f/attachment.htm>
More information about the asterisk-users
mailing list