[asterisk-bugs] [Asterisk 0014374]: Revision 172517 segfault after using A *2 transfer to B and B dial *2

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 30 13:53:22 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14374 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14374
Category:                   Applications/app_transfer
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 172517 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-30 13:40 CST
Last Modified:              2009-01-30 13:53 CST
====================================================================== 
Summary:                    Revision 172517 segfault after using A *2 transfer
to B and B dial *2
Description: 
SIP environment
Extension 6011 dials 6010
6010 dials *26002 and ends call to complete transfer
6002 answers and dials *2 but does receive audio for transfer prompt
Asterisk segfaults after dialing *2

Backtrace attached
====================================================================== 

---------------------------------------------------------------------- 
 (0099145) aragon (reporter) - 2009-01-30 13:53
 http://bugs.digium.com/view.php?id=14374#c99145 
---------------------------------------------------------------------- 
I disabled mixmonitor on all the extensions and no crash
But the second *2 (from ext 6002) attempt is ignored by Asterisk (again
sorry for AGI scripts and stuff)

New CLI without mixmonitor in dialplan:

    -- Executing [6010 at default-super:1] GotoIf("SIP/6011-b7bde2b8", "0?3")
in new stack
    -- Executing [6010 at default-super:2] Set("SIP/6011-b7bde2b8",
"GROUP(OUTGOING)=6011") in new stack
    -- Executing [6010 at default-super:3] Set("SIP/6011-b7bde2b8",
"OUTBOUND_GROUP_ONCE=6010 at INCOMING") in new stack
    -- Executing [6010 at default-super:4] Set("SIP/6011-b7bde2b8",
"GROUPCOUNT=0") in new stack
    -- Executing [6010 at default-super:5] Set("SIP/6011-b7bde2b8",
"GROUPCOUNT2=0") in new stack
    -- Executing [6010 at default-super:6] Set("SIP/6011-b7bde2b8",
"DB(default/wrapup/6010/lastcall)=1233345150.8") in new stack
    -- Executing [6010 at default-super:7] Macro("SIP/6011-b7bde2b8",
"default-dial|SIP/6010|6010|default|20|en|b6010 at default|tkKM(all-tapi^1233345150.8)||default||Local/0 at default-local/n|vm")
in new stack
    -- Executing [s at macro-default-dial:1] NoOp("SIP/6011-b7bde2b8", ""CALL
TO LOCAL EXTENSION FROM 6011(6011)"") in new stack
    -- Executing [s at macro-default-dial:2] UserEvent("SIP/6011-b7bde2b8",
"TAPI|TAPIEVENT: LINE_NEWCALL default") in new stack
    -- Executing [s at macro-default-dial:3] UserEvent("SIP/6011-b7bde2b8",
"TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-default-dial:4] UserEvent("SIP/6011-b7bde2b8",
"TAPI|TAPIEVENT: SET CALLERID ") in new stack
    -- Executing [s at macro-default-dial:5] UserEvent("SIP/6011-b7bde2b8",
"TAPI|TAPIEVENT: LINE_CALLINFO LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-default-dial:6] AGI("SIP/6011-b7bde2b8",
"/var/www/scopserv/telephony/scripts/agi/dial.php") in new stack
    -- Launched AGI Script
/var/www/scopserv/telephony/scripts/agi/dial.php
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Added extension
'6010' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '6010' is '0'.
    -- AGI Script Executing Application: (NoOp) Options: (STATUS:)
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php:
-------------------------------------------------------------------------------
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Doing the action
dial
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Caller ID number
is '6011'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
default/6010/CallTrace to 6011
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/6010|20|tkKM(all-tapi^1233345150.8)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/6010|20|tkKM(all-tapi^1233345150.8)T|)
    -- Called 6010
    -- SIP/6010-0899db28 is ringing
    -- SIP/6010-0899db28 answered SIP/6011-b7bde2b8
    -- Executing [s at macro-all-tapi:1] UserEvent("SIP/6010-0899db28",
"TAPI|TAPIEVENT [~1233345150.8] LINE_CALLSTATE LINECALLSTATE_CONNECTED") in
new stack
    -- Started music on hold, class 'default', on SIP/6011-b7bde2b8
    -- <SIP/6010-0899db28> Playing 'pbx-transfer' (language 'en')
    -- Executing [6002 at default-super:1]
GotoIf("Local/6002 at default-super-1498,2", "0?3") in new stack
    -- Executing [6002 at default-super:2]
Set("Local/6002 at default-super-1498,2", "GROUP(OUTGOING)=6010") in new
stack
    -- Executing [6002 at default-super:3]
Set("Local/6002 at default-super-1498,2", "OUTBOUND_GROUP_ONCE=6002 at INCOMING")
in new stack
    -- Executing [6002 at default-super:4]
Set("Local/6002 at default-super-1498,2", "GROUPCOUNT=0") in new stack
    -- Executing [6002 at default-super:5]
Set("Local/6002 at default-super-1498,2", "GROUPCOUNT2=0") in new stack
    -- Executing [6002 at default-super:6]
Set("Local/6002 at default-super-1498,2",
"DB(default/wrapup/6002/lastcall)=1233345156.11") in new stack
    -- Executing [6002 at default-super:7]
