[asterisk-bugs] [Asterisk 0014274]: Revision 169154 One Touch Park cannot be more than once per call

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 28 19:53:51 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14274 
====================================================================== 
Reported By:                aragon
Assigned To:                otherwiseguy
====================================================================== 
Project:                    Asterisk
Issue ID:                   14274
Category:                   Applications/app_parkandannounce
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.23-rc3 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 169154 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-19 08:41 CST
Last Modified:              2009-01-28 19:53 CST
====================================================================== 
Summary:                    Revision 169154 One Touch Park cannot be more than
once per call
Description: 
A calls B
B parks A with one touch park feature
Caller A is parked
B retrieves parked call and tries park again with one touch park feature
B cannot park this caller again

I recommend that otherwiseguy be assigned to this ticket since it was his
revisions which fixed most parking issues in Asterisk 1.4 SVN.

Revision 168981 - Directory Listing
Modified Fri Jan 16 22:59:41 2009 UTC (19 hours, 25 minutes ago) by
twilson

Merged revisions 168941 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r168941 | twilson | 2009-01-16 16:16:23 -0600 (Fri, 16 Jan 2009) | 19
lines
 
 Merged revisions 168716 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
  r168716 | twilson | 2009-01-15 12:22:49 -0600 (Thu, 15 Jan 2009) | 12
lines
  
  Convert call to park_call_full to masq_park_call_announce
  
  Since we removed the AST_PBX_KEEPALIVE return value, we need to use
masqueraded
  parking, otherwise we will try to call ast_hangup() in __pbx_run() and
in
  do_parking_thread() and then promptly crash.
  (closes issue http://bugs.digium.com/view.php?id=14215)
     Reported by: waverly360   
     Tested by: otherwiseguy
  (closes issue http://bugs.digium.com/view.php?id=14228)
     Reported by: kobaz
     Tested by: otherwiseguy
====================================================================== 

---------------------------------------------------------------------- 
 (0099007) aragon (reporter) - 2009-01-28 19:53
 http://bugs.digium.com/view.php?id=14274#c99007 
---------------------------------------------------------------------- 
otherwiseguy:
I was able to test this much earlier than expected ;)

Firstly my other ticket 14356 is definitely related to this ticket since
most behavior is fixed by your patch.

One touch parking definitely appears to be fixed and I don't think you
introduced any new issues to attended or blind or SIP transfers to park
extension.

I found some minor issues:

1. Problem is when I do native asterisk blind transfer and call returns to
original ext and I try to re-transfer the call using attended native
transfer
The attended transfer will fail when transferred to the same extension

To reproduce this you need 3 phones:
I'll include the cli from this reproduction.
I initiate a call from sip 222 to 233
233 native blind transfers to ext 220
220 has a call forward no answer rule to dest 233
220 ignores call and call forwards back to 233
233 answers and then does an attended native transfer to 220
Asterisk returns error "invalid extension"

CLI

 Extension Changed 222[commzilla-local] new state InUse for Notify User
300 
    -- Executing [233 at commzilla-super:1] GotoIf("SIP/222-094a5780", "0?3")
in new stack
    -- Executing [233 at commzilla-super:2] Set("SIP/222-094a5780",
"GROUP(OUTGOING)=222") in new stack
    -- Executing [233 at commzilla-super:3] Set("SIP/222-094a5780",
"OUTBOUND_GROUP_ONCE=233 at INCOMING") in new stack
    -- Executing [233 at commzilla-super:4] Set("SIP/222-094a5780",
"GROUPCOUNT=0") in new stack
    -- Executing [233 at commzilla-super:5] Set("SIP/222-094a5780",
"GROUPCOUNT2=0") in new stack
    -- Executing [233 at commzilla-super:6] Set("SIP/222-094a5780",
"DB(commzilla/wrapup/233/lastcall)=1233193857.52") in new stack
    -- Executing [233 at commzilla-super:7] Macro("SIP/222-094a5780",
"commzilla-dial|SIP/233|233|commzilla|40|en||tkKM(all-tapi^1233193857.52)||default|||vm")
in new stack
    -- Executing [s at macro-commzilla-dial:1] NoOp("SIP/222-094a5780",
""CALL TO LOCAL EXTENSION FROM 222(WiFi)"") in new stack
    -- Executing [s at macro-commzilla-dial:2] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_NEWCALL commzilla") in new stack
    -- Executing [s at macro-commzilla-dial:3] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-commzilla-dial:4] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: SET CALLERID ") in new stack
    -- Executing [s at macro-commzilla-dial:5] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLINFO LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-commzilla-dial:6] AGI("SIP/222-094a5780",
"/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
'233' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
    -- AGI Script Executing Application: (MixMonitor) Options:
(222_1233193857.52.WAV|b)
  == Begin MixMonitor Recording SIP/222-094a5780
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '233' 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 '222'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
commzilla/233/CallTrace to 222
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/233|40|tkKM(all-tapi^1233193857.52)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/233|40|tkKM(all-tapi^1233193857.52)T|)
 Extension Changed 233[commzilla-local] new state Ringing for Notify User
