Robert Rozman
2005-Feb-02 13:55 UTC
[Asterisk-Users] Reproducible crash with CVS stable (from about 5 days ago...) - but only from iax clients
Hi,
I've spotted weird crash of Asterisk cvs Stable. I have defined queue in
queues.conf :
[prodaja]
music = default
announce = queue-markq
strategy = ringall
context = from-pstn
timeout = 15
retry = 5
maxlen = 0
announce-holdtime = no
announce-frequency = 30
announce-holdtime = yes
monitor-format = gsm|wav|wav49
monitor-join = yes
eventwhencalled = yes
member => Agent/1000
-------------------------------------------
then I have in dialplan :
exten => 51,1,Queue(prodaja)
Now when I call 51 from BT100, everything is OK, musiconhold plays, I hear
announcements...:
----------------------------------------------------------------------------
----
Asterisk CVS-v1-0-01/28/05-15:21:35, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
========================================================================Connected
to Asterisk CVS-v1-0-01/28/05-15:21:35 currently running on
centrala (pid = 28749)
-- Remote UNIX connection
Verbosity was 3 and is now 11
centrala*CLI> MANAGER LOGIN MD5 127.0.0.1, admin, amp111
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'admin' logged on from 127.0.0.1
-- Executing Queue("SIP/201-ec33", "prodaja") in new
stack
-- Started music on hold, class 'default', on SIP/201-ec33
-- Stopped music on hold on SIP/201-ec33
-- Playing 'queue-youarenext' (language 'si')
-- Told SIP/201-ec33 in prodaja their queue position (which was 1)
-- Playing 'queue-thankyou' (language 'si')
-- Started music on hold, class 'default', on SIP/201-ec33
-- Saved useragent "Grandstream BT100 1.0.5.18" for peer 201
-- Stopped music on hold on SIP/201-ec33
-- User disconnected when they almost made it
== Spawn extension (from-internal, 51, 1) exited non-zero on
'SIP/201-ec33'
-- Executing Macro("SIP/201-ec33", "hangupcall") in new
stack
-- Executing ResetCDR("SIP/201-ec33", "w") in new stack
-- Executing NoCDR("SIP/201-ec33", "") in new stack
-- Executing Wait("SIP/201-ec33", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/201-ec33' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/201-ec33'
centrala*CLI>
centrala:~ #
-------------------------------------------------------------
But asterisk constantly crashes with IAX clients calling this number (same
with Firefly, iaxcommclient, Iaxphone), I get:
------------------------------------------------------------
centrala:~ # asterisk -vvvvvvvvvvvrgc
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk CVS-v1-0-01/28/05-15:21:35, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
========================================================================Connected
to Asterisk CVS-v1-0-01/28/05-15:21:35 currently running on
centrala (pid = 27854)
Verbosity was 3 and is now 11
-- Accepting AUTHENTICATED call from 192.168.0.101, requested format 1024,
actual format = 8
-- Executing Queue("IAX2/200@200/2", "prodaja") in new
stack
centrala*CLI>
Disconnected from Asterisk server
/usr/sbin/safe_asterisk: line 40: 27854 Floating point exception(core
dumped) asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Executing last minute cleanups
Asterisk ended with exit status 136
Asterisk exited on signal 8.
Automatically restarting Asterisk.
Asterisk cleanly ending (0).
----------------------------------------------------------------------
Also to notice, that moh plays ok in other situations from iax clients
(hold, transfer, conference)... :
sterisk CVS-v1-0-01/28/05-15:21:35, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
========================================================================Connected
to Asterisk CVS-v1-0-01/28/05-15:21:35 currently running on
centrala (pid = 28749)
Verbosity is at least 11
-- Accepting AUTHENTICATED call from 192.168.0.101, requested format 1024,
actual format = 4
-- Executing MeetMe("IAX2/200@200/1", "81|pMs") in new
stack
== Parsing '/etc/asterisk/meetme.conf': Found
== Parsing '/etc/asterisk/meetme_additional.conf': Found
-- Created MeetMe conference 1023 for conference '81'
-- Playing 'conf-onlyperson' (language 'si')
-- Started music on hold, class 'default', on IAX2/200@200/1
-------------------------------------------------------------------------
Any hint, any advice ?
Regards,
Rob.
Paradise Dove
2005-Feb-02 14:20 UTC
[Asterisk-Users] Reproducible crash with CVS stable (from about 5 days ago...) - but only from iax clients
submit a bug in bug tracker at http://bugs.digium.com On Wed, 2 Feb 2005 21:55:16 +0100, Robert Rozman <rozman@fri.uni-lj.si> wrote:> Hi, > > I've spotted weird crash of Asterisk cvs Stable. I have defined queue in > queues.conf : > > [prodaja] > music = default > announce = queue-markq > strategy = ringall > context = from-pstn > timeout = 15 > retry = 5 > maxlen = 0 > announce-holdtime = no > announce-frequency = 30 > announce-holdtime = yes > monitor-format = gsm|wav|wav49 > monitor-join = yes > eventwhencalled = yes > member => Agent/1000 > ------------------------------------------- > then I have in dialplan : > > exten => 51,1,Queue(prodaja) > > Now when I call 51 from BT100, everything is OK, musiconhold plays, I hear > announcements...: > > ---------------------------------------------------------------------------- > ---- > Asterisk CVS-v1-0-01/28/05-15:21:35, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@digium.com> > ========================================================================> Connected to Asterisk CVS-v1-0-01/28/05-15:21:35 currently running on > centrala (pid = 28749) > -- Remote UNIX connection > Verbosity was 3 and is now 11 > centrala*CLI> MANAGER LOGIN MD5 127.0.0.1, admin, amp111 > == Parsing '/etc/asterisk/manager.conf': Found > == Manager 'admin' logged on from 127.0.0.1 > -- Executing Queue("SIP/201-ec33", "prodaja") in new stack > -- Started music on hold, class 'default', on SIP/201-ec33 > -- Stopped music on hold on SIP/201-ec33 > -- Playing 'queue-youarenext' (language 'si') > -- Told SIP/201-ec33 in prodaja their queue position (which was 1) > -- Playing 'queue-thankyou' (language 'si') > -- Started music on hold, class 'default', on SIP/201-ec33 > -- Saved useragent "Grandstream BT100 1.0.5.18" for peer 201 > -- Stopped music on hold on SIP/201-ec33 > -- User disconnected when they almost made it > == Spawn extension (from-internal, 51, 1) exited non-zero on > 'SIP/201-ec33' > -- Executing Macro("SIP/201-ec33", "hangupcall") in new stack > -- Executing ResetCDR("SIP/201-ec33", "w") in new stack > -- Executing NoCDR("SIP/201-ec33", "") in new stack > -- Executing Wait("SIP/201-ec33", "5") in new stack > == Spawn extension (macro-hangupcall, s, 3) exited non-zero on > 'SIP/201-ec33' in macro 'hangupcall' > == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/201-ec33' > centrala*CLI> > centrala:~ # > ------------------------------------------------------------- > > But asterisk constantly crashes with IAX clients calling this number (same > with Firefly, iaxcommclient, Iaxphone), I get: > > ------------------------------------------------------------ > centrala:~ # asterisk -vvvvvvvvvvvrgc > == Parsing '/etc/asterisk/asterisk.conf': Found > == Parsing '/etc/asterisk/extconfig.conf': Found > Asterisk CVS-v1-0-01/28/05-15:21:35, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@digium.com> > ========================================================================> Connected to Asterisk CVS-v1-0-01/28/05-15:21:35 currently running on > centrala (pid = 27854) > Verbosity was 3 and is now 11 > -- Accepting AUTHENTICATED call from 192.168.0.101, requested format > 1024, actual format = 8 > -- Executing Queue("IAX2/200@200/2", "prodaja") in new stack > centrala*CLI> > Disconnected from Asterisk server > /usr/sbin/safe_asterisk: line 40: 27854 Floating point exception(core > dumped) asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY} > Executing last minute cleanups > Asterisk ended with exit status 136 > Asterisk exited on signal 8. > Automatically restarting Asterisk. > Asterisk cleanly ending (0). > ---------------------------------------------------------------------- > > Also to notice, that moh plays ok in other situations from iax clients > (hold, transfer, conference)... : > > sterisk CVS-v1-0-01/28/05-15:21:35, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@digium.com> > ========================================================================> Connected to Asterisk CVS-v1-0-01/28/05-15:21:35 currently running on > centrala (pid = 28749) > Verbosity is at least 11 > -- Accepting AUTHENTICATED call from 192.168.0.101, requested format > 1024, actual format = 4 > -- Executing MeetMe("IAX2/200@200/1", "81|pMs") in new stack > == Parsing '/etc/asterisk/meetme.conf': Found > == Parsing '/etc/asterisk/meetme_additional.conf': Found > -- Created MeetMe conference 1023 for conference '81' > -- Playing 'conf-onlyperson' (language 'si') > -- Started music on hold, class 'default', on IAX2/200@200/1 > ------------------------------------------------------------------------- > > Any hint, any advice ? > > Regards, > > Rob. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >