VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asterisk-03 at jeremyk... Guest
|
Posted: Sat Feb 27, 2016 10:48 pm Post subject: [asterisk-users] app_swift crash asterisk 11.20.0-rc1 |
|
|
I found the app_swift module (that I've been helping maintain) makes
asterisk crash on versions higher than 11.19.0 - something that happened
on 11.20.0-rc1 makes asterisk segfault. I realize app_swift is not a
'supported' module -- I'm just having a hard time finding the cause and
am wondering if I could borrow anyone's eyes.
of note, app_swift doesnt /always/ crash asterisk, e.g., when I call
into asterisk from a phone and swift is in the dialplan, all seems fine.
it seems that it's just when I make a callfile that dials out.
a backtrace is at http://pastebin.com/Dfd4P8sK
replication is easy (if you have swift):
echo "testing 1 2 3" > /var/lib/asterisk/tts
cat <<__EOE__ >> /etc/asterisk/extensions.conf
[intercom]
exten => _2XZ,1,SIPAddHeader(Alert-Info: Ring Answer)
exten => _2XZ,n,Page(SIP/${EXTEN},diqA(local/intercom))
[tts]
exten => s,1,Wait(1)
exten => s,n,GotoIf($[0${LEN(${TEXT})} > 1]?text)
exten => s,n,Set(SPEECH=${SHELL(cat /var/lib/asterisk/tts)})
exten => s,n,Goto(swift)
exten => s,n(text),Set(SPEECH=${TEXT})
exten => s,n,NoOp(${SPEECH})
exten => s,n(swift),Swift(${SPEECH})
exten => s,n,Hangup
__EOE__
cat <<__EOS__ > /var/spool/asterisk/tmp/test123
Channel: Local/221@intercom
Callerid: "TTS" <0>
MaxRetries: 2
WaitTime: 45
Context: tts
Extension: s
Priority: 1
__EOS__
mv /var/spool/asterisk/tmp/test123 /var/spool/asterisk/outgoing/test123
--
Jeremy Kister
http://jeremy.kister.net/
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
bryanburroughs at char... Guest
|
Posted: Sun Feb 28, 2016 7:54 am Post subject: [asterisk-users] app_swift crash asterisk 11.20.0-rc1 |
|
|
Not sure if I can provide much help, however I have had problems with
Swift segmentation faults in the past. The problems I had were related
to the license server causing an Asterisk segmentation fault any time
security scans hit the server. That was with Asterisk 11.8. Cepstral has
been unable to fix this issue and I'm considering using Nuance in the
future. They did provide a workaround but that created an object leak,
which forces a nightly restart of Asterisk.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fb08dd02061 in LM_set_port_number () from
/opt/swift/lib/libswift.so.6
#0 0x00007fb08dd02061 in LM_set_port_number () from
/opt/swift/lib/libswift.so.6
I'd be interested to see if anyone has any ideas on your issue though.
Bryan Burroughs
On 02/27/2016 09:47 PM, Jeremy Kister wrote:
Quote: | I found the app_swift module (that I've been helping maintain) makes
asterisk crash on versions higher than 11.19.0 - something that
happened on 11.20.0-rc1 makes asterisk segfault. I realize app_swift
is not a 'supported' module -- I'm just having a hard time finding the
cause and am wondering if I could borrow anyone's eyes.
of note, app_swift doesnt /always/ crash asterisk, e.g., when I call
into asterisk from a phone and swift is in the dialplan, all seems
fine. it seems that it's just when I make a callfile that dials out.
a backtrace is at http://pastebin.com/Dfd4P8sK
replication is easy (if you have swift):
echo "testing 1 2 3" > /var/lib/asterisk/tts
cat <<__EOE__ >> /etc/asterisk/extensions.conf
[intercom]
exten => _2XZ,1,SIPAddHeader(Alert-Info: Ring Answer)
exten => _2XZ,n,Page(SIP/${EXTEN},diqA(local/intercom))
[tts]
exten => s,1,Wait(1)
exten => s,n,GotoIf($[0${LEN(${TEXT})} > 1]?text)
exten => s,n,Set(SPEECH=${SHELL(cat /var/lib/asterisk/tts)})
exten => s,n,Goto(swift)
exten => s,n(text),Set(SPEECH=${TEXT})
exten => s,n,NoOp(${SPEECH})
exten => s,n(swift),Swift(${SPEECH})
exten => s,n,Hangup
__EOE__
cat <<__EOS__ > /var/spool/asterisk/tmp/test123
Channel: Local/221@intercom
Callerid: "TTS" <0>
MaxRetries: 2
WaitTime: 45
Context: tts
Extension: s
Priority: 1
__EOS__
mv /var/spool/asterisk/tmp/test123 /var/spool/asterisk/outgoing/test123
|
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|