Cant disconnect a call transfered to a queue


(Dan S) #1

I have a in call disconnect feature set,

When I transfer a call to a queue, the feature doesn’t work. I here the Dtmf tones. On transfers to extensions it does work. Just not to queues.


(Dan S) #2

A few more interesting things,

I can also do a *2 in the transfer to complete the transfer
I have set the following in the features general custom.conf file

atxferabort = **
atxferswap = *1
atxfercomplete = *2
atxfernoanswertimeout = 15
atxferdropcall = no
atxferloopdelay = 10

atxfercallbackretries = 2

But the Atxferabort doesn’t work


(Dan S) #3

The default code of *1 seems to work so that suggest its not pickup what is in the config file.


(Communication Technologies) #4

https://wiki.freepbx.org/display/FPG/Feature+Codes+Admin+User+Guide

Admin>Feature Codes>Core

Is the ** code enabled?


(Dan S) #5

its working but its not picking up the custom file so its using defaults.


(Dave Burgess) #6

You’re going to show us your work here.


(Dan S) #7

So as above, I have a file features_general_custom.conf
in that file

[root@ec2-tel40 asterisk]# cat features_general_custom.conf
atxferabort = **
;atxferswap = *1
;atxfercomplete = *2
atxfernoanswertimeout = 60
;atxferdropcall = no
;atxferloopdelay = 10

;atxfercallbackretries = 2

But its not loading as the disconnect isn’t ** its *1 that is the atxferabort.


(Dave Burgess) #8

I don’t know if the features work the same way the rest of the system does, but the others are already defined in features_general.conf, so when you try to over-write them, they’re ignored.

My theory is that when you try to do something like this with extensions_custom, the updates are ignored - that’s why they have to go in the extensions_override* file (so the updates get loaded first).


(Dan S) #9

This is for features. Why would extensions have overrides the featurs.


(Dave Burgess) #10

They wouldn’t, the override part is the important part.


(Dan S) #11

so I have to have a file called features_general_overrides.conf then?


#12

That won’t work easily

/etc/asterisk/features.conf

contains

;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications.                                                          ;
;--------------------------------------------------------------------------------;

[general]
#include features_general_additional.conf
#include features_general_custom.conf

[applicationmap]
#include features_applicationmap_additional.conf
#include features_applicationmap_custom.conf

[featuremap]
#include features_featuremap_additional.conf
#include features_featuremap_custom.conf

There is no “override” file included and if it was added, it would have to come before “additional” so you got a catch-22 unless you mess with “additional” and then make it ‘immutable’
To test function by all means edit the 'additional files and then

'rasterisk -x ‘core reload’

that will set your wishes until the next time you

fwconsole r

or press the red bar


(Dan S) #13

Freebpx would overrite the features.conf as well right? I would have to make it immutable as well right?


#14

Cam’t say, try it and see :slight_smile: