[asterisk-bugs] [Asterisk 0013343]: Local channel does not support exten/callerid style dialplan entries (ast_exists_extension placement).
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Aug 27 12:11:57 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13343
======================================================================
Reported By: efutch
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13343
Category: Channels/chan_local
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-08-19 15:25 CDT
Last Modified: 2008-08-27 12:11 CDT
======================================================================
Summary: Local channel does not support exten/callerid style
dialplan entries (ast_exists_extension placement).
Description:
local_alloc in chan_local.c calls ast_exists_extension before any CallerID
information for the local channel is populated. Therefore, it cannot pass
the CallerID number to ast_exists_extensions like other channel techs do.
So calls will not match the exten/callerid style dialplan entries like
these:
7002001234/_212NXXNXXXXX,1,Noop(Call from 212 area.)
Either the CallerID information should be populated before
ast_exists_extension in local_alloc is called, or the call to
ast_exists_extension to be placed somewhere after the CallerID information
is established in local_call.
This problem also seems to exist in 1.6, after quickly checking
chan_local.c
======================================================================
----------------------------------------------------------------------
(0091815) blitzrage (administrator) - 2008-08-27 12:11
http://bugs.digium.com/view.php?id=13343#c91815
----------------------------------------------------------------------
Can you provide a method to reproduce this? I'm guessing you're doing
something like the following...
[testing]
exten => 100,1,NoOp()
exten => 100,n,Set(CALLERID(num)=2125551212)
exten => 100,n,Dial(Local/7002001234 at callerid_check)
exten => 100,n,Hangup()
[callerid_check]
exten => 7002001234/_212NXXXXXX,1,NoOp(Call from 212)
exten => 7002001234,1,NoOp(General incoming call)
Something like that? (I haven't done any testing, I just made this
dialplan up now.)
Issue History
Date Modified Username Field Change
======================================================================
2008-08-27 12:11 blitzrage Note Added: 0091815
======================================================================
More information about the asterisk-bugs
mailing list