300 
    -- Called 233
    -- SIP/233-094a97f0 is ringing
    -- SIP/233-094a97f0 is ringing
 Extension Changed 233[commzilla-local] new state InUse for Notify User
300 
    -- SIP/233-094a97f0 answered SIP/222-094a5780
    -- Executing [s at macro-all-tapi:1] UserEvent("SIP/233-094a97f0",
"TAPI|TAPIEVENT [~1233193857.52] LINE_CALLSTATE LINECALLSTATE_CONNECTED")
in new stack
    -- Started music on hold, class 'default', on SIP/222-094a5780
    -- <SIP/233-094a97f0> Playing 'pbx-transfer' (language 'en')
    -- Stopped music on hold on SIP/222-094a5780
 Extension Changed 233[commzilla-local] new state Idle for Notify User 300

    -- AGI Script /var/www/scopserv/telephony/scripts/agi/dial.php
completed, returning 0
  == Channel 'SIP/222-094a5780' jumping out of macro 'commzilla-dial'
    -- Executing [220 at commzilla-super:1] GotoIf("SIP/222-094a5780", "0?3")
in new stack
    -- Executing [220 at commzilla-super:2] Set("SIP/222-094a5780",
"GROUP(OUTGOING)=222") in new stack
    -- Executing [220 at commzilla-super:3] Set("SIP/222-094a5780",
"OUTBOUND_GROUP_ONCE=220 at INCOMING") in new stack
    -- Executing [220 at commzilla-super:4] Set("SIP/222-094a5780",
"DB(commzilla/wrapup/220/lastcall)=1233193857.52") in new stack
    -- Executing [220 at commzilla-super:5] Macro("SIP/222-094a5780",
"commzilla-dial|SIP/220|220|commzilla|20|en||tkKM(all-tapi^1233193857.52)||default|||vm")
in new stack
    -- Executing [s at macro-commzilla-dial:1] NoOp("SIP/222-094a5780",
""CALL TO LOCAL EXTENSION FROM 222(WiFi)"") in new stack
    -- Executing [s at macro-commzilla-dial:2] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_NEWCALL commzilla") in new stack
    -- Executing [s at macro-commzilla-dial:3] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-commzilla-dial:4] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: SET CALLERID ") in new stack
    -- Executing [s at macro-commzilla-dial:5] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLINFO LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-commzilla-dial:6] AGI("SIP/222-094a5780",
"/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
'220' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
    -- AGI Script Executing Application: (MixMonitor) Options:
(222_1233193857.52.WAV|b)
  == Begin MixMonitor Recording SIP/222-094a5780
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '220' 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 '222'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
commzilla/220/CallTrace to 222
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/220|20|tkKM(all-tapi^1233193857.52)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/220|20|tkKM(all-tapi^1233193857.52)T|)
 Extension Changed 220[commzilla-local] new state Ringing for Notify User
230 
 Extension Changed 220[commzilla-local] new state Ringing for Notify User
233 
    -- Called 220
    -- SIP/220-094aae30 is ringing
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager.conf': Found
    -- Nobody picked up in 20000 ms
 Extension Changed 220[commzilla-local] new state Idle for Notify User 230
(queued)
 Extension Changed 220[commzilla-local] new state Idle for Notify User 233

  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '220' is '0'.
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php:
-------------------------------------------------------------------------------
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Doing the action
forward
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension Hint for
'233' is 'SIP/233'.
  ==  /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 '222'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
commzilla/220/CallTrace to 222
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/233|20|tkKM(all-tapi^1233193857.52)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/233|20|tkKM(all-tapi^1233193857.52)T|)
    -- Called 233
 Extension Changed 233[commzilla-local] new state Ringing for Notify User
