[asterisk-bugs] [Asterisk 0014567]: [patch] app_directed_pickup: No target channel found for extension, Worked on 1.6.0-rc6
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Mar 2 17:41:41 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14567
======================================================================
Reported By: alecdavis
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 14567
Category: Applications/app_directed_pickup
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 178446
Request Review:
======================================================================
Date Submitted: 2009-02-27 04:35 CST
Last Modified: 2009-03-02 17:41 CST
======================================================================
Summary: [patch] app_directed_pickup: No target channel found
for extension, Worked on 1.6.0-rc6
Description:
Before upgrade from 1.6.0-rc6 to trunk. Directed pickup worked well.
Now we are getting:
[Feb 27 22:06:51] NOTICE[27187]: app_directed_pickup.c:255 pickup_exec: No
target channel found for 8510.
After replacing pickup_by_exten with function from tag 1.6.0.6-rc6 I was
able to find that the dialcontext and context were never going to match.
some debug below: with 1.6.0-rc6 version of pickup_by_exten
[Feb 27 22:39:20] NOTICE[1465]: app_directed_pickup.c:273 pickup_exec:
context=BLF_Group_1.
[Feb 27 22:39:20] NOTICE[1465]: app_directed_pickup.c:217 pickup_by_exten:
macroexten= exten=8510 dialcontext= context=BLF_Group_1 canpickup=1
[Feb 27 22:39:20] NOTICE[1465]: app_directed_pickup.c:217 pickup_by_exten:
macroexten= exten=8510 dialcontext=trusted context=BLF_Group_1 canpickup=1
[Feb 27 22:39:20] NOTICE[1465]: app_directed_pickup.c:217 pickup_by_exten:
macroexten=8510 exten=s dialcontext= context=BLF_Group_1 canpickup=0
[Feb 27 22:39:20] NOTICE[1465]: app_directed_pickup.c:282 pickup_exec: No
target channel found for 8510.
== Extension Changed 8520[BLF_Group_1] new state Idle for Notify User
GXP0009 (queued)
======================================================================
----------------------------------------------------------------------
(0101048) alecdavis (reporter) - 2009-03-02 17:41
http://bugs.digium.com/view.php?id=14567#c101048
----------------------------------------------------------------------
sip_debug_directed_pickup.txt as requested
dialplan code that was executed:
exten => 8522,1,Dial(SIP/8522,,r)
extensions.conf
...
[trusted]
include => phones
include => bdt-extensions
include => outside-line
exten => _85[0-5]X,1,NoOp(context=${CONTEXT})
exten => _85[0-5]X,n,Macro(procexten,${EXTEN})
[incoming]
include => phones
include => bdt-extensions
[outside-line]
exten => _1.,1,Macro(dialout,${TRUNK},${EXTEN:1}) ;outside
line
[bdt-extensions]
exten => _4XXX,1,Macro(dialout,${TRUNK},${EXTEN})
exten => _5XXX,1,Macro(dialout,${TRUNK},${EXTEN})
exten => _68XX,1,Macro(dialout,${TRUNK},${EXTEN})
exten => _83XX,1,Macro(dialout,${TRUNK},${EXTEN})
exten => _86XX,1,Macro(dialout,${TRUNK},${EXTEN})
exten => _88XX,1,Macro(dialout,${TRUNK},${EXTEN})
[phones]
exten => 8522,1,Dial(SIP/8522,,r)
exten => _85[0-5]X,1,NoOp(context=${CONTEXT})
exten => _85[0-5]X,n,Macro(procexten,${EXTEN})
exten => _**85[0-5]X,1,NoOp(Directed call pickup)
exten => _**85[0-5]X,n,Pickup(${EXTEN:2}@incoming) ;direct call pickup
to local Asterisk
exten => _**85[0-5]X,n,Pickup(${EXTEN:2}@trusted) ;direct call pickup
to local Asterisk
exten => _**85[0-5]X,n,Pickup(${EXTEN:2}@default) ;direct call pickup
to local Asterisk
exten => _**85[0-5]X,n,Hangup()
...
Issue History
Date Modified Username Field Change
======================================================================
2009-03-02 17:41 alecdavis Note Added: 0101048
======================================================================
More information about the asterisk-bugs
mailing list