[asterisk-dev] sayunixtime behaviour ?
Luigi Rizzo
rizzo at icir.org
Fri Mar 10 10:44:51 MST 2006
related to the thread on the old say.c...
on a stock trunk, FreeBSD 4.11, trying the following in the dialplan:
exten => 602,1,Answer
exten => 602,n,Wait,1
exten => 602,n,SayUnixTime()
exten => 603,1,Answer
exten => 603,n,Wait,1
exten => 603,n,SayNumber(2345)
extension 603 (saynumber) works fine, but extension 602
causes a core dump.
Before posting a report on mantis, is anyone else seeing this ?
*CLI> dial 603
== Console is full duplex
-- Executing Answer("OSS/dsp", "") in new stack
<< Console call has been answered >>
-- Executing Wait("OSS/dsp", "1") in new stack
-- Executing SayNumber("OSS/dsp", "2345") in new stack
-- Playing 'digits/2' (language 'en')
-- Playing 'digits/thousand' (language 'en')
-- Playing 'digits/3' (language 'en')
-- Playing 'digits/hundred' (language 'en')
-- Playing 'digits/40' (language 'en')
-- Playing 'digits/5' (language 'en')
== Auto fallthrough, channel 'OSS/dsp' status is 'UNKNOWN'
<< Hangup on console >>
*CLI> dial 602
== Console is full duplex
-- Executing Answer("OSS/dsp", "") in new stack
<< Console call has been answered >>
-- Executing Wait("OSS/dsp", "1") in new stack
-- Executing SayUnixTime("OSS/dsp", "") in new stack
Segmentation fault (core dumped)
I think the original code used to work some time ago but i switched to
my different implementation so long ago that it is difficult to
say when things changed.
cheers
luigi
More information about the asterisk-dev
mailing list