Macro("Local/6002 at default-super-1498,2",
"default-dial|SIP/6002|6002|default|20|en|b6002 at default|tkKM(all-tapi^1233345156.11)||default||Local/0 at default-local/n|Local/s at default-aa-servicemainmenubutton1englishsubmenu")
in new stack
    -- Executing [s at macro-default-dial:1]
NoOp("Local/6002 at default-super-1498,2", ""CALL TO LOCAL EXTENSION FROM
6010()"") in new stack
    -- Executing [s at macro-default-dial:2]
UserEvent("Local/6002 at default-super-1498,2", "TAPI|TAPIEVENT: LINE_NEWCALL
default") in new stack
    -- Executing [s at macro-default-dial:3]
UserEvent("Local/6002 at default-super-1498,2", "TAPI|TAPIEVENT:
LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-default-dial:4]
UserEvent("Local/6002 at default-super-1498,2", "TAPI|TAPIEVENT: SET CALLERID
") in new stack
    -- Executing [s at macro-default-dial:5]
UserEvent("Local/6002 at default-super-1498,2", "TAPI|TAPIEVENT: LINE_CALLINFO
LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-default-dial:6]
AGI("Local/6002 at default-super-1498,2",
"/var/www/scopserv/telephony/scripts/agi/dial.php") in new stack
    -- Launched AGI Script
/var/www/scopserv/telephony/scripts/agi/dial.php
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Added extension
'6002' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '6002' is '0'.
    -- AGI Script Executing Application: (NoOp) Options: (STATUS:)
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php:
-------------------------------------------------------------------------------
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Doing the action
dial
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Caller ID number
is '6010'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
default/6002/CallTrace to 6010
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/6002|20|tkKM(all-tapi^1233345156.11)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/6002|20|tkKM(all-tapi^1233345156.11)T|)
    -- Called 6002
    -- SIP/6002-089c5980 is ringing
    -- Local/6002 at default-super-1498,1 is ringing
    -- Stopped music on hold on SIP/6011-b7bde2b8
    -- <Local/6002 at default-super-1498,1> Playing 'beep' (language 'en')
    -- Executing [h at macro-default-dial:1]
ResetCDR("Transfered/SIP/6011-b7bde2b8<ZOMBIE>", "w") in new stack
    -- Executing [h at macro-default-dial:2]
NoCDR("Transfered/SIP/6011-b7bde2b8<ZOMBIE>", "") in new stack
    -- Executing [h at macro-default-dial:3]
UserEvent("Transfered/SIP/6011-b7bde2b8<ZOMBIE>", "TAPI|TAPIEVENT:
LINE_CALLSTATE LINECALLSTATE_IDLE") in new stack
    -- Executing [h at macro-default-dial:4]
System("Transfered/SIP/6011-b7bde2b8<ZOMBIE>",
"/var/www/scopserv/telephony/scripts/billing/cdr.sh 1233345150.8") in new
stack
    -- Local/6002 at default-super-1498,2 requested special control 20,
passing it to SIP/6002-089c5980
  == Spawn extension (macro-default-dial, s, 6) exited non-zero on
'Transfered/SIP/6011-b7bde2b8<ZOMBIE>' in macro 'default-dial'
  == Spawn extension (default-super, 6010, 7) exited non-zero on
'Transfered/SIP/6011-b7bde2b8<ZOMBIE>'
    -- SIP/6002-089c5980 answered Local/6002 at default-super-1498,2
    -- Executing [s at macro-all-tapi:1] UserEvent("SIP/6002-089c5980",
"TAPI|TAPIEVENT [~1233345156.11] LINE_CALLSTATE LINECALLSTATE_CONNECTED")
in new stack
    -- Executing [h at macro-default-dial:1]
ResetCDR("Local/6002 at default-super-1498,2", "w") in new stack
    -- Executing [h at macro-default-dial:2]
NoCDR("Local/6002 at default-super-1498,2", "") in new stack
    -- Executing [h at macro-default-dial:3]
UserEvent("Local/6002 at default-super-1498,2", "TAPI|TAPIEVENT:
LINE_CALLSTATE LINECALLSTATE_IDLE") in new stack
    -- Executing [h at macro-default-dial:4]
System("Local/6002 at default-super-1498,2",
"/var/www/scopserv/telephony/scripts/billing/cdr.sh 1233345156.11") in new
stack
  == Spawn extension (macro-default-dial, s, 6) exited non-zero on
'Local/6002 at default-super-1498,2' in macro 'default-dial'
  == Spawn extension (default-super, 6002, 7) exited non-zero on
'Local/6002 at default-super-1498,2'
    -- Executing [h at macro-default-dial:1] ResetCDR("SIP/6011-b7bde2b8",
"w") in new stack
    -- Executing [h at macro-default-dial:2] NoCDR("SIP/6011-b7bde2b8", "")
in new stack
    -- Executing [h at macro-default-dial:3] UserEvent("SIP/6011-b7bde2b8",
"TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_IDLE") in new stack
    -- Executing [h at macro-default-dial:4] System("SIP/6011-b7bde2b8",
"/var/www/scopserv/telephony/scripts/billing/cdr.sh 1233345157.13") in new
stack
 Extension Changed 6002[default-local] new state Idle for Notify User
6010
 Extension Changed 6011[default-local] new state Idle for Notify User 6010 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-30 13:53 aragon         Note Added: 0099145                          
======================================================================




More information about the asterisk-bugs mailing list