300 
    -- SIP/233-092a9b40 is ringing
    -- SIP/233-092a9b40 is ringing
 Extension Changed 233[commzilla-local] new state InUse for Notify User
300 
    -- SIP/233-092a9b40 answered SIP/222-094a5780
    -- Executing [s at macro-all-tapi:1] UserEvent("SIP/233-092a9b40",
"TAPI|TAPIEVENT [~1233193857.52] LINE_CALLSTATE LINECALLSTATE_CONNECTED")
in new stack
    -- Started music on hold, class 'default', on SIP/222-094a5780
    -- <SIP/233-092a9b40> Playing 'pbx-transfer' (language 'en')
    -- Executing [220 at commzilla-super:1]
GotoIf("Local/220 at commzilla-super-a906,2", "0?3") in new stack
    -- Executing [220 at commzilla-super:2]
Set("Local/220 at commzilla-super-a906,2", "GROUP(OUTGOING)=220") in new
stack
    -- Executing [220 at commzilla-super:3]
Set("Local/220 at commzilla-super-a906,2", "OUTBOUND_GROUP_ONCE=220 at INCOMING")
in new stack
    -- Executing [220 at commzilla-super:4]
Set("Local/220 at commzilla-super-a906,2",
"DB(commzilla/wrapup/220/lastcall)=1233193891.57") in new stack
    -- Executing [220 at commzilla-super:5]
Macro("Local/220 at commzilla-super-a906,2",
"commzilla-dial|SIP/220|220|commzilla|20|en||tkKM(all-tapi^1233193891.57)||default|||vm")
in new stack
    -- Executing [s at macro-commzilla-dial:1]
NoOp("Local/220 at commzilla-super-a906,2", ""CALL TO LOCAL EXTENSION FROM
220()"") in new stack
    -- Executing [s at macro-commzilla-dial:2]
