[Home]

Summary:ASTERISK-11644: application map not working for called party
Reporter:Joe Pukepail (pukepail)Labels:
Date Opened:2008-03-14 20:44:06Date Closed:2008-03-15 14:36:49
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_features
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) callee-log.txt
( 1) caller-log.txt
( 2) fix.diff.txt
Description:We have an application mapped to ASTERISK-5, it will not work for the called party.  This used to work in 1.4.13.  

I have this in features.conf:

openfrontdoor => ASTERISK-5,peer/both,Playback,tt-monkeys

I will attempt to attach debug showing both caller and callee attempting to initiate this.
Comments:By: Joe Pukepail (pukepail) 2008-03-14 21:11:42

I'm not very experienced programmer, but this patch fixed it, not sure the ramifications it has.  Basically look at the channel for features instead of the peer.

Also this is the dial plan, in both logs extensions 447 is dialing extension 249 (both sip phones).

exten => 249,1,Set(DYNAMIC_FEATURES=openfrontdoor)
exten => 249,2,Dial(Sip/${EXTEN},20,jw)

By: Russell Bryant (russell) 2008-03-15 14:36:49

You just have to set the DYNAMIC_FEATURES variable to be inherited.

Set(__DYNAMIC_FEATURES=.......)