UserEvent("Local/220 at commzilla-super-a906,2", "TAPI|TAPIEVENT: LINE_NEWCALL
commzilla") in new stack
    -- Executing [s at macro-commzilla-dial:3]
UserEvent("Local/220 at commzilla-super-a906,2", "TAPI|TAPIEVENT:
LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-commzilla-dial:4]
UserEvent("Local/220 at commzilla-super-a906,2", "TAPI|TAPIEVENT: SET CALLERID
") in new stack
    -- Executing [s at macro-commzilla-dial:5]
UserEvent("Local/220 at commzilla-super-a906,2", "TAPI|TAPIEVENT:
LINE_CALLINFO LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-commzilla-dial:6]
AGI("Local/220 at commzilla-super-a906,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
'220' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
    -- AGI Script Executing Application: (MixMonitor) Options:
(1233193891.57.WAV|b)
  == Begin MixMonitor Recording Local/220 at commzilla-super-a906,2
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '220' 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 '220'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
commzilla/220/CallTrace to 220
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/220|20|tkKM(all-tapi^1233193891.57)T|.
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Possible Loop
detected! Going to voicemail
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php:
-------------------------------------------------------------------------------
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Doing the action
voicemail
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php:
-------------------------------------------------------------------------------
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Doing the action
busy
    -- AGI Script Executing Application: (Playtones) Options: (busy)
[Jan 28 20:51:31] WARNING[20348]: translate.c:175 framein: no samples for
ulawtolin
    -- AGI Script /var/www/scopserv/telephony/scripts/agi/dial.php
completed, returning 0
    -- Executing [220 at commzilla-super:6]
GotoIf("Local/220 at commzilla-super-a906,2", "0?7:8") in new stack
    -- Goto (commzilla-super,220,8)
    -- Timeout on Local/220 at commzilla-super-a906,2
  == CDR updated on Local/220 at commzilla-super-a906,2
    -- Executing [t at commzilla-super:1]
Hangup("Local/220 at commzilla-super-a906,2", "") in new stack
  == Spawn extension (commzilla-super, t, 1) exited non-zero on
'Local/220 at commzilla-super-a906,2'
    -- Stopped music on hold on SIP/222-094a5780
    -- <SIP/233-092a9b40> Playing 'pbx-invalid' (language 'en')
  == End MixMonitor Recording Local/220 at commzilla-super-a906,2
    -- Executing [h at macro-commzilla-dial:1] ResetCDR("SIP/222-094a5780",
"w") in new stack
    -- Executing [h at macro-commzilla-dial:2] NoCDR("SIP/222-094a5780", "")
in new stack
    -- Executing [h at macro-commzilla-dial:3] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_IDLE") in new stack
    -- Executing [h at macro-commzilla-dial:4] System("SIP/222-094a5780",
"/var/www/scopserv/telephony/scripts/billing/cdr.sh 1233193857.52") in new
stack
 Extension Changed 233[commzilla-local] new state Idle for Notify User 300

    -- AGI Script /var/www/scopserv/telephony/scripts/agi/dial.php
completed, returning 0
    -- Executing [220 at commzilla-super:6] GotoIf("SIP/222-094a5780",
"1?7:8") in new stack
    -- Goto (commzilla-super,220,7)
    -- Executing [220 at commzilla-super:7] Hangup("SIP/222-094a5780", "") in
new stack
  == Spawn extension (commzilla-super, 220, 7) exited non-zero on
'SIP/222-094a5780'
  == End MixMonitor Recording SIP/222-094a5780
  == End MixMonitor Recording SIP/222-094a5780
 Extension Changed 222[commzilla-local] new state Idle for Notify User 300

sip*CLI> 
Disconnected from Asterisk server
Executing last minute cleanups




2. Attended native transfer returns the call after forward no answer to
original extension but the original set is immediately bridged/auto answer
(phone does not ring first).
You can also see that the mixmonitor record ends when 233 is bridged.

To reproduce this
I initiate a call from sip 222 to 233
233 native attended transfers to ext 220
220 has a call forward no answer rule to dest 233
220 ignores call and call forwards back to 233
233 is bridged to 222 without first a callback

CLI
 Extension Changed 222[commzilla-local] new state InUse for Notify User
300 
    -- Executing [233 at commzilla-super:1] GotoIf("SIP/222-094a5780", "0?3")
in new stack
    -- Executing [233 at commzilla-super:2] Set("SIP/222-094a5780",
"GROUP(OUTGOING)=222") in new stack
    -- Executing [233 at commzilla-super:3] Set("SIP/222-094a5780",
"OUTBOUND_GROUP_ONCE=233 at INCOMING") in new stack
    -- Executing [233 at commzilla-super:4] Set("SIP/222-094a5780",
"GROUPCOUNT=0") in new stack
    -- Executing [233 at commzilla-super:5] Set("SIP/222-094a5780",
"GROUPCOUNT2=0") in new stack
    -- Executing [233 at commzilla-super:6] Set("SIP/222-094a5780",
"DB(commzilla/wrapup/233/lastcall)=1233193958.58") in new stack
    -- Executing [233 at commzilla-super:7] Macro("SIP/222-094a5780",
"commzilla-dial|SIP/233|233|commzilla|40|en||tkKM(all-tapi^1233193958.58)||default|||vm")
in new stack
    -- Executing [s at macro-commzilla-dial:1] NoOp("SIP/222-094a5780",
""CALL TO LOCAL EXTENSION FROM 222(WiFi)"") in new stack
    -- Executing [s at macro-commzilla-dial:2] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_NEWCALL commzilla") in new stack
    -- Executing [s at macro-commzilla-dial:3] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-commzilla-dial:4] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: SET CALLERID ") in new stack
    -- Executing [s at macro-commzilla-dial:5] UserEvent("SIP/222-094a5780",
"TAPI|TAPIEVENT: LINE_CALLINFO LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-commzilla-dial:6] AGI("SIP/222-094a5780",
"/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
'233' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
    -- AGI Script Executing Application: (MixMonitor) Options:
(222_1233193958.58.WAV|b)
  == Begin MixMonitor Recording SIP/222-094a5780
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '233' 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 '222'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
commzilla/233/CallTrace to 222
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/233|40|tkKM(all-tapi^1233193958.58)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/233|40|tkKM(all-tapi^1233193958.58)T|)
 Extension Changed 233[commzilla-local] new state Ringing for Notify User
300 
    -- Called 233
    -- SIP/233-094a97f0 is ringing
    -- SIP/233-094a97f0 is ringing
    -- SIP/233-094a97f0 is ringing
 Extension Changed 233[commzilla-local] new state InUse for Notify User
300 
    -- SIP/233-094a97f0 answered SIP/222-094a5780
    -- Executing [s at macro-all-tapi:1] UserEvent("SIP/233-094a97f0",
"TAPI|TAPIEVENT [~1233193958.58] LINE_CALLSTATE LINECALLSTATE_CONNECTED")
in new stack
    -- Started music on hold, class 'default', on SIP/222-094a5780
    -- <SIP/233-094a97f0> Playing 'pbx-transfer' (language 'en')
    -- Executing [220 at commzilla-super:1]
GotoIf("Local/220 at commzilla-super-5ef9,2", "0?3") in new stack
    -- Executing [220 at commzilla-super:2]
Set("Local/220 at commzilla-super-5ef9,2", "GROUP(OUTGOING)=233") in new
stack
    -- Executing [220 at commzilla-super:3]
Set("Local/220 at commzilla-super-5ef9,2", "OUTBOUND_GROUP_ONCE=220 at INCOMING")
in new stack
    -- Executing [220 at commzilla-super:4]
Set("Local/220 at commzilla-super-5ef9,2",
"DB(commzilla/wrapup/220/lastcall)=1233193966.61") in new stack
    -- Executing [220 at commzilla-super:5]
Macro("Local/220 at commzilla-super-5ef9,2",
"commzilla-dial|SIP/220|220|commzilla|20|en||tkKM(all-tapi^1233193966.61)||default|||vm")
in new stack
    -- Executing [s at macro-commzilla-dial:1]
NoOp("Local/220 at commzilla-super-5ef9,2", ""CALL TO LOCAL EXTENSION FROM
233()"") in new stack
    -- Executing [s at macro-commzilla-dial:2]
UserEvent("Local/220 at commzilla-super-5ef9,2", "TAPI|TAPIEVENT: LINE_NEWCALL
commzilla") in new stack
    -- Executing [s at macro-commzilla-dial:3]
UserEvent("Local/220 at commzilla-super-5ef9,2", "TAPI|TAPIEVENT:
LINE_CALLSTATE LINECALLSTATE_OFFERING") in new stack
    -- Executing [s at macro-commzilla-dial:4]
UserEvent("Local/220 at commzilla-super-5ef9,2", "TAPI|TAPIEVENT: SET CALLERID
") in new stack
    -- Executing [s at macro-commzilla-dial:5]
UserEvent("Local/220 at commzilla-super-5ef9,2", "TAPI|TAPIEVENT:
LINE_CALLINFO LINECALLINFOSTATE_CALLERID") in new stack
    -- Executing [s at macro-commzilla-dial:6]
AGI("Local/220 at commzilla-super-5ef9,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
'220' to extension map.
    -- AGI Script Executing Application: (SetMusicOnHold) Options:
(default)
    -- AGI Script Executing Application: (MixMonitor) Options:
(1233193966.61.WAV|b)
  == Begin MixMonitor Recording Local/220 at commzilla-super-5ef9,2
  == Parsing '/etc/asterisk/manager.conf': Found
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Extension State
for '220' 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 '233'
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: DbSet
commzilla/220/CallTrace to 233
  ==  /var/www/scopserv/telephony/scripts/agi/dial.php: Dial string is
SIP/220|20|tkKM(all-tapi^1233193966.61)T|.
    -- AGI Script Executing Application: (Dial) Options:
(SIP/220|20|tkKM(all-tapi^1233193966.61)T|)
 Extension Changed 220[commzilla-local] new state Ringing for Notify User
230 (queued)
 Extension Changed 220[commzilla-local] new state Ringing for Notify User
233 
    -- Called 220
    -- SIP/220-094a2858 is ringing
    -- Local/220 at commzilla-super-5ef9,1 is ringing
[Jan 28 20:53:01] NOTICE[21300]: res_features.c:1311
ast_feature_request_and_dial: We exceeded our AT-timeout
    -- Stopped music on hold on SIP/222-094a5780
 Extension Changed 220[commzilla-local] new state Idle for Notify User 230
(queued)
 Extension Changed 220[commzilla-local] new state Idle for Notify User 233

  == Spawn extension (macro-commzilla-dial, s, 6) exited non-zero on
'Local/220 at commzilla-super-5ef9,2' in macro 'commzilla-dial'
  == Spawn extension (commzilla-super, 220, 5) exited non-zero on
'Local/220 at commzilla-super-5ef9,2'
  == End MixMonitor Recording Local/220 at commzilla-super-5ef9,2 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-28 19:53 aragon         Note Added: 0099007                          
======================================================================




More information about the asterisk-bugs